You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jira-importer (via GitHub)" <gi...@apache.org> on 2025/04/02 06:57:04 UTC

[I] [MDEPLOY-152] updateReleaseInfo for deploy-file does not work with Maven 3 [maven-deploy-plugin]

jira-importer opened a new issue, #162:
URL: https://github.com/apache/maven-deploy-plugin/issues/162

   **[Ivan Sopov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=isopov)** opened **[MDEPLOY-152](https://issues.apache.org/jira/browse/MDEPLOY-152?redirect=false)** and commented
   
   When deploying file with `-DupdateReleaseInfo=true` with maven3 `<release></release>` tag is not updated/created, but with maven2 everything is good. Here is the full log:
   
   ```
   $mvn -version
   	Apache Maven 3.0.4 (r1232337; 2012-01-17 10:44:56+0200)
   	Maven home: /home/user/java/apache-maven-3.0.4
   	Java version: 1.7.0_04, vendor: Oracle Corporation
   	Java home: /opt/jdk1.7.0_04/jre
   	Default locale: en_US, platform encoding: UTF-8
   	OS name: "linux", version: "2.6.32-40-generic-pae", arch: "i386", family: "unix"
   
   $mvn -e -DupdateReleaseInfo=true org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file -Durl=file:///home/user/test/ldClientDeployTest/repository -Dfile=/home/user/java/workspace/testing/mvnDeployFileIssue/test-proj/target/test-proj-1.0-SNAPSHOT.jar -DpomFile=/home/user/java/workspace/testing/mvnDeployFileIssue/test-proj/pom.xml -Dpackaging=jar
   
   $cat /home/user/test/ldClientDeployTest/repository/com/example/test-proj/maven-metadata.xml 
   	<?xml version="1.0" encoding="UTF-8"?>
   	<metadata>
   	  <groupId>com.example</groupId>
   	  <artifactId>test-proj</artifactId>
   	  <versioning>
   	    <versions>
   	      <version>1.0-SNAPSHOT</version>
   	    </versions>
   	    <lastUpdated>20120702111039</lastUpdated>
   	  </versioning>
   	</metadata>
   $M2_HOME=/home/user/java/apache-maven-2.2.1/
   $PATH=$M2_HOME/bin:$PATH
   $mvn -version
   	Apache Maven 2.2.1 (r801777; 2009-08-06 22:16:01+0300)
   	Java version: 1.7.0_04
   	Java home: /opt/jdk1.7.0_04/jre
   	Default locale: en_US, platform encoding: UTF-8
   	OS name: "linux" version: "2.6.32-40-generic-pae" arch: "i386" Family: "unix"
   
   $cat /home/user/test/ldClientDeployTest/repository/com/example/test-proj/maven-metadata.xml 
   	<?xml version="1.0" encoding="UTF-8"?>
   	<metadata>
   	  <groupId>com.example</groupId>
   	  <artifactId>test-proj</artifactId>
   	  <versioning>
   	    <release>1.0-SNAPSHOT</release>
   	    <versions>
   	      <version>1.0-SNAPSHOT</version>
   	    </versions>
   	    <lastUpdated>20120702111359</lastUpdated>
   	  </versioning>
   	</metadata>
   ```
   
   
   
   ---
   
   **Affects:** 2.7
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [MDEPLOY-152] updateReleaseInfo for deploy-file does not work with Maven 3 [maven-deploy-plugin]

Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #162:
URL: https://github.com/apache/maven-deploy-plugin/issues/162#issuecomment-2771511491

   **[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** commented
   
   No feedback received.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [MDEPLOY-152] updateReleaseInfo for deploy-file does not work with Maven 3 [maven-deploy-plugin]

Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #162:
URL: https://github.com/apache/maven-deploy-plugin/issues/162#issuecomment-2771511488

   **[Karl Heinz Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise)** commented
   
   Is this still true with the current version of maven-deploy-plugin (version 2.8.2 ?) ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [MDEPLOY-152] updateReleaseInfo for deploy-file does not work with Maven 3 [maven-deploy-plugin]

Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #162:
URL: https://github.com/apache/maven-deploy-plugin/issues/162#issuecomment-2771511481

   **[Paresh Khond](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=parekh)** commented
   
   updateReleaseInfo for deploy-file does not work with Maven 3
   
   [DEBUG]   (f) offline = false
   [DEBUG]   (f) packaging = txt
   [DEBUG]   (f) repositoryId = nexus.repo
   [DEBUG]   (f) repositoryLayout = default
   [DEBUG]   (f) uniqueVersion = true
   [DEBUG]   (f) updateReleaseInfo = false
   
   \<release>1.0.4\</release>
   
   \<lastUpdated>20160817143735\</lastUpdated>
   
   Trying to set this as part of mvn deploy:deploy-file -DupdateReleaseInfo=false - but still updating the releaseinfo in maven-metadata.xml
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org