[
https://issues.apache.org/jira/browse/WICKET-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903202#comment-17903202
]
Maxim Solodovnik commented on WICKET-7136:
------------------------------------------
What I propose is to use old {{archetype}} for all quickstarts :)
{{org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate}} works for me
as expected while I got error with {{archetype:generate}} ....
I would use old archetype until maven-4 final will be released :))
> all quickstarts cannot be installed
> -----------------------------------
>
> Key: WICKET-7136
> URL: https://issues.apache.org/jira/browse/WICKET-7136
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 9.18.0, 10.2.0
> Reporter: Franz Kolberg
> Priority: Major
>
> all versions offered on [https://wicket.apache.org/start/quickstart.html]
> have this problem:
>
> $ mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=10.2.0
> -DgroupId=com.mycompany -DartifactId=myproject
> -DarchetypeRepository=https://[repository.apache.org/content/repositories/snapshots/|https://repository.apache.org/content/repositories/sna]
> -DinteractiveMode=false
> [WARNING]
> [WARNING] Some problems were encountered while building the effective settings
> [WARNING] Unrecognised tag: 'blocked' (position: START_TAG seen ...</url>\n
> <blocked>... @164:16) @ /usr/share/maven/conf/settings.xml, line 164,
> column 16
> [WARNING]
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------< org.apache.maven:standalone-pom
> >-------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] --------------------------------[ pom
> ]---------------------------------
> [INFO]
> [INFO] >>> maven-archetype-plugin:3.3.1:generate (default-cli) >
> generate-sources @ standalone-pom >>>
> [INFO]
> [INFO] <<< maven-archetype-plugin:3.3.1:generate (default-cli) <
> generate-sources @ standalone-pom <<<
> [INFO]
> [INFO]
> [INFO] --- maven-archetype-plugin:3.3.1:generate (default-cli) @
> standalone-pom ---
> [INFO] Generating project in Batch mode
> [INFO] Archetype repository not defined. Using the one from
> [org.apache.wicket:wicket-archetype-quickstart:10.2.0] found in catalog remote
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating project from Archetype:
> wicket-archetype-quickstart:10.2.0
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: com.mycompany
> [INFO] Parameter: artifactId, Value: myproject
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] Parameter: package, Value: com.mycompany
> [INFO] Parameter: packageInPathFormat, Value: com/mycompany
> [INFO] Parameter: package, Value: com.mycompany
> [INFO] Parameter: groupId, Value: com.mycompany
> [INFO] Parameter: artifactId, Value: myproject
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [ERROR] archetype-resources/pom.xml: Encountered "#end" at line 210, column 9.
> Was expecting one of:
> "\u001c" ...
> "\u001c" ...
> "||" ...
> "|" ...
> "(" ...
> ")" ...
> <ESCAPE_DIRECTIVE> ...
> "]]#" ...
> <WHITESPACE> ...
> <NEWLINE> ...
> <SUFFIX> ...
> <STRING_LITERAL> ...
> <INTEGER_LITERAL> ...
> <FLOATING_POINT_LITERAL> ...
> <DOT> ...
> "{" ...
> "}" ...
> "\\\\" ...
> "\\" ...
> <TEXT> ...
> <INLINE_TEXT> ...
> <EMPTY_INDEX> ...
> "{" ...
> "\u001c" ...
>
> [ERROR] ResourceManager: parse exception: Encountered "#end" at
> archetype-resources/pom.xml[line 210, column 9]
> Was expecting one of:
> "\u001c" ...
> "\u001c" ...
> "||" ...
> "|" ...
> "(" ...
> ")" ...
> <ESCAPE_DIRECTIVE> ...
> "]]#" ...
> <WHITESPACE> ...
> <NEWLINE> ...
> <SUFFIX> ...
> <STRING_LITERAL> ...
> <INTEGER_LITERAL> ...
> <FLOATING_POINT_LITERAL> ...
> <DOT> ...
> "{" ...
> "}" ...
> "\\\\" ...
> "\\" ...
> <TEXT> ...
> <INLINE_TEXT> ...
> <EMPTY_INDEX> ...
> "{" ...
> "\u001c" ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.094 s
> [INFO] Finished at: 2024-12-03T15:17:59+01:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate (default-cli)
> on project standalone-pom: Error merging velocity templates: Encountered
> "#end" at archetype-resources/pom.xml[line 210, column 9]
> [ERROR] Was expecting one of:
--
This message was sent by Atlassian Jira
(v8.20.10#820010)