I am trying to get the hello world example going and I run into trouble with
the maven project setup.  I am not sure I have the correct pom.xml

The tutorial mentions removing the parent section in the generated pom and
add a version element.
In the pom.xml I get, there is no parent section but there is already a
version element.  This is the pom.xml I get:

<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>org.helloworld</groupId>
        <artifactId>helloworld</artifactId>
        <version>1.0-SNAPSHOT</version>
        <packaging>pom</packaging>
        <name>Parent project for helloworld</name>
        <properties>
                <fornax-oaw-m2.version>1.0.4</fornax-oaw-m2.version>
                <hibernate.version>3.2.5.ga</hibernate.version>
                <spring.version>2.0.4</spring.version>
                <log4j.version>1.2.8</log4j.version>
                <commons-logging.version>1.0.3</commons-logging.version>
                <sculptor.version>1.1.0-SNAPSHOT</sculptor.version>
        </properties>
        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>3.8.1</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>
        <modules>
                <module>../hel</module>
                <module>../hel-web</module>
                <module>../hel-ear</module>
        </modules>
</project>



When I use this pom.xml, creating the eclipse project fails since the
different modules as specified by the pom do not exist.  When I remove the
modules section, creating the eclipse project works, later on code
generation doesn't do much.

So my question is, how do I generate the correct pom.xml file?

Thanks


Pietro
-- 
View this message in context: 
http://www.nabble.com/Correct-pom.xml-in-Hello-World-Tutorial-tf4710259s17564.html#a13463374
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to