diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-16 18:26:32 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-16 18:26:32 +0000 |
commit | 086364743835720c6638a6426e11701796e76ca0 (patch) | |
tree | 4b317dcc9be2026cf9b2084c1ca26d24ac14b9a3 /java/sca/tools/maven | |
parent | cad57e4f97ad5afd5f6e06664e97281e5aa7a77c (diff) |
Ignore pom dependencies when the bundles are created
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@735078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/tools/maven')
-rw-r--r-- | java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java b/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java index 386120d3f8..d301134153 100644 --- a/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java +++ b/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java @@ -209,6 +209,10 @@ public class OSGiJUnitMojo extends AbstractMojo { Set<URL> jarFiles = new HashSet<URL>(); for (Object o : project.getArtifacts()) { Artifact a = (Artifact)o; + if ("pom".equals(a.getType())) { + // Skip pom projects + continue; + } try { if (log.isDebugEnabled()) { log.debug("Adding: " + a); |