You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/25 16:10:35 UTC

[jira] Commented: (MAVEN-1321) preGoal and postGoal executed twice

The following comment has been added to this issue:

     Author: Brett Porter
    Created: Fri, 25 Jun 2004 10:10 AM
       Body:
I can't replicate this, and there are tests in touchstone to verify it is only run once.

What goal do you run, just war:war?

Do you have a small project that reproduces the problem?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1321?page=comments#action_21020

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1321

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1321
    Summary: preGoal and postGoal executed twice
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: Jonathan Riboux

    Created: Wed, 16 Jun 2004 4:57 AM
    Updated: Fri, 25 Jun 2004 10:10 AM
Environment: windows 2k / maven 1.0-rc3

Description:
I use a pregoal of war:war to include some files in the webapp before the war is done.

code :
    <preGoal name="war:war">
    	<attainGoal name="extractDependencies"/>
    </preGoal>

The goal extractDependencies is executed twice.
(In the outline "war:war:" is writen once and "extractDependencies:" is writen twice.)

I tried to create a preGoal to some other goals with a simple echo in it (tried war:webapp, jar:jar, ...).

I noticed the same problem.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org