diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-23 01:16:21 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-23 01:16:21 +0000 |
commit | 4b442d1b9d31f97b34c539ce81a61026bac03f95 (patch) | |
tree | 407a4f64309d899368dd46bf47f034977500a87b /java/sca/tools/maven | |
parent | 4b8ec6af2730f1e99294cee271ef0826cdea01e4 (diff) |
Use the pom project to create artifacts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@736879 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/tools/maven')
-rw-r--r-- | java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java | 5 |
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()); } } |