netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sk...@apache.org
Subject [netbeans-mavenutils-nbm-maven-plugin] 09/13: Look for bootstrap in org.apache.netbeans groupId
Date Thu, 09 May 2019 12:58:10 GMT
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

commit 09f63584ff2c94454dec657ca1424cdd91ed2061
Author: Eric Barboni <skygo@apache.org>
AuthorDate: Sat Mar 16 16:09:26 2019 +0100

    Look for bootstrap in org.apache.netbeans groupId
---
 .../src/main/java/org/netbeans/nbm/CreateClusterAppMojo.java            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nbm-maven-plugin/src/main/java/org/netbeans/nbm/CreateClusterAppMojo.java b/nbm-maven-plugin/src/main/java/org/netbeans/nbm/CreateClusterAppMojo.java
index 1c7f1ed..e4e39c5 100644
--- a/nbm-maven-plugin/src/main/java/org/netbeans/nbm/CreateClusterAppMojo.java
+++ b/nbm-maven-plugin/src/main/java/org/netbeans/nbm/CreateClusterAppMojo.java
@@ -945,7 +945,7 @@ public class CreateClusterAppMojo
         Set<Artifact> artifacts = project.getArtifacts();
         String version = null;
         for (Artifact a : artifacts) {
-            if ("org.netbeans.modules".equals(a.getGroupId()) && "org-netbeans-bootstrap".equals(a.getArtifactId()))
{
+            if (( "org.apache.netbeans.modules".equals(a.getGroupId()) || "org.netbeans.modules".equals(a.getGroupId()))
&& "org-netbeans-bootstrap".equals(a.getArtifactId())) {
                 version = a.getBaseVersion(); //base version in non-snapshot should equals
version, in snapshots to X-SNAPSHOT, not timestamp
                 break;
             }


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


Mime
View raw message