]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/NormalizeGroup.java
Change workspace names
[gpl/argeo-slc.git] / runtime / org.argeo.slc.repo / src / main / java / org / argeo / slc / repo / osgi / NormalizeGroup.java
index 144c15987f6e6f9c3a5cb6f3927757f6a690f3f6..347e79be9917c2a13fc464060d75dc90828ae42a 100644 (file)
@@ -59,8 +59,8 @@ public class NormalizeGroup implements Runnable, SlcNames {
        private String workspace;
        private String groupId;
        private String artifactBasePath = "/";
-       private String version = null;// = "1.3.0";
-       private String parentPomCoordinates;// = "org.argeo:parent:1.3.0";
+       private String version = null;
+       private String parentPomCoordinates;
 
        private List<String> excludedSuffixes = new ArrayList<String>();
 
@@ -206,6 +206,9 @@ public class NormalizeGroup implements Runnable, SlcNames {
                                return;// skip adding to binaries
                }
                binaries.add(RepoUtils.asArtifact(bundleNode));
+
+               if (bundleNode.getSession().hasPendingChanges())
+                       bundleNode.getSession().save();
        }
 
        protected void processBundleArtifact(Node bundleNode)