camel-archetype-war not working in 2.0-M2
-----------------------------------------

                 Key: CAMEL-1829
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1829
             Project: Apache Camel
          Issue Type: Bug
    Affects Versions: 2.0-M2
            Reporter: Hadrian Zbarcea
            Priority: Critical


As we approach the 2.0 release, issues like this one need to be identified and 
fixed.  Similar issues may exist with other archetypes.

[INFO] Parameter: artifactId, Value: one-01
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 45,column 16] : ${camel-version} 
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 54,column 16] : 
${activemq-version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 59,column 16] : 
${xbean-spring-version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 64,column 16] : ${camel-version} 
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 72,column 16] : ${camel-version} 
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 92,column 18] : ${camel-version} 
is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 98,column 18] : ${jetty-version} 
is not a valid reference.
[INFO] ********************* End of debug info from resources from generated 
POM ***********************
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml 
[line 32,column 61] : ${activemq.base} is not a valid reference.
[ERROR] ResourceManager : unable to find resource 
'archetype-resources/src/data/message1.xml' in any resource loader.
[ERROR] Error merging velocity templates
org.apache.maven.archetype.old.ArchetypeTemplateProcessingException: Error 
merging velocity templates
        at 
org.apache.maven.archetype.old.DefaultOldArchetype.processTemplate(DefaultOldArchetype.java:905)

[...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to