jira-importer commented on issue #272:
URL: 
https://github.com/apache/maven-deploy-plugin/issues/272#issuecomment-2771520817

   **[Gabriel 
Dogaru](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gdogaru)** 
commented
   
   [04:41:21]: [INFO] [deploy:deploy {execution: default-deploy}]
   [04:41:21]: [INFO] No primary artifact to deploy, deploy attached artifacts 
instead.
   [04:41:21]: [INFO] Retrieving previous build number from snapshots_repo
   [04:41:21]: Uploading: 
file:////build/m2repository/snapshots/myapp/testutils/11.6-SNAPSHOT/testutils-11.6-20090902.084121-24.jar
   [04:41:21]: 78K uploaded (testutils-11.6-20090902.084121-24.jar)
   [04:41:21]: [INFO] Retrieving previous metadata from snapshots_repo
   [04:41:21]: [INFO] Uploading repository metadata for: 'artifact 
myapptestutils'
   [04:41:21]: [INFO] Retrieving previous metadata from snapshots_repo
   [04:41:21]: [INFO] Uploading repository metadata for: 'snapshot 
myapp:testutils:11.6-SNAPSHOT'
   [04:41:21]: [INFO] Retrieving previous build number from snapshots_repo
   [04:41:21]: Uploading: 
file:////build/m2repository/snapshots/myapp/testutils/11.6-SNAPSHOT/testutils-11.6-20090902.084121-25.resource
   [04:41:21]: 2K uploaded (testutils-11.6-20090902.084121-25.resource)
   [04:41:21]: [INFO] Retrieving previous metadata from snapshots_build
   [04:41:22]: [INFO] Uploading repository metadata for: 'artifact 
myapp:testutils'
   [04:41:22]: [INFO] Retrieving previous metadata from snapshots_repo
   [04:41:22]: [INFO] Uploading repository metadata for: 'snapshot 
myapp:testutils:11.6-SNAPSHOT'
   [04:41:22]: [INFO] 
------------------------------------------------------------------------
   [04:41:22]: [INFO] BUILD SUCCESSFUL
   
   I am using  project.addAttachedArtifact(artifact); in my mojo to attach the 
artifact
   
   Pom for distribution management:
   \<distributionManagement>
   \<repository>
   .........
   \</repository>
   \<snapshotRepository>
   \<id>snapshots_repo\</id>
   \<name>snapshots_repo\</name>
   \<url>file:////build/m2repository/snapshots\</url>
   \</snapshotRepository>
   \</distributionManagement>
   


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