maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trenton (JIRA)" <>
Subject [jira] Created: (MNG-3555) transitive dependency exclusion fails when classifier specified
Date Mon, 28 Apr 2008 17:27:47 GMT
transitive dependency exclusion fails when classifier specified

                 Key: MNG-3555
             Project: Maven 2
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 2.0.9
         Environment: Gentoo linux
            Reporter: Trenton
            Priority: Blocker

I have a profile like the one below.  When I enable that profile, maven refuses to exclude
the dependencies as specified, unless I remove the classifier.  This is basically preventing
us from using maven.  We will have to stick with ant until this is resolved.

A little bit of background.  We have an rmi module and a web module.  This profile is in the
web module pom.  The rmi project creates two different types of jars.  One is the rmi server
jar, the other the rmi client jar.  In the case of the rmi server jar, all the dependencies
would be required.  And, we allow the rmi server to be run in process (under tomcat).  In
a case like that, we require all the dependencies.  But, when running in standard RMI mode,
and using the client jar, we do not need all those dependencies, nor do we want them to be

      <!-- use full rmi when doing development, even if inproc server -->
          <!-- Copy configurations over to webapp folder -->
            <excludes>  <!-- Don't need these in production -->

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message