You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/12/19 07:54:49 UTC

[jira] Closed: (MNG-1859) Allow all Dependeny Scopes to Optionally Indicate a System Path

     [ http://jira.codehaus.org/browse/MNG-1859?page=all ]
     
Brett Porter closed MNG-1859:
-----------------------------

    Resolution: Won't Fix

please comment on your use case for system scopes at: MNG-1867, see MNG-1471 for more information

> Allow all Dependeny Scopes to Optionally Indicate a System Path
> ---------------------------------------------------------------
>
>          Key: MNG-1859
>          URL: http://jira.codehaus.org/browse/MNG-1859
>      Project: Maven 2
>         Type: New Feature

>     Reporter: Mike Whittemore

>
>
> I would like to be able to specify a system path for any dependency regardless of the scope. For example, I would like to mark junit-3.8.1 as a being in the "test" scope, yet point at a jar that is not in the repository. Something like this:
> <dependency>
>     <groupId>junit</groupId>
>     <artifactId>junit</artifactId>
>     <version>3.8.1</version>
>     <path>${cots.top}/junit/junit.jar</path>
> </dependency>
> I don't want to mark it as "system" scope, simply to say it is not in the repository because that would lose the fact that it is really something scoped for the unit test phase.
> I understand the preferred way to use maven is to install 3rd-party artifacts in the repository (and the public  ibiblio repository if possible), but the culture in my company will not allow it (for reasons I cannot state). Without this feature I will be forced to mark all 3rd-party jars as "system" scoped, which I want to avoid. Regardless of my special circumstances, this feature would add a little more flexibility to maven for handling special cases. I would be happy to help out with the implementation.

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


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