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 2019/03/01 17:43:48 UTC

[royale-compiler] 01/02: add option to use Wagon to upload artifacts to Staging

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

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

commit ba027c35bb977ab3872e84869e7e7363d3b7519d
Author: Alex Harui <ah...@apache.org>
AuthorDate: Fri Mar 1 09:43:19 2019 -0800

    add option to use Wagon to upload artifacts to Staging
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index 09c2079..5704a84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -185,6 +185,23 @@
         <website.path>${project.version}</website.path>
       </properties>
     </profile>
+    <profile>
+        <id>upload-release-to-staging</id>
+        <build>
+            <plugins>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>wagon-maven-plugin</artifactId>
+                    <version>2.0.0</version>
+                    <configuration>
+                        <includes>**</includes>
+                        <serverId>apache.releases.https</serverId>
+                        <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </build>
+    </profile>
   </profiles>
 
   <build>