dependencies and transitive runtime dependencies are packaged for a dependency 
that is scope=provided
-----------------------------------------------------------------------------------------------------

                 Key: MJBOSSPACK-39
                 URL: https://jira.codehaus.org/browse/MJBOSSPACK-39
             Project: Maven 2.x JBoss Packaging Plugin
          Issue Type: Bug
          Components: sar
    Affects Versions: 2.2
         Environment: windows7, java 1.6, maven3
            Reporter: Rob Anderson


Dependencies and transitive runtime scoped dependencies are packaged for a 
dependency that is scope=provided. According to maven documentation these 
should not be included in the package.

Here are the relevant parts of my pom.xml...
<project>
...
 <build>
...
  <plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>jboss-packaging-maven-plugin</artifactId>
   <version>2.2</version>
   <extensions>true</extensions>
  </plugin>
...
 </build>
 <dependencies>
...
  <dependency>
   <groupId>org.jboss.jbossas</groupId>
   <artifactId>jboss-as-system</artifactId>
   <version>5.0.0.GA</version>
   <scope>provided</scope>
  </dependency>
...
 </dependencies>
</project>


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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to