maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sejal Patel (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MASSEMBLY-268) Descriptor bundling dependency sets should contain tag <useScopeOnly>
Date Wed, 30 Jan 2008 17:19:58 GMT

    [ http://jira.codehaus.org/browse/MASSEMBLY-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121777
] 

Sejal Patel commented on MASSEMBLY-268:
---------------------------------------

I don't see a need to have the useScopeOnly flag. However, the default behavior of it included
a "provided" scope is wrong. It isn't suppose to be including a provided dependency (thus
contradicting the whole point of what provided means).

> Descriptor bundling dependency sets should contain tag <useScopeOnly>
> ---------------------------------------------------------------------
>
>                 Key: MASSEMBLY-268
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-268
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-1
>            Reporter: Michael Osipov
>
> I am bundling bin distros and include in folders my dependency sets:
> say I have this:
> <pre>
> <dependencySets>
> 		<dependencySet>
> 			<outputDirectory>lib</outputDirectory>
> <scope>complile</scope>
> 		</dependencySet>
> 	</dependencySets>
> </pre>
> It bundles al libs which are necessary to compile, means compile, provided which makes
sense. Hence, I want to be able to include libs exclusively from a scope. 
> Like
> <pre>
> <dependencySets>
> 		<dependencySet>
> 			<outputDirectory>lib</outputDirectory>
>                         <scope>complie</scope>
>                        <useScopeOnly>true</useScopeOnly>
> 		</dependencySet>
> 	</dependencySets>
> </pre>
> which basically mean it will include only those libs which have been declared compile
and no provided. Tag should default to false.

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

        

Mime
View raw message