So i am using the followings: <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.mycompany.app</groupId> <version>1.0-SNAPSHOT</version> <artifactId>app</artifactId> <packaging>pom</packaging> <modules> <module>my-app</module> <module>my-webapp</module> </modules> </project>
and seems to be ok... ignore my last email. Let me test and report :) On 4/17/07, Baz <[EMAIL PROTECTED]> wrote:
Sorry if i ask another stupid question again... I am pretty new at Maven and how can i make your module section works? Do you have a complete file for me as template? I have the following error: Validation Messages: [0] Packaging 'application_1' is invalid. Aggregator projects require 'pom' as packaging. Reason: Failed to validate POM Thanks. A. On 4/17/07, Lacoste, Dana <[EMAIL PROTECTED]> wrote: > > toplevel/pom.xml (modules a, b, c) > > contains > <modules> > <module>a</module> > <module>b</module> > <module>c</module> > </modules> > > toplevel/a/pom.xml (no dependencies) > > no change > > toplevel/b/pom.xml (depends on a) > > contains a <dependencies> section with a <dependency> on what's produced > in a > > toplevel/c/pom.xml (depends on b) > > contains a <dependencies> section with a <dependency> on what's produced > in b > > Enjoy! > > -- > Dana Lacoste > Software Design Engineer > HP Software > http://www.hp.com/go/software > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
