Hi,
I have defined a parent tag within my pom which, because no root pom is
being pulled into org/jboss/seam/root in my repository, is throwing a
'Badly formed maven project' error, using Netbeans 6.1, in relation to
the groupId and unspecified versions in the defined dependencies. What
is the issue here?
My dev platform is:
Win XP SP1
Maven 2.0.9
JDK1.6.0_06
The pom in question is:
[code]
<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>com.mycompany.app</groupId>
<artifactId>mycompany-seam-app</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>mycompany-seam-app</name>
<url>http://snapshots.jboss.org/maven2</url>
<repositories>
<repository>
<id>jboss-snapshot</id>
<name>The JBoss Maven Repo</name>
<url>http://snapshots.jboss.org/maven2</url>
</repository>
</repositories>
<parent>
<groupId>org.jboss.seam</groupId>
<artifactId>root</artifactId>
<version>2.0.3-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<modules>
<module>ejb</module>
<module>war</module>
<module>ear</module>
</modules>
<build>
<plugins>
<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>
[/code]
Many thanks in advance.
--
Regards
Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]