flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [flex-utilities] branch develop updated: - Removed a reference to a version variable - Added generating a SHA512 hash of the source-release
Date Thu, 14 Nov 2019 15:23:48 GMT
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/flex-utilities.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0dc5b70  - Removed a reference to a version variable - Added generating a SHA512
hash of the source-release
0dc5b70 is described below

commit 0dc5b70894664f704b086e67e636e90caaaf3520
Author: Christofer Dutz <christofer.dutz@c-ware.de>
AuthorDate: Thu Nov 14 16:23:36 2019 +0100

    - Removed a reference to a version variable
    - Added generating a SHA512 hash of the source-release
---
 flex-maven-tools/flex-sdk-converter/pom.xml        | 44 ++++++++++++++++++++++
 .../flex-sdk-converter/retrievers/download/pom.xml | 20 +++++++++-
 2 files changed, 63 insertions(+), 1 deletion(-)

diff --git a/flex-maven-tools/flex-sdk-converter/pom.xml b/flex-maven-tools/flex-sdk-converter/pom.xml
index 8076911..92ff0c5 100644
--- a/flex-maven-tools/flex-sdk-converter/pom.xml
+++ b/flex-maven-tools/flex-sdk-converter/pom.xml
@@ -80,4 +80,48 @@
             </plugin>
         </plugins>
     </build>
+
+    <profiles>
+        <!--
+          This profile extends the default "apache-release" configuration with automatic
checksum-
+          generation for the release source artifact. It is automatically activated during
the
+          release build and only needed there.
+        -->
+        <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>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>files</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <algorithms>
+                                <algorithm>SHA-512</algorithm>
+                            </algorithms>
+                            <fileSets>
+                                <fileSet>
+                                    <directory>${project.build.directory}</directory>
+                                    <includes>
+                                        <include>${project.artifactId}-${project.version}-source-release.zip</include>
+                                    </includes>
+                                </fileSet>
+                            </fileSets>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>
diff --git a/flex-maven-tools/flex-sdk-converter/retrievers/download/pom.xml b/flex-maven-tools/flex-sdk-converter/retrievers/download/pom.xml
index ffa2665..351037a 100644
--- a/flex-maven-tools/flex-sdk-converter/retrievers/download/pom.xml
+++ b/flex-maven-tools/flex-sdk-converter/retrievers/download/pom.xml
@@ -44,9 +44,27 @@
         </dependency>
 
         <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.4</version>
+        </dependency>
+
+        <!-- 7Zip with JNI Wrapper to call it from Java -->
+        <dependency>
+            <groupId>net.sf.sevenzipjbinding</groupId>
+            <artifactId>sevenzipjbinding</artifactId>
+            <version>9.20-2.00beta</version>
+        </dependency>
+        <dependency>
+            <groupId>net.sf.sevenzipjbinding</groupId>
+            <artifactId>sevenzipjbinding-all-platforms</artifactId>
+            <version>9.20-2.00beta</version>
+        </dependency>
+
+        <dependency>
             <groupId>org.mock-server</groupId>
             <artifactId>mockserver-netty</artifactId>
-            <version>RELEASE</version>
+            <version>5.1.0</version>
             <scope>test</scope>
         </dependency>
         <dependency>


Mime
View raw message