Java Mailing List Archive

http://www.java2.5341.com/

Home » issues.maven »

[jira] Created: (MNG-3802) test scoped dependencies are being
resolved even if tests are skipped

Jan Bartel (JIRA)

2008-10-25

Replies: Find Java Web Hosting

Author LoginPost Reply
test scoped dependencies are being resolved even if tests are skipped
---------------------------------------------------------------------

          Key: MNG-3802
          URL: http://jira.codehaus.org/browse/MNG-3802
        Project: Maven 2
      Issue Type: Bug
      Components: Artifacts and Repositories, Dependencies
  Affects Versions: 2.0.9
       Reporter: Edwin Punzalan


I'd think that dependencies with scope=test shouldn't be resolved if tests are skipped.

To reproduce, try building continuum 1.3-SNAPSHOT with an empty local repo (or just remove continuum-store:1.3-SNAPSHOT:tests; note the "tests" classifier) with tests skipped.

When the build reaches continuum-data-management, it will fail saying the dependency continuum-store:1.3-SNAPSHOT:tests cannot be resolved.



--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

   
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.