[
https://issues.apache.org/jira/browse/WICKET-7127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17893533#comment-17893533
]
Robert Murphy commented on WICKET-7127:
---------------------------------------
C:\Users\\{user}\Documents\NetBeansProjects\reproduce>mvn archetype:generate
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=10.2.0
-DgroupId=com.westring -DartifactId=reproduce
-DarchetypeRepository=https://repo.maven.apache.org/maven2/
-Dlog4j.properties=wildfly-doesnt-need-log4j.properties -DinteractiveMode=false
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] >>> archetype:3.3.0:generate (default-cli) > generate-sources @
standalone-pom >>>
[INFO]
[INFO] <<< archetype:3.3.0:generate (default-cli) < generate-sources @
standalone-pom <<<
[INFO]
[INFO]
[INFO] --- archetype:3.3.0: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.westring
[INFO] Parameter: artifactId, Value: reproduce
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: com.westring
[INFO] Parameter: packageInPathFormat, Value: com/westring
[INFO] Parameter: package, Value: com.westring
[INFO] Parameter: groupId, Value: com.westring
[INFO] Parameter: artifactId, Value: reproduce
[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: 1.322 s
[INFO] Finished at: 2024-10-28T10:38:28-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:3.3.0: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:
[ERROR] "\u001c" ...
[ERROR] "\u001c" ...
[ERROR] "||" ...
[ERROR] "|" ...
[ERROR] "(" ...
[ERROR] ")" ...
[ERROR] <ESCAPE_DIRECTIVE> ...
[ERROR] "]]#" ...
[ERROR] <WHITESPACE> ...
[ERROR] <NEWLINE> ...
[ERROR] <SUFFIX> ...
[ERROR] <STRING_LITERAL> ...
[ERROR] <INTEGER_LITERAL> ...
[ERROR] <FLOATING_POINT_LITERAL> ...
[ERROR] <DOT> ...
[ERROR] "{" ...
[ERROR] "}" ...
[ERROR] "\\\\" ...
[ERROR] "\\" ...
[ERROR] <TEXT> ...
[ERROR] <INLINE_TEXT> ...
[ERROR] <EMPTY_INDEX> ...
[ERROR] "{" ...
[ERROR] "\u001c" ...
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> Quickstart no longer works
> --------------------------
>
> Key: WICKET-7127
> URL: https://issues.apache.org/jira/browse/WICKET-7127
> Project: Wicket
> Issue Type: Bug
> Components: wicket-quickstart
> Affects Versions: 10.2.0
> Reporter: Robert Murphy
> Priority: Major
>
> [https://wicket.apache.org/start/quickstart.html]
> All defaults
> Java 11
> mvn 3.9.9
>
> PS C:\Users\\{user}\Documents\NetBeansProjects\reproduce> mvn
> archetype:generate -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=10.2.0
> -DgroupId=com.westring -DartifactId=reproduce
> -DarchetypeRepository=https://repository.apache.org/
> -Dlog4j.properties=wildfly-doesnt-need-log4j.properties
> -DinteractiveMode=false
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> if we add a pom.xml to folder and try again
> PS C:\Users\\{user}\Documents\NetBeansProjects\reproduce> mvn
> archetype:generate -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=10.2.0
> -DgroupId=com.westring -DartifactId=reproduce
> -DarchetypeRepository=https://repository.apache.org/
> -Dlog4j.properties=wildfly-doesnt-need-log4j.properties
> -DinteractiveMode=false
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------------< com.westring:reproduce
> >-----------------------
> [INFO] Building reproduce 1.0-SNAPSHOT
> [INFO] from pom.xml
> [INFO] --------------------------------[ war
> ]---------------------------------
> [INFO]
> [INFO] >>> archetype:3.3.0:generate (default-cli) > generate-sources @
> reproduce >>>
> [INFO]
> [INFO] <<< archetype:3.3.0:generate (default-cli) < generate-sources @
> reproduce <<<
> [INFO]
> [INFO]
> [INFO] --- archetype:3.3.0:generate (default-cli) @ reproduce ---
> [INFO] Generating project in Batch mode
> [WARNING] Archetype not found in any catalog. Falling back to central
> repository.
> [WARNING] Add a repository with id 'archetype' in your settings.xml if
> archetype's repository is elsewhere.
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Skipping reproduce
> [INFO] This project has been banned from the build due to previous failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.125 s
> [INFO] Finished at: 2024-10-28T10:20:25-06:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:3.3.0:generate (default-cli)
> on project reproduce: The desired archetype does not exist
> (org:wicket-archetype-quickstart:10) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> PS C:\Users\\{user}\Documents\NetBeansProjects\reproduce>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)