You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "LexeY (JIRA)" <ji...@codehaus.org> on 2011/08/12 19:33:43 UTC

[jira] Commented: (MNG-2163) Allow plugin dependencies to be excluded

    [ https://jira.codehaus.org/browse/MNG-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275710#comment-275710 ] 

LexeY commented on MNG-2163:
----------------------------

I have jetty plugin and need to exclude jaas-1.0.jar from its dependencies.
Need something like this:
<plugin>
  <groupId>org.mortbay.jetty</groupId>
  <artifactId>maven-jetty-plugin</artifactId>
  <version>6.1.10</version>
			<exclusions>
				<exclusion>
					<artifactId>jaas</artifactId>
					<groupId>jaas</groupId>
				</exclusion>
			</exclusions>
</plugin>

I use IBM java, and java have this jar too, and i need use this jar only from JDK, not from jetty plugin.
Now i have conflict.


> Allow plugin dependencies to be excluded
> ----------------------------------------
>
>                 Key: MNG-2163
>                 URL: https://jira.codehaus.org/browse/MNG-2163
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Dependencies
>    Affects Versions: 2.0.2
>         Environment: Windows XP, Cygwin
>            Reporter: Mark Hobson
>             Fix For: Issues to be reviewed for 3.x
>
>
> Need to add an exclusions block in the POM for plugins.  The use-case is excluding slf4j-simple
> from the jetty6 plugin in order to use an alternative slf4j implementation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira