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 2005/02/22 06:49:46 UTC

[jira] Closed: (MAVEN-1495) Test dependencies are NOT build / use dependencies

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Tue, 22 Feb 2005 12:49 AM

this has been a known issue for some time. However, it will not be fixed in Maven 1.x.

However, it is currently being added in development versions Maven 2.x, using a more flexible mechanism that deals with the classpath correctly.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1495

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1495
    Summary: Test dependencies are NOT build / use dependencies
       Type: Improvement

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

 Original Estimate: 2 days
 Time Spent: Unknown
  Remaining: 2 days

    Project: maven
 Components: 
             core

   Assignee: 
   Reporter: bryan thompson

    Created: Fri, 5 Nov 2004 7:54 AM
    Updated: Tue, 22 Feb 2005 12:49 AM
Environment: all

Description:
Feature: The POM <dependency/> element should be modified to have an well-known attribute that identifies whether a dependency applies to the build, runtime, or tests.  The site generation plugin should be modified to reflect this distinction in the generated documentation.

Rationale:  I find that I need to include various jars for testing purposes that are not a dependency for building or otherwise using the artifact generated by my maven project.   At present, there is no way to mark a "dependency" as "test-only" such that it does not show up on the "Dependencies" report in the generated site documentation.  This results in misleading documentation (in the generated site) and confounds the notion of a project test dependency with a project build or runtime dependency.

Thanks,

-bryan


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