summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java b/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java
index fcc7bf271c..edfff43cb1 100644
--- a/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java
+++ b/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java
@@ -275,12 +275,12 @@ public class ModuleBundlesBuildMojo extends AbstractMojo {
Artifact artifact = (Artifact)o;
if ("pom".equals(artifact.getType()) && artifact.getGroupId().equals(project.getGroupId())
&& artifact.getArtifactId().startsWith("tuscany-distribution-")) {
- log.info("Sub-distribution: " + artifact);
+ log.info("Dependent distribution: " + artifact);
MavenProject pomProject =
mavenProjectBuilder.buildFromRepository(artifact, this.remoteRepos, this.local);
if (pomProject.getDependencyArtifacts() == null) {
pomProject
- .setDependencyArtifacts(project
+ .setDependencyArtifacts(pomProject
.createArtifacts(factory,
Artifact.SCOPE_TEST,
new ScopeArtifactFilter(Artifact.SCOPE_TEST)));
@@ -293,6 +293,7 @@ public class ModuleBundlesBuildMojo extends AbstractMojo {
artifactMetadataSource);
pomProject.setArtifacts(result.getArtifacts());
poms.add(pomProject);
+ // log.info(pomProject.getArtifactMap().toString());
}
}