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/01/29 08:25:58 UTC

[jira] Commented: (MAVEN-1131) JAR - Test dependency change

The following comment has been added to this issue:

     Author: Andy Jefferson
    Created: Thu, 29 Jan 2004 2:24 AM
       Body:
Actually it is *not* configurable in the way I want. What I want to do is set up my project so that I can build the JAR first, and THEN run the tests. To do this I cannot just set "maven.test.skip" to true. OK, when it needs to build the jar it will skip the tests, but when it has built the jar and I have added "test:test" as a postGoal on my "jar:jar" it will skip them again !!!



Maven needs more flexibility to allow for things like this. Projects should be able to define the order of things like this.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1131&page=comments#action_16204

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1131

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1131
    Summary: JAR - Test dependency change
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.1

   Assignee: 
   Reporter: Andy Jefferson

    Created: Sat, 24 Jan 2004 3:18 AM
    Updated: Thu, 29 Jan 2004 2:24 AM

Description:
The current "jar" plugin has a prerequisite "test". In certain circumstances this is undesirable. For example if the system wants to use the JAR that they will release in testing. At the moment it insists on running tests even though the JAR is not built. 

It is necessary desirable to have this configurable.


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