Hi, all.

Problem with maven-ear-plugin. Why "dependency:analyze" say "Unused declared dependencies found"?

-----------------------------------------------
Command output:
[...@ivv]~/projects/lodint% mvn dependency:analyze
[...]
[INFO] Building Packaging project
[...]
[INFO] [dependency:analyze {execution: default-cli}]
[WARNING] Unused declared dependencies found:
[WARNING]    org.drools:drools-core:jar:5.0.1:compile
[WARNING]    org.jboss.seam:jboss-seam:ejb:2.2.0.GA:compile
[WARNING] ru.lanit.samara.core-process:lodint-ejbs:ejb:1.0-SNAPSHOT:compile
[WARNING]    ru.lanit.samara.core-process:egr:ejb:1.0-SNAPSHOT:compile
[WARNING]    ru.lanit.samara.core-process:kladr:ejb:1.0-SNAPSHOT:compile
[WARNING] ru.lanit.samara.core-process:lodint-web:war:1.0-SNAPSHOT:compile
[WARNING]    org.richfaces.framework:richfaces-api:jar:3.3.1.GA:compile
[...]
-----------------------------------------------
Packaging project's pom:
[...]
<parent>
<groupId>ru.lanit.samara.core-process</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>lodint</artifactId>
<name>Packaging project</name>
<packaging>ear</packaging>

[...]
<plugins>
<artifactId>maven-ear-plugin</artifactId>
[...]
<modules>
<ejbModule>
<groupId>${project.groupId}</groupId>
<artifactId>lodint-ejbs</artifactId>
</ejbModule>
<ejbModule>
<groupId>${project.groupId}</groupId>
<artifactId>kladr</artifactId>
</ejbModule>
<ejbModule>
<groupId>${project.groupId}</groupId>
<artifactId>egr</artifactId>
</ejbModule>
<webModule>
<groupId>${project.groupId}</groupId>
<artifactId>lodint-web</artifactId>
<contextRoot>/</contextRoot>
</webModule>
</modules>
[...]
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lodint-ejbs</artifactId>
<type>ejb</type>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>kladr</artifactId>
<type>ejb</type>
</dependency>
[...]


Full pom.xml: http://samara.lanit.ru/anon-repos/lodint/trunk/packaging/pom.xml
Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to