Open frasese opened 7 years ago
Has this issue been solved yet?
I think this was solved by a878623ee6bca7f1caba76da1243f3bb0e3866a0, 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
I'll try to push up a new version today. Sonatype was giving me auth issues.
sent from my mobile
On 19 May 2017 01:26, "Matthew Buckett" notifications@github.com wrote:
I think this was solved by a878623 https://github.com/sakaiproject/sakai-wicket-maven-archetype/commit/a878623ee6bca7f1caba76da1243f3bb0e3866a0, 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
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sakaiproject/sakai-wicket-maven-archetype/issues/5#issuecomment-302439451, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH4afiXw4N3YXe0gvg3tBqvcz_NOBMPks5r7GMDgaJpZM4MEADS .
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.