Hello, I'm trying to use the ear plugin to generate an application.xml. However when I try this I get the following error:
Artifact[ejb3:stateless:stateless-ejb] is not a dependency of the project. Which is correct because stateless:stateless-ejb is a dependency, not the lack of the ejb3 prefix. How do I get the plugin to drop the ejb3 prefix, or how do I get the dependency to include the prefix? Here is my POM: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>stateless</groupId> <artifactId>stateless-ear</artifactId> <packaging>ear</packaging> <name>stateless-ear</name> <parent> <groupId>stateless</groupId> <artifactId>stateless</artifactId> <version>1.0</version> </parent> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <configuration> <modules> <ejb3Module> <groupId>stateless</groupId> <artifactId>stateless-ejb</artifactId> </ejb3Module> <ejbClientModule> <groupId>stateless</groupId> <artifactId>stateless-client</artifactId> </ejbClientModule> </modules> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>stateless</groupId> <artifactId>stateless-ejb</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>stateless</groupId> <artifactId>stateless-client</artifactId> <version>1.0</version> </dependency> </dependencies> </project> Thanks! Laurens --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
