You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/01/12 01:23:56 UTC

[royale-asjs] 13/21: update archetypes to make it easier to update versions

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

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 9dacdd2a8c519edda48e17613d9ba231b65bcefc
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Jan 11 16:46:46 2018 -0800

    update archetypes to make it easier to update versions
---
 archetypes/pom.xml                                                  | 4 ++++
 .../src/main/resources/archetype-resources/pom.xml                  | 6 +++---
 .../src/main/resources/archetype-resources/pom.xml                  | 6 +++---
 .../src/main/resources/archetype-resources/pom.xml                  | 2 +-
 .../src/main/resources/archetype-resources/pom.xml                  | 6 +++---
 .../src/main/resources/archetype-resources/pom.xml                  | 6 +++---
 6 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/archetypes/pom.xml b/archetypes/pom.xml
index ce92c97..d855787 100644
--- a/archetypes/pom.xml
+++ b/archetypes/pom.xml
@@ -33,6 +33,10 @@
   <name>Apache Royale: Framework: Archetypes</name>
   <description>Maven archetypes for creating royale maven projects</description>
 
+  <properties>
+    <royale.framework.version>0.9.0-SNAPSHOT</royale.framework.version>
+  </properties>
+  
   <modules>
     <module>royale-simple-application-archetype</module>
     <module>royale-simple-application-pure-js-archetype</module>
diff --git a/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
index f8fb7b3..56881c8 100644
--- a/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
@@ -58,7 +58,7 @@
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
       <artifactId>Core</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.framework.version}</version>
       <type>swc</type>
     </dependency>
 
@@ -75,13 +75,13 @@
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
       <artifactId>HTML</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.framework.version}</version>
       <type>swc</type>
     </dependency>
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
       <artifactId>Language</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.framework.version}</version>
       <type>swc</type>
       <classifier>js</classifier>
     </dependency>
diff --git a/archetypes/royale-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/royale-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml
index 1c76706..55b27c7 100644
--- a/archetypes/royale-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/royale-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml
@@ -59,7 +59,7 @@
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
       <artifactId>Core</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.framework.version}</version>
       <type>swc</type>
     </dependency>
 
@@ -67,13 +67,13 @@
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
       <artifactId>HTML</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.framework.version}</version>
       <type>swc</type>
     </dependency>
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
       <artifactId>Language</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.framework.version}</version>
       <type>swc</type>
     </dependency>
   </dependencies>
diff --git a/archetypes/royale-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/royale-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml
index c75f50a..7a560ae 100644
--- a/archetypes/royale-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/royale-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml
@@ -54,7 +54,7 @@
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
       <artifactId>Core</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.framework.version}</version>
       <type>swc</type>
     </dependency>
 
diff --git a/archetypes/royale-simple-library-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/royale-simple-library-archetype/src/main/resources/archetype-resources/pom.xml
index a80a882..6474a50 100644
--- a/archetypes/royale-simple-library-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/royale-simple-library-archetype/src/main/resources/archetype-resources/pom.xml
@@ -35,7 +35,7 @@
       <plugin>
         <groupId>org.apache.royale.compiler</groupId>
         <artifactId>royale-maven-plugin</artifactId>
-        <version>0.9.0-SNAPSHOT</version>
+        <version>${royale.compiler.version}</version>
         <extensions>true</extensions>
         <configuration>
           <namespaces>
@@ -56,7 +56,7 @@
           <dependency>
             <groupId>org.apache.royale.compiler</groupId>
             <artifactId>compiler-jx</artifactId>
-            <version>0.9.0-SNAPSHOT</version>
+            <version>${royale.compiler.version}</version>
           </dependency>
         </dependencies>
       </plugin>
@@ -76,7 +76,7 @@
     <dependency>
       <groupId>org.apache.royale.typedefs</groupId>
       <artifactId>royale-typedefs-gcl</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.typedefs.version}</version>
       <type>swc</type>
       <classifier>typedefs</classifier>
     </dependency>
diff --git a/archetypes/royale-simple-typedef-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/royale-simple-typedef-archetype/src/main/resources/archetype-resources/pom.xml
index 41d957e..31ee527 100644
--- a/archetypes/royale-simple-typedef-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/royale-simple-typedef-archetype/src/main/resources/archetype-resources/pom.xml
@@ -39,7 +39,7 @@
       <plugin>
         <groupId>org.apache.royale.compiler</groupId>
         <artifactId>royale-maven-plugin</artifactId>
-        <version>0.9.0-SNAPSHOT</version>
+        <version>${royale.compiler.version}</version>
         <extensions>true</extensions>
         <configuration>
           <includeSources>true</includeSources>
@@ -57,7 +57,7 @@
           <dependency>
             <groupId>org.apache.royale.compiler</groupId>
             <artifactId>compiler-jx</artifactId>
-            <version>0.9.0-SNAPSHOT</version>
+            <version>${royale.compiler.version}</version>
           </dependency>
         </dependencies>
       </plugin>
@@ -68,7 +68,7 @@
     <dependency>
       <groupId>org.apache.royale.typedefs</groupId>
       <artifactId>royale-typedefs-js</artifactId>
-      <version>0.9.0-SNAPSHOT</version>
+      <version>${royale.typedefs.version}</version>
       <type>swc</type>
       <classifier>typedefs</classifier>
       <scope>runtime</scope>

-- 
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.