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-harness.git

commit 09f63584ff2c94454dec657ca1424cdd91ed2061
Author: Eric Barboni <sk...@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-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

Reply via email to