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

   **[Frédéric 
Chuong](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=fiouz)** 
commented
   
   Please find attached an example project.
   
   When issuing "mvn -P local" (the "local" profile sets the classifier), no 
POM gets installed to the local repository:
   
   > [INFO] Scanning for projects...
   > [INFO] 
------------------------------------------------------------------------
   > [INFO] Building Maven classifier test
   > [INFO]    task-segment: [install]
   > [INFO] 
------------------------------------------------------------------------
   > [INFO] [resources:resources]
   > [INFO] Using default encoding to copy filtered resources.
   > [INFO] [compiler:compile]
   > [INFO] Nothing to compile - all classes are up to date
   > [INFO] [resources:testResources]
   > [INFO] Using default encoding to copy filtered resources.
   > [INFO] [compiler:testCompile]
   > [INFO] No sources to compile
   > [INFO] [surefire:test]
   > [INFO] No tests to run.
   > [INFO] [jar:jar]
   > [INFO] [install:install]
   > [INFO] **No primary artifact to install, installing attached artifacts 
instead.**
   > [INFO] **Installing [...]\target\foobar-b-1.0-SNAPSHOT-local.jar to 
[...]\foo\bar\B\foobar-b\1.0-SNAPSHOT\foobar-b-1.0-SNAPSHOT-local.jar**
   > [INFO] 
------------------------------------------------------------------------
   > [INFO] BUILD SUCCESSFUL
   > [INFO] 
------------------------------------------------------------------------
   
   


-- 
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