[ 
https://issues.apache.org/jira/browse/WICKET-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov reopened WICKET-3268:
-------------------------------------


May I ask someone with working jekyll to touch the mvn lines in our docs and 
replace -DremoteRepositories with -DarchetypeRepository.

jekyll stopped working locally with my version of Ruby (1.9.1).


Index: start/quickstart.md
===================================================================
--- start/quickstart.md (revision 1050846)
+++ start/quickstart.md (working copy)
@@ -42,7 +42,8 @@
                else
                        cmd = 'mvn archetype:generate 
-DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + 
version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId;              
                            
 
-               if (version.match(/.*SNAPSHOT/)) cmd += ' 
-DremoteRepositories=http://wicketstuff.org/maven/repository/';
+               if (version.match(/.*SNAPSHOT/)) cmd += ' 
-DarchetypeRepository=http://wicketstuff.org/maven/repository/';
+               cmd += ' -DinteractiveMode=false';
                document.getElementById("cmdLine").value = cmd;
        }
 </script>


Additionally I added the property 'interactiveMode=false' that will save the 
user two questions.

> 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
>             Fix For: 1.5-M4
>
>
> 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