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/19 15:13:14 UTC

[jira] Closed: (MPWAR-24) war:init invokes java:compile twice

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Sat, 19 Jun 2004 9:11 AM

Fixed in v1.6
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPWAR-24

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPWAR-24
    Summary: war:init invokes java:compile twice
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: 1 day
 Time Spent: Unknown
  Remaining: 1 day

    Project: maven-war-plugin

   Assignee: dion gillard
   Reporter: Sri Sankaran

    Created: Thu, 1 Apr 2004 9:38 PM
    Updated: Sat, 19 Jun 2004 9:11 AM
Environment: All

Description:
The war:init has the following logic

<j:if test="${sourcesPresent == 'true'}">
   <caller:call goalInterface="compile-java"/>
   <attainGoal name="test:test"/>
</j:if>

This results in java:compile being invoked twice.  While this by itself may be a minor annoyance it becomes a big issue if you have set up a preGoal for java:compile which does a lot.


---------------------------------------------------------------------
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