jira-importer commented on issue #306:
URL: 
https://github.com/apache/maven-install-plugin/issues/306#issuecomment-2771866633

   **[Robert 
Lieske](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=robert12345)**
 commented
   
   I might have tweaked the things a bit to fit my needs. ;)
   
   When I don't configure the maven-install-plugin and maven-deploy-plugin, the 
artifacts are renamed (as per your example):
   
   `[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ test1 ---`
   `[INFO] Installing D:\Workarea\sample\sample2\test1\target\blabla.jar to 
C:\Users\xxx\.m2\repository\test1\test1\1.0-SNAPSHOT\test1-1.0-SNAPSHOT.jar`
   `[INFO] Installing D:\Workarea\sample\sample2\test1\pom.xml to 
C:\Users\xxx\.m2\repository\test1\test1\1.0-SNAPSHOT\test1-1.0-SNAPSHOT.pom`
   `[INFO] Installing 
D:\Workarea\sample\sample2\test1\target\blabla-jar-with-dependencies.jar to 
C:\Users\xxx\.m2\repository\test1\test1\1.0-SNAPSHOT\test1-1.0-SNAPSHOT-jar-with-dependencies.jar`
   
   and consequently:
   
   `[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ test1 ---`
   `Uploading to snapshotRepository: 
http://xxx/repository/snapshots/test1/test1/1.0-SNAPSHOT/test1-1.0-20190211.100531-1.jar`
   `Uploading to snapshotRepository: 
http://xxx/repository/snapshots/test1/test1/1.0-SNAPSHOT/test1-1.0-20190211.100531-1.pom`
   `Uploading to snapshotRepository: 
http://xxx/repository/snapshots/test1/test1/1.0-SNAPSHOT/test1-1.0-20190211.100531-1-jar-with-dependencies.jar`
   
   To avoid the renaming, the plugins have to be configured.
   
   The old versions allow to configure everything as required. The new ones 
don't (i.e. behave different).
   
   I can just stick to the old versions (and leave a comment in my POM, why), 
as they work as I need them to.
   
   Regardless of my motivations / requirements: If you have a parameter named 
\<generatePom>, set to false, and still get a POM generated, installed and 
uploaded, this is not to be expected!
   


-- 
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-unsubscr...@maven.apache.org

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

Reply via email to