diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-03 22:00:11 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-03 22:00:11 +0000 |
commit | 167a9fe3f1194bd996e739dd4a1c8b2df7df30d0 (patch) | |
tree | 7f946753196b83e24db06ecaed4c3ade67531089 /java | |
parent | 60b20572d5b6a74dcb34e5a18cf36175557b576d (diff) |
Make it work with the features
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@740472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java | 8 |
1 files changed, 4 insertions, 4 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 365052f148..a5f70cf2da 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 @@ -320,7 +320,7 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { for (Object o : project.getArtifacts()) { Artifact artifact = (Artifact)o; if ("pom".equals(artifact.getType()) && artifact.getGroupId().equals(project.getGroupId()) - && artifact.getArtifactId().startsWith("tuscany-distribution-")) { + && artifact.getArtifactId().startsWith("tuscany-feature-")) { log.info("Dependent distribution: " + artifact); MavenProject pomProject = buildProject(artifact); poms.add(pomProject); @@ -696,13 +696,13 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { } /** - * Convert tuscany-distribution-xyz to feature-xyz + * Convert tuscany-feature-xyz to feature-xyz * @param artifactId * @return */ private String trim(String artifactId) { - if (artifactId.startsWith("tuscany-distribution-")) { - return artifactId.substring("tuscany-distribution-".length()); + if (artifactId.startsWith("tuscany-feature-")) { + return artifactId.substring("tuscany-feature-".length()); } else { return artifactId; } |