Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 2.2
-
Fix Version/s: None
-
Component/s: sar
-
Labels:None
-
Environment:windows7, java 1.6, maven3
-
Number of attachments :
Description
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>