Hello friends, I've been working to get the Hello World tutorial working to
no avail. I've received similar error messages that others have reported in
other threads, however, their solutions have not worked for me. There is
also a reference to the tutorial guide that indicates some additional setup
in the settings.xml for Maven, however, I do not see this on the
Installation Guide (only the setting of environment variables).
Here is where I am at:
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 40,column 42] :
${fornax-oaw-m2.ver
sion} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 101,column 34] :
${hibernate.versio
n} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 112,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 117,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 122,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 127,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 132,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 143,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 148,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 153,column 34] :
${spring.version}
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 195,column 34] :
${commons-logging.
version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 201,column 34] :
${log4j.version} i
s not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 259,column 34] :
${sculptor.version
} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 271,column 34] :
${sculptor.version
} is not a valid reference.
[INFO] ********************* End of debug info from resources from generated
POM
I am using the following to create the tutorial as provided by the
HelloWorld tutorial page:
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create
-DarchetypeGroupId=org.fornax.cartridges
-DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-standalone
-DarchetypeVersion=1.3.1
-DremoteRepositories=http://www.fornax-platform.org/m2/repository
-DgroupId=org.helloworld -DartifactId=helloworld
In one thread, the author suggested ignoring these warnings and moving onto
the "mvn eclipse:eclipse" step. I've done so, however, Eclipse is not
recognizing whatever was produced as a project when I attempt to import it.
For fun, I ran "mvn install" in the helloworld directory and also received
this:
Project ID: org.fornax.toolsupport:fornax-oaw-m2-plugin
Reason: POM 'org.fornax.toolsupport:fornax-oaw-m2-plugin' not found in
repositor
y: Unable to download the artifact from any repository
org.fornax.toolsupport:fornax-oaw-m2-plugin:pom:2.0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project org.fornax.toolsupport:fornax-oaw-m2-plugin
This seems to indicate that I indeed need to get the repository in my
settings.xml file. This has been discussed before and each author points us
back to the installation guide. I appear to blind, however, as I don't see
anything in the installation guide that shares what specifically to place in
the settings.xml file, only environment settings for Maven.
Like others who have come across these errors, I'm eager to dive in to
sculptor so I'm not ready to give up yet.
Thanks for any and all help.
--
View this message in context:
http://www.nabble.com/Hello-World-Tutorial-tp17364308s17564p17364308.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer