[ 
https://issues.apache.org/jira/browse/WICKET-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903217#comment-17903217
 ] 

Maxim Solodovnik commented on WICKET-7136:
------------------------------------------

I manually run quickstart generation for versions: {{10.2.0, 10.3.0-SNAPSHOT, 
8.16.0, 9.18.0}}

All work as expected in case 
{{org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate}} is used (not 
sure which velocity is under the hood ...)

IMO we can use it until maven stabilized :))

BTW it seems 
{{-DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots/}}
 has no effect :(( I have to perform local Wicket build ...

{code}
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Maven home: /opt/maven
Java version: 17.0.13, vendor: Ubuntu, runtime: 
/usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.8.0-49-generic", arch: "amd64", family: "unix"
{code}


> 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)

Reply via email to