You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Nino Martinez (JIRA)" <ji...@apache.org> on 2007/10/05 12:38:00 UTC
[jira] Created: (WICKET-1045) mvn archetype:create
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
-----------------------------------------------------------------------------------------------------------
Key: WICKET-1045
URL: https://issues.apache.org/jira/browse/WICKET-1045
Project: Wicket
Issue Type: Improvement
Components: wicket
Environment: Mac osx
Reporter: Nino Martinez
Priority: Minor
mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
Yields warnings:
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 35,column 34] : ${wicket.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 41,column 34] : ${wicket.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 64,column 34] : ${jetty.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 70,column 34] : ${jetty.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 76,column 34] : ${jetty.version} is not a valid reference.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1045) mvn archetype:create
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch updated WICKET-1045:
-------------------------------------
Attachment: WICKET-1045.20071006.txt
as mentioned on the dev list, there are a couple of tricks you can use in your archetype template(s) to avoid these warnings:
1) add the following velocity macro:
#set( $dollar = '$' )
to the top of the file, then use ${dollar}{wicket.version} in place of ${wicket.version}
2) or use the 'literal' velocity tag:
#literal()
this text will be left unchanged... ${wicket.version}
... even text like ${version} will remain untouched
#end
to surround sections where you don't want velocity to do any property substitution
the attached patch (WICKET-1045.20071006.txt) uses the second approach
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
> -----------------------------------------------------------------------------------------------------------
>
> Key: WICKET-1045
> URL: https://issues.apache.org/jira/browse/WICKET-1045
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Environment: Mac osx
> Reporter: Nino Martinez
> Priority: Minor
> Attachments: WICKET-1045.20071006.txt
>
>
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
> Yields warnings:
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 35,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 41,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 64,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 70,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 76,column 34] : ${jetty.version} is not a valid reference.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-1045) mvn archetype:create
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-1045:
-------------------------------------
Assignee: Gerolf Seitz
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
> -----------------------------------------------------------------------------------------------------------
>
> Key: WICKET-1045
> URL: https://issues.apache.org/jira/browse/WICKET-1045
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Environment: Mac osx
> Reporter: Nino Martinez
> Assignee: Gerolf Seitz
> Priority: Minor
> Fix For: 1.3.0-beta5
>
> Attachments: WICKET-1045.20071006.txt
>
>
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
> Yields warnings:
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 35,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 41,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 64,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 70,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 76,column 34] : ${jetty.version} is not a valid reference.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1045) mvn archetype:create
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerolf Seitz resolved WICKET-1045.
----------------------------------
Resolution: Fixed
thx for the patch, Stuart
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
> -----------------------------------------------------------------------------------------------------------
>
> Key: WICKET-1045
> URL: https://issues.apache.org/jira/browse/WICKET-1045
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Environment: Mac osx
> Reporter: Nino Martinez
> Assignee: Gerolf Seitz
> Priority: Minor
> Fix For: 1.3.0-beta5
>
> Attachments: WICKET-1045.20071006.txt
>
>
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
> Yields warnings:
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 35,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 41,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 64,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 70,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 76,column 34] : ${jetty.version} is not a valid reference.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.