You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2019/03/15 13:21:21 UTC
[incubator-netbeans-mavenutils] branch master updated: artefact
parent group id must be set
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/incubator-netbeans-mavenutils.git
The following commit(s) were added to refs/heads/master by this push:
new 08d583a artefact parent group id must be set
08d583a is described below
commit 08d583af7d355f3309f2f0d32596bedac504b77a
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Fri Mar 15 14:21:11 2019 +0100
artefact parent group id must be set
---
.../java/org/netbeans/nbm/repository/PopulateRepositoryMojo.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/nb-repository-plugin/src/main/java/org/netbeans/nbm/repository/PopulateRepositoryMojo.java b/nb-repository-plugin/src/main/java/org/netbeans/nbm/repository/PopulateRepositoryMojo.java
index 08cca3b..1cbdb17 100644
--- a/nb-repository-plugin/src/main/java/org/netbeans/nbm/repository/PopulateRepositoryMojo.java
+++ b/nb-repository-plugin/src/main/java/org/netbeans/nbm/repository/PopulateRepositoryMojo.java
@@ -277,7 +277,7 @@ public class PopulateRepositoryMojo
// parent handler in case we have one
private Parent artefactParent = null;
-
+
@Override
public void execute()
throws MojoExecutionException
@@ -285,7 +285,7 @@ public class PopulateRepositoryMojo
getLog().info( "Populate repository with NetBeans modules" );
Project antProject = antProject();
ArtifactRepository deploymentRepository = null;
-
+
if (parentGAV != null)
{
// populate artefactParent
@@ -295,11 +295,11 @@ public class PopulateRepositoryMojo
throw new MojoExecutionException(
"parentGAV should respect the following format groupId:artefactId:version" );
}
- artefactParent.setArtifactId( split[0] );
+ artefactParent.setGroupId( split[0] );
artefactParent.setArtifactId( split[1] );
artefactParent.setVersion( split[2] );
}
-
+
if ( deployUrl != null )
{
ArtifactRepositoryLayout layout = new DefaultRepositoryLayout();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists