Hello, I have an ejb-project (hhla.smd.bl) and an ear-project (hhla.smd.application) which has a dependency to this ejb-project. Installing the ejb-project to my local repository works fine, but when I execute "mvn package" on the ear-project, the POM of the ejb-project cannot be validated (Due to that warning, the dependent libraries of the ejb-project are not included in the ear): ---------------------------- [WARNING] POM for: 'de.hhla.smd:hhla.smd.bl:pom:1.0-beta-1-SNAPSHOT' does not appear to be valid. Its will be ignored for artifact resolution. Reason: Failed to validate POM ----------------------------
Below you find the complete output of "mvn package" and the pom of the ejb- and ear-project. What is wrong with the POM of the ejb-project? Thanks a lot for your help! Regards, Stefan __________________________________________________________________________________ [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Quick Start Archetype [INFO] task-segment: [package] [INFO] ---------------------------------------------------------------------------- [WARNING] POM for: 'de.hhla.smd:hhla.smd.bl:pom:1.0-beta-1-SNAPSHOT' does not appear to be valid. Its will be ignored for artifact resolution. Reason: Failed to validate POM [INFO] [ear:generate-application-xml] [INFO] Generating application.xml [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for: 'de.hhla.smd:hhla.smd.bl:pom:1.0-beta-1-SNAPSHOT' does not appear to be valid. Its will be ignored for artifact resolution. Reason: Failed to validate POM [INFO] [ear:ear] [INFO] Copying artifact[ejb:de.hhla.smd:hhla.smd.bl:1.0-beta-1-SNAPSHOT] to[hhla.smd.bl-1.0-beta-1-SNAPSHOT.jar] [INFO] Could not find manifest file: D:\Schiffsmeldedienst\ws_maven\hhla.smd\hhla.smd.application\src\main\application\META-INF\MA NIFEST.MF - Generating one [INFO] Building jar: D:\Schiffsmeldedienst\ws_maven\hhla.smd\hhla.smd.application\target\hhla.smd.application-1.0-SNAPSHOT.ear [INFO] ---------------------------------------------------------------------------- [INFO] BUILD SUCCESSFUL [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 1 second [INFO] Finished at: Thu Jan 26 11:30:57 CET 2006 [INFO] Final Memory: 3M/6M [INFO] ---------------------------------------------------------------------------- ______________________________________________________________________________________ <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> <parent> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd</artifactId> <version>1.0-beta-1-SNAPSHOT</version> </parent> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd.bl</artifactId> <packaging>ejb</packaging> <version>1.0-beta-1-SNAPSHOT</version> <name>hhla.smd.bl</name> <dependencies> <dependency> <groupId>weblogic</groupId> <artifactId>weblogic</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </dependency> <dependency> <groupId>xstream</groupId> <artifactId>xstream</artifactId> <version>1.1.2</version> </dependency> <dependency> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd.core</artifactId> <version>1.0-beta-1-SNAPSHOT</version> </dependency> <dependency> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd.dao</artifactId> <version>1.0-beta-1-SNAPSHOT</version> </dependency> <dependency> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd.bwaclient</artifactId> <version>1.0-beta-1-SNAPSHOT</version> </dependency> <dependency> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd.aisclient</artifactId> <version>1.0-beta-1-SNAPSHOT</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>xdoclet-maven-plugin</artifactId> <groupId>org.codehaus.mojo</groupId> <version>1.0-alpha-2</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> <configuration> <tasks> <ejbdoclet destdir="${basedir}/target/generated-sources/xdoclet" addedTags="@xdoclet-generated at ${TODAY},@copyright The XDoclet Team,@author XDoclet,@version ${version}" excludedTags="@version,@author,@todo" verbose="true"> <fileset dir="${basedir}/src/main/java" includes="**/*SB.java" /> <entitycmp destDir="${basedir}/target/generated-sources/xdoclet" /> <deploymentdescriptor destDir="${basedir}/target/classes/META-INF" /> <weblogic destDir="${basedir}/target/classes/META-INF" /> <homeinterface destDir="${basedir}/target/generated-sources/xdoclet" /> <!-- localhomeinterface /> <localinterface /--> <remoteinterface destDir="${basedir}/target/generated-sources/xdoclet" /> <session destDir="${basedir}/target/generated-sources/xdoclet" /> <utilobject destDir="${basedir}/target/generated-sources/xdoclet" cacheHomes="true" includeGUID="true" /> <valueobject /> </ejbdoclet> </tasks> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>myeclipse.xdoclet</groupId> <artifactId>xjavadoc</artifactId> <version>1.5</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> <generateClient>true</generateClient> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> </project> ____________________________________________________________________- <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> <parent> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd</artifactId> <version>1.0-beta-1-SNAPSHOT</version> </parent> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd.application</artifactId> <packaging>ear</packaging> <version>1.0-SNAPSHOT</version> <name>Maven Quick Start Archetype</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>de.hhla.smd</groupId> <artifactId>hhla.smd.bl</artifactId> <version>1.0-beta-1-SNAPSHOT</version> <type>ejb</type> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> </plugin> </plugins> </build> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
