Issue Details (XML | Word | Printable)

Key: MPMULTIPROJECT-54
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Raphaël Piéroni
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Multi-Project Plugin

bug interacting with the cactus-plugin 1.7

Created: 23/Jun/05 09:17 AM   Updated: 25/May/07 08:32 AM
Return to search
Component/s: None
Affects Version/s: 1.4.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File englober.txt (19 kB)
2. Text File war.txt (6 kB)

Environment: WinXP maven-1.0.2


 Description  « Hide

I have found a strange bug in the combination of the cactus-plugin 1.7
and the multiproject-plugin 1.4.1.

When using the cactus goal in the sub-project, everything works fine
here is an extract of the subproject maven.xml :

<goal name="project:clean">
<attainGoal name="clean"/>
</goal>

<goal name="project:snapshot">
<attainGoal name="test"/>
<attainGoal name="cactus"/>
</goal>

<goal name="project:clean-snapshot">
<attainGoal name="project:clean"/>
<attainGoal name="project:snapshot"/>
</goal>

<goal name="project:dist-src">
<attainGoal name="project:clean-snapshot"/>
<attainGoal name="site"/>
<attainGoal name="dist:build-src"/>
</goal>

project:dist-src is the goal i call in the subproject directory.

when i call the same goal (using the multiproject plugin from the
englober project)
it doesn't works.

here is an extract of the project englober maven.xml

<goal name="project:multi-dist-src">
<j:set var="goal" value="project:dist-src"/>
<attainGoal name="multiproject:goal"/>
</goal>

and project:multi-dist-src is the goal i call from the project englober
directory.

I have attached the console results of both the only local working goal
(war.txt) and the englober log (englober.txt)

I have also snipped the logs for more clarity.



Brett Porter made changes - 22/Aug/05 01:33 AM
Field Original Value New Value
Description I have found a strange bug in the combination of the cactus-plugin 1.7
and the multiproject-plugin 1.4.1.

When using the cactus goal in the sub-project, everything works fine
here is an extract of the subproject maven.xml :

  <goal name="project:clean">
    <attainGoal name="clean"/>
  </goal>

  <goal name="project:snapshot">
    <attainGoal name="test"/>
    <attainGoal name="cactus"/>
  </goal>

  <goal name="project:clean-snapshot">
    <attainGoal name="project:clean"/>
    <attainGoal name="project:snapshot"/>
  </goal>

  <goal name="project:dist-src">
    <attainGoal name="project:clean-snapshot"/>
    <attainGoal name="site"/>
    <attainGoal name="dist:build-src"/>
  </goal>

project:dist-src is the goal i call in the subproject directory.

when i call the same goal (using the multiproject plugin from the
englober project)
it doesn't works.

here is an extract of the project englober maven.xml


  <goal name="project:multi-dist-src">
    <j:set var="goal" value="project:dist-src"/>
    <attainGoal name="multiproject:goal"/>
  </goal>
    
and project:multi-dist-src is the goal i call from the project englober
directory.

I have attached the console results of both the only local working goal
(war.txt) and the englober log (englober.txt)

I have also snipped the logs for more clarity.
I have found a strange bug in the combination of the cactus-plugin 1.7
and the multiproject-plugin 1.4.1.

When using the cactus goal in the sub-project, everything works fine
here is an extract of the subproject maven.xml :

  <goal name="project:clean">
    <attainGoal name="clean"/>
  </goal>

  <goal name="project:snapshot">
    <attainGoal name="test"/>
    <attainGoal name="cactus"/>
  </goal>

  <goal name="project:clean-snapshot">
    <attainGoal name="project:clean"/>
    <attainGoal name="project:snapshot"/>
  </goal>

  <goal name="project:dist-src">
    <attainGoal name="project:clean-snapshot"/>
    <attainGoal name="site"/>
    <attainGoal name="dist:build-src"/>
  </goal>

project:dist-src is the goal i call in the subproject directory.

when i call the same goal (using the multiproject plugin from the
englober project)
it doesn't works.

here is an extract of the project englober maven.xml


  <goal name="project:multi-dist-src">
    <j:set var="goal" value="project:dist-src"/>
    <attainGoal name="multiproject:goal"/>
  </goal>
    
and project:multi-dist-src is the goal i call from the project englober
directory.

I have attached the console results of both the only local working goal
(war.txt) and the englober log (englober.txt)

I have also snipped the logs for more clarity.
Remaining Estimate 4 hours [ 14400 ]
Original Estimate 4 hours [ 14400 ]
Brett Porter made changes - 05/Dec/05 01:11 AM
Assignee Brett Porter [ brettporter ]
Jason van Zyl made changes - 25/May/07 08:32 AM
Reporter Raphaël Piéroni [ larafale ] Raphaël Piéroni [ raphael ]