You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/11/03 11:05:18 UTC

struts-site git commit: Deattach archetypes' version from Struts core version

Repository: struts-site
Updated Branches:
  refs/heads/master bd1f15081 -> 05186d92e


Deattach archetypes' version from Struts core version


Project: http://git-wip-us.apache.org/repos/asf/struts-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-site/commit/05186d92
Tree: http://git-wip-us.apache.org/repos/asf/struts-site/tree/05186d92
Diff: http://git-wip-us.apache.org/repos/asf/struts-site/diff/05186d92

Branch: refs/heads/master
Commit: 05186d92effa888b7c859e00c75f573a14d4dc39
Parents: bd1f150
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Thu Nov 3 12:05:10 2016 +0100
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Thu Nov 3 12:05:10 2016 +0100

----------------------------------------------------------------------
 _config.yml                  |  1 +
 source/archetype-catalog.xml | 19 +++++++++++++------
 2 files changed, 14 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-site/blob/05186d92/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index 09e76f0..2a94410 100644
--- a/_config.yml
+++ b/_config.yml
@@ -24,6 +24,7 @@ root:
 # Simplifies introducing changes related to the latest release
 current_version: 2.5.5
 current_version_short: 255
+archetype_version: 2.5.5
 current_beta_version: 2.5-BETA3
 current_beta_version_short: 25B3
 release_date: 21 October 2016

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05186d92/source/archetype-catalog.xml
----------------------------------------------------------------------
diff --git a/source/archetype-catalog.xml b/source/archetype-catalog.xml
index 5861812..a9905a8 100644
--- a/source/archetype-catalog.xml
+++ b/source/archetype-catalog.xml
@@ -10,44 +10,51 @@ comment: keep these lines
         <archetype>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-archetype-blank</artifactId>
-            <version>{{ site.current_version }}</version>
+            <version>{{ site.archetype_version }}</version>
             <repository>https://repository.apache.org/content/groups/public/</repository>
             <description>Struts 2 Archetypes - Blank</description>
         </archetype>
         <archetype>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-archetype-convention</artifactId>
-            <version>{{ site.current_version }}</version>
+            <version>{{ site.archetype_version }}</version>
             <repository>https://repository.apache.org/content/groups/public/</repository>
             <description>Struts 2 Archetypes - Blank Convention</description>
         </archetype>
         <archetype>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-archetype-dbportlet</artifactId>
-            <version>{{ site.current_version }}</version>
+            <version>{{ site.archetype_version }}</version>
             <repository>https://repository.apache.org/content/groups/public/</repository>
             <description>Struts 2 Archetypes - Database Portlet</description>
         </archetype>
         <archetype>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-archetype-plugin</artifactId>
-            <version>{{ site.current_version }}</version>
+            <version>{{ site.archetype_version }}</version>
             <repository>https://repository.apache.org/content/groups/public/</repository>
             <description>Struts 2 Archetypes - Plugin</description>
         </archetype>
         <archetype>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-archetype-portlet</artifactId>
-            <version>{{ site.current_version }}</version>
+            <version>{{ site.archetype_version }}</version>
             <repository>https://repository.apache.org/content/groups/public/</repository>
             <description>Struts 2 Archetypes - Portlet</description>
         </archetype>
         <archetype>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-archetype-starter</artifactId>
-            <version>{{ site.current_version }}</version>
+            <version>{{ site.archetype_version }}</version>
             <repository>https://repository.apache.org/content/groups/public/</repository>
             <description>Struts 2 Archetypes - Starter</description>
         </archetype>
+        <archetype>
+            <groupId>org.apache.struts</groupId>
+            <artifactId>struts2-archetype-angularjs</artifactId>
+            <version>{{ site.archetype_version }}</version>
+            <repository>https://repository.apache.org/content/groups/public/</repository>
+            <description>Struts 2 Archetypes - Angular JS</description>
+        </archetype>
     </archetypes>
 </archetype-catalog>