You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2024/11/06 13:15:19 UTC

(wicket-site) branch asf-site updated: Always use latest version of maven-archetype-plugin

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 <mg...@apache.org>
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 <mg...@apache.org>
---
 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;