Hi,

I am trying to troubleshoot my example still and got a warning that wasn't
mentioned in the tutorial. I am not sure if it is related to the example not
working for me but I thought I would ask.  

http://servicemix.apache.org/22-beginner-creating-our-first-su-module.html

$ mvn archetype:create -DarchetypeArtifactId=servicemix-service-unit
-Darchetyp
eGroupId=org.apache.servicemix.tooling -DartifactId=tutorial-file-su
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Tutorial
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:create]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID: org.apache.servicemix.tutorial
[INFO]
-------------------------------------------------------------------------
---
[INFO] Using following parameters for creating OldArchetype:
servicemix-service-
unit:RELEASE
[INFO]
-------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: org.apache.servicemix.tutorial
[INFO] Parameter: packageName, Value: org.apache.servicemix.tutorial
[INFO] Parameter: package, Value: org.apache.servicemix.tutorial
[INFO] Parameter: artifactId, Value: tutorial-file-su
[INFO] Parameter: basedir, Value: c:\sandbox\servicemix
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 101,column 18] :
${servicemix-versi
on} is not a valid reference.
[INFO] ********************* End of debug info from resources from generated
POM
 ***********************
[INFO] OldArchetype created in dir: c:\sandbox\servicemix\tutorial-file-su
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Apr 10 14:40:05 EDT 2009
[INFO] Final Memory: 8M/14M
[INFO]
------------------------------------------------------------------------

Is this warning the result of me doing something wrong?  I was going
verbatim with the command so I had no idea why it should appear. Thanks,

Andy
-- 
View this message in context: 
http://www.nabble.com/Tutorial-2.2%3A-%24%7Bservicemix-version%7D-is-not-a-valid-reference.-tp22993119p22993119.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to