You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/03/29 11:41:55 UTC

[royale-compiler] branch develop updated: - Made sure the release source bundles are automatically hashed with sha512 - Made sure Adobe is mentioned in the NOTICE files - Made sure the release artifacts names have an "apache-royale-" prefix

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new db71b79  - Made sure the release source bundles are automatically hashed with sha512 - Made sure Adobe is mentioned in the NOTICE files - Made sure the release artifacts names have an "apache-royale-" prefix
     new 117bcbf  Merge pull request #140 from chrisdutz/develop
db71b79 is described below

commit db71b79ebb8ea0ede6a7133d89e42ce4b9962afc
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun Mar 29 13:15:06 2020 +0200

    - Made sure the release source bundles are automatically hashed with sha512
    - Made sure Adobe is mentioned in the NOTICE files
    - Made sure the release artifacts names have an "apache-royale-" prefix
---
 compiler-build-tools/pom.xml                       | 46 ++++++++++++++++++++
 .../src/main/appended-resources/META-INF/NOTICE    |  6 +++
 compiler-jburg-types/pom.xml                       | 50 ++++++++++++++++++++++
 .../src/main/appended-resources/META-INF/NOTICE    |  6 +++
 4 files changed, 108 insertions(+)

diff --git a/compiler-build-tools/pom.xml b/compiler-build-tools/pom.xml
index f189533..33c542e 100644
--- a/compiler-build-tools/pom.xml
+++ b/compiler-build-tools/pom.xml
@@ -127,6 +127,14 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-resources-plugin</artifactId>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>3.2.0</version>
+          <configuration>
+            <finalName>apache-royale-${project.artifactId}-${project.version}</finalName>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -184,4 +192,42 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <!--
+            Create MD5 and SHA512 checksum files for the release artifacts.
+          -->
+          <plugin>
+            <groupId>net.nicoulaj.maven.plugins</groupId>
+            <artifactId>checksum-maven-plugin</artifactId>
+            <version>1.8</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>files</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <algorithms>
+                <algorithm>SHA-512</algorithm>
+              </algorithms>
+              <fileSets>
+                <fileSet>
+                  <directory>${project.build.directory}</directory>
+                  <includes>
+                    <include>apache-royale-${project.artifactId}-${project.version}-source-release.zip</include>
+                  </includes>
+                </fileSet>
+              </fileSets>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
diff --git a/compiler-build-tools/src/main/appended-resources/META-INF/NOTICE b/compiler-build-tools/src/main/appended-resources/META-INF/NOTICE
new file mode 100644
index 0000000..12eb51f
--- /dev/null
+++ b/compiler-build-tools/src/main/appended-resources/META-INF/NOTICE
@@ -0,0 +1,6 @@
+===============================================================================
+
+The Initial Developer of the Original Code, known as Adobe Flex
+and Adobe ASC 2.0 and JBurgGenerator.java, is Adobe Systems Incorporated
+(http://www.adobe.com/).
+    Copyright 2003 - 2012 Adobe Systems Incorporated. All Rights Reserved.
diff --git a/compiler-jburg-types/pom.xml b/compiler-jburg-types/pom.xml
index c9086cc..47c70ac 100644
--- a/compiler-jburg-types/pom.xml
+++ b/compiler-jburg-types/pom.xml
@@ -102,6 +102,18 @@
         </executions>
       </plugin>
     </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>3.2.0</version>
+          <configuration>
+            <finalName>apache-royale-${project.artifactId}-${project.version}</finalName>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
 
   <dependencies>
@@ -117,4 +129,42 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <!--
+            Create MD5 and SHA512 checksum files for the release artifacts.
+          -->
+          <plugin>
+            <groupId>net.nicoulaj.maven.plugins</groupId>
+            <artifactId>checksum-maven-plugin</artifactId>
+            <version>1.8</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>files</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <algorithms>
+                <algorithm>SHA-512</algorithm>
+              </algorithms>
+              <fileSets>
+                <fileSet>
+                  <directory>${project.build.directory}</directory>
+                  <includes>
+                    <include>royale-compiler-parent-${project.version}-source-release.zip</include>
+                  </includes>
+                </fileSet>
+              </fileSets>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
diff --git a/compiler-jburg-types/src/main/appended-resources/META-INF/NOTICE b/compiler-jburg-types/src/main/appended-resources/META-INF/NOTICE
new file mode 100644
index 0000000..12eb51f
--- /dev/null
+++ b/compiler-jburg-types/src/main/appended-resources/META-INF/NOTICE
@@ -0,0 +1,6 @@
+===============================================================================
+
+The Initial Developer of the Original Code, known as Adobe Flex
+and Adobe ASC 2.0 and JBurgGenerator.java, is Adobe Systems Incorporated
+(http://www.adobe.com/).
+    Copyright 2003 - 2012 Adobe Systems Incorporated. All Rights Reserved.