This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/wicket-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new e069e91a Always use latest version of maven-archetype-plugin
e069e91a is described below

commit e069e91aafd71da39bcad2c70209ff940cea9b50
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Wed Nov 6 15:14:42 2024 +0200

    Always use latest version of maven-archetype-plugin
    
    v2.4 is very old
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 content/start/quickstart.html | 2 --
 start/quickstart.md           | 2 --
 2 files changed, 4 deletions(-)

diff --git a/content/start/quickstart.html b/content/start/quickstart.html
index b753fbab..88a2bad3 100644
--- a/content/start/quickstart.html
+++ b/content/start/quickstart.html
@@ -148,8 +148,6 @@
                                
                if(version.match(/^1\.[34]/))
                        cmd = 'mvn archetype:create 
-DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + 
version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId;              
                              
-               else if(version.match(/.*SNAPSHOT/))
-                       cmd = 'mvn 
org.apache.maven.plugins:maven-archetype-plugin:2.4:generate 
-DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + 
version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId;              
  
                else
                        cmd = 'mvn archetype:generate 
-DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + 
version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId;              
    
 
diff --git a/start/quickstart.md b/start/quickstart.md
index 2c0df392..2209b793 100644
--- a/start/quickstart.md
+++ b/start/quickstart.md
@@ -36,8 +36,6 @@ atitlePicture:
                                
                if(version.match(/^1\.[34]/))
                        cmd = 'mvn archetype:create 
-DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + 
version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId;              
                              
-               else if(version.match(/.*SNAPSHOT/))
-                       cmd = 'mvn 
org.apache.maven.plugins:maven-archetype-plugin:2.4:generate 
-DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + 
version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId;              
  
                else
                        cmd = 'mvn archetype:generate 
-DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + 
version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId;              
    
 

Reply via email to