]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.repo/src/org/argeo/slc/repo/osgi/BndWrapper.java
Merge repo.cnd into slc.cnd.
[gpl/argeo-slc.git] / org.argeo.slc.repo / src / org / argeo / slc / repo / osgi / BndWrapper.java
index fce521181686c1cf604e3383ae2a675c9bc39fe4..17bdbe11772ab1a71a40d82d8e533b3a36175bee 100644 (file)
@@ -13,9 +13,9 @@ import org.argeo.slc.CategorizedNameVersion;
 import org.argeo.slc.SlcException;
 import org.argeo.slc.build.Distribution;
 import org.argeo.slc.build.License;
+import org.eclipse.aether.artifact.Artifact;
+import org.eclipse.aether.artifact.DefaultArtifact;
 import org.osgi.framework.Version;
-import org.sonatype.aether.artifact.Artifact;
-import org.sonatype.aether.util.artifact.DefaultArtifact;
 import org.springframework.beans.factory.BeanNameAware;
 
 import aQute.lib.osgi.Builder;
@@ -182,8 +182,9 @@ public class BndWrapper implements Constants, CategorizedNameVersion,
                if (this.name == null) {
                        this.name = name;
                } else {
-                       log.warn("Using explicitely set name " + this.name
-                                       + " and not bean name " + name);
+                       if (!name.contains("#"))
+                               log.warn("Using explicitely set name " + this.name
+                                               + " and not bean name " + name);
                }
        }