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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 75754bd  - Added a previously existing profile back which is used by 
the ant releasesteps.xml script - Adjusted the profile-name to reflect it's use
     new 70d8352  Merge pull request #8 from chrisdutz/develop
75754bd is described below

commit 75754bd03575bf6f6657487d810dfd5ba4c5e373
Author: Christofer Dutz <christofer.d...@c-ware.de>
AuthorDate: Tue Mar 24 07:28:24 2020 +0100

    - Added a previously existing profile back which is used by the ant 
releasesteps.xml script
    - Adjusted the profile-name to reflect it's use
---
 pom.xml          | 27 +++++++++++++++++++++++++++
 releasesteps.xml |  2 +-
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index ac3bbab..95ee7a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -279,6 +279,33 @@
       </build>
     </profile>
 
+    <!--
+      This profile is needed by the releasesteps.xml Ant script in order to 
know
+      where to deploy artifacts.
+    -->
+    <profile>
+      <id>_releasesteps-upload-release-to-staging</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <modules><!-- only run on top-level, not for each module -->
+      </modules>
+      <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>
+
     <!-- Make the release-plugin use the new reproducible build plugin 
extension -->
     <profile>
       <id>apache-release</id>
diff --git a/releasesteps.xml b/releasesteps.xml
index eceebd6..1cac341 100644
--- a/releasesteps.xml
+++ b/releasesteps.xml
@@ -334,7 +334,7 @@
             <arg value="-X" />
             <arg 
value="-Dwagon.fromDir=${artifactfolder}/artifacts/archive/target/local-release-dir"
 />
             <arg value="-P" />
-            <arg value="-main,upload-release-to-staging" />
+            <arg value="_releasesteps-upload-release-to-staging" />
         </exec>
     </target>
     

Reply via email to