maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Fox (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MDEP-103) The dependency tree goal could highlight artifacts marked as excluded in a dependency
Date Fri, 10 Aug 2007 12:12:13 GMT

    [ http://jira.codehaus.org/browse/MDEP-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104526
] 

Brian Fox commented on MDEP-103:
--------------------------------

analyze-dep-mgt can do this, and there's an enforcer:bannedDependencies that can fail the
build if certain dependencies appear.

> The dependency tree goal could highlight artifacts marked as excluded in a dependency
> -------------------------------------------------------------------------------------
>
>                 Key: MDEP-103
>                 URL: http://jira.codehaus.org/browse/MDEP-103
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: tree
>    Affects Versions: 2.0-alpha-5
>            Reporter: Cédric Vidal
>            Assignee: Brian Fox
>
> When an artifact is marked as excluded from a dependency like for example here:
> 		<dependency>
> 			<groupId>org.codehaus.xfire</groupId>
> 			<artifactId>xfire-spring</artifactId>
> 			<version>1.2.6</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xmlParserAPIs</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> The outputed tree could hightlight in some way the fact that xmlParserAPIs and xercesImpl
are excluded. Here is a possible output:
>          org.codehaus.xfire:xfire-core:jar:1.2.6:compile
>             wsdl4j:wsdl4j:jar:1.6.1:compile
>             jaxen:jaxen:jar:1.1-beta-9:compile
>                xerces:xmlParserAPIs:jar:2.6.2:compile (excluded)
>                xerces:xercesImpl:jar:2.6.2:compile (excluded)
>             org.apache.ws.commons:XmlSchema:jar:1.1:compile
>                stax:stax-api:jar:1.0.1:compile
>             org.codehaus.woodstox:wstx-asl:jar:3.2.0:compile
>             jdom:jdom:jar:1.0:compile
>             commons-httpclient:commons-httpclient:jar:3.0:compile
>                commons-logging:commons-logging:jar:1.1:compile
>                commons-codec:commons-codec:jar:1.3:compile
> Regards,
> Cédric

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