Can't generate 1.5-SNAPSHOT project with the quickstart command
---------------------------------------------------------------

                 Key: WICKET-3268
                 URL: https://issues.apache.org/jira/browse/WICKET-3268
             Project: Wicket
          Issue Type: Bug
          Components: wicket-quickstart
            Reporter: Major Peter


Currently the command on Wicket site 
(http://wicket.apache.org/start/quickstart.html) is not working with 
1.5-SNAPSHOT, because the archetype plugin does not care about the 
remoteRepositories parameter 
(http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html). 
Instead it will always generate 1.5-M3 quickstart. (at least this is the 
behavior with Maven 3.0.1)

The solution is to use the following command:
mvn archetype:generate -DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart 
-DarchetypeVersion=1.5-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myproject 
-DinteractiveMode=false 
-DarchetypeRepository=http://wicketstuff.org/maven/repository/

note the extra -DinteractiveMode=false parameter, which can speed up the 
projectgeneration. ;)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to