Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error merging velocity templates #5

Open
frasese opened this issue Feb 17, 2017 · 3 comments
Open

Error merging velocity templates #5

frasese opened this issue Feb 17, 2017 · 3 comments

Comments

@frasese
Copy link
Contributor

frasese commented Feb 17, 2017

Running the basic example command throws this error : [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.0:generate (default-cli) on project standalone-pom: org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: Lexical error, Encountered: "l" (108), after : "." at archetype-resources/tool/src/java/tool/pages/ThirdPage.java[line 175, column 54] -> [Help 1]

Everything worked perfect a couple of weeks ago.

@bgibso4
Copy link

bgibso4 commented May 18, 2017

Has this issue been solved yet?

@buckett
Copy link
Member

buckett commented May 18, 2017

I think this was solved by a878623, however there doesn't seem to have been a newer release since then so you might still be seeing it.

I can't manage to reproduce it though with Maven 3.5.0 and Java 8 so it maybe that upgrading your maven version will make it go away. Alternatively you can force maven to use an earlier version of the archetype plugin. 2.4, seems to work:

 mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-wicket-maven-archetype -DarchetypeVersion=1.5.0 -DgroupId=org.sakaiproject.example -DartifactId=exampleApp

@steveswinsburg
Copy link
Member

steveswinsburg commented May 18, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants