[maven-deploy-plugin] branch MDEPLOY-247 updated (623ac80 -> 4b1a992)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven-deploy-plugin] branch MDEPLOY-247 updated (623ac80 -> 4b1a992)

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

khmarbaise pushed a change to branch MDEPLOY-247
in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git.


 discard 623ac80  [MDEPLOY-247] - Version 3.0.0-M1 breaks deploy using alt*DeploymentRepository with old syntax on Windows  - Enhanced docs
     add 539fcc7  [MDEPLOY-245] - Remove the remnants of the obsolete `updateReleaseInfo` parameter.
     new 4b1a992  [MDEPLOY-247] - Version 3.0.0-M1 breaks deploy using alt*DeploymentRepository with old syntax on Windows  - Enhanced docs

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (623ac80)
            \
             N -- N -- N   refs/heads/MDEPLOY-247 (4b1a992)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/it/3rd-party-jar-with-extras/test.properties | 1 -
 src/it/3rd-party-jar-without-pom/test.properties | 1 -
 src/it/3rd-party-pom-with-extras/test.properties | 1 -
 src/it/attach-release-jar/pom.xml                | 1 -
 src/it/external-release-jar/test.properties      | 1 -
 src/it/release-jar/pom.xml                       | 1 -
 src/it/release-pom/pom.xml                       | 1 -
 7 files changed, 7 deletions(-)

Reply | Threaded
Open this post in threaded view
|

[maven-deploy-plugin] 01/01: [MDEPLOY-247] - Version 3.0.0-M1 breaks deploy using alt*DeploymentRepository with old syntax on Windows - Enhanced docs

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

khmarbaise pushed a commit to branch MDEPLOY-247
in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git

commit 4b1a9920808a6d34c844c7f932118c9200c32543
Author: Karl Heinz Marbaise <[hidden email]>
AuthorDate: Sun Mar 10 23:42:45 2019 +0100

    [MDEPLOY-247] - Version 3.0.0-M1 breaks deploy using alt*DeploymentRepository with old syntax on Windows
     - Enhanced docs
---
 src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java | 10 ++++++++--
 src/site/apt/index.apt.vm                                     | 11 ++++++++++-
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java b/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java
index 75918ac..5953d6e 100644
--- a/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java
+++ b/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java
@@ -101,7 +101,10 @@ public class DeployMojo
 
     /**
      * The alternative repository to use when the project has a snapshot version.
-     *
+     *
+     * <b>Note:</b> In version 2, the format was <code>id::layout::url</code>, but since 3.0.0 the layout part has been
+     * removed because Maven 3 only supports <code>default</code> (ie. Maven 2) layout and not <code>legacy</code>
+     * (Maven 1) layout.</b>
      * @since 2.8
      * @see DeployMojo#altDeploymentRepository
      */
@@ -110,7 +113,10 @@ public class DeployMojo
 
     /**
      * The alternative repository to use when the project has a final version.
-     *
+     *
+     * <b>Note:</b> In version 2, the format was <code>id::layout::url</code>, but since 3.0.0 the layout part has been
+     * removed because Maven 3 only supports <code>default</code> (ie. Maven 2) layout and not <code>legacy</code>
+     * (Maven 1) layout.</b>
      * @since 2.8
      * @see DeployMojo#altDeploymentRepository
      */
diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index c91364d..a23f6a0 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -80,7 +80,16 @@ ${project.name}
   Please note that the following parameter has been completely removed from the plugin configuration:
 
   * uniqueVersion
-  
+
+  * The syntax of the following parameters for the plugin has been changed:
+
+    * altDeploymentRepository
+    * altReleaseDeploymentRepository
+    * altSnapshotDeploymentRepository
+
+    The old format was: <<<id::layout::url>>>
+    The new format is:  <<<id::url>>>
+
   []
 
   As of Maven 3, snapshot artifacts will always be deployed using a timestamped version.