This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 0e20e57 add pom to the deployed artifacts new ba9a057 Merge pull request #122 from ebarboni/deploypom 0e20e57 is described below commit 0e20e5710a388ba6830edeb22ba2df6adb0b88db Author: Eric Barboni <sk...@apache.org> AuthorDate: Mon Nov 27 14:15:47 2023 +0100 add pom to the deployed artifacts --- .../org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nb-repository-plugin/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java b/nb-repository-plugin/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java index 020bd83..bd931ed 100644 --- a/nb-repository-plugin/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java +++ b/nb-repository-plugin/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java @@ -586,6 +586,10 @@ public class PopulateRepositoryMojo deployRequest.setRepository(deploymentRepository); deployRequest.setTrace( RequestTrace.newChild( null, "nb-repository-plugin" ) ); deployRequest.addArtifact( art.setFile( moduleJarMinusCP != null ? moduleJarMinusCP : moduleJar ) ); + if ( pom !=null ) + { + deployRequest.addArtifact( pomArt.setFile( pom ) ); + } if ( javadoc != null ) { deployRequest.addArtifact( javadocArt.setFile( javadoc ) ); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists