Hi!

I've got a multi-module POM:

<?xml version="1.0" encoding="UTF-8"?>
<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>hu.topic</groupId>
 <artifactId>abc</artifactId>
 <packaging>pom</packaging>
 <version>1.0</version>
 <name>abc</name>
 <url>http://maven.apache.org</url>
 <modules>
   <module>abc-ejb</module>
   <module>abc-war</module>
   <module>abc-ear</module>
 </modules>
 <build>
       <plugins>
           <plugin>
               <artifactId>maven-compiler-plugin</artifactId>
               <version>2.0.2</version>
               <configuration>
                   <source>1.6</source>
                   <target>1.6</target>
               </configuration>
           </plugin>
       </plugins>
   </build>
</project>


My problem, is that issuing "mvn package" will not produce the desired ear file, only if I manually install abc-war and abc-ejb. If they are not manually installed, the process stops with a missing artifact error.

How to solve this?

Thank you,
istvan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to