summaryrefslogtreecommitdiffstats
path: root/maven-plugins/trunk/maven-osgi-junit
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-17 17:44:38 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-17 17:44:38 +0000
commit4f079a591f452db08cd60a9f6adc4fa2ee1e49bc (patch)
tree16d95e43044a5222c35fa9174412923ee26dda5b /maven-plugins/trunk/maven-osgi-junit
parent560816351081765e0f11f353aee31939158f5ccf (diff)
Add tuscany-osgi-contribution to the dependency
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@795165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-plugins/trunk/maven-osgi-junit')
-rw-r--r--maven-plugins/trunk/maven-osgi-junit/src/main/java/org/apache/tuscany/maven/plugin/surefire/OSGiSurefirePlugin.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/maven-plugins/trunk/maven-osgi-junit/src/main/java/org/apache/tuscany/maven/plugin/surefire/OSGiSurefirePlugin.java b/maven-plugins/trunk/maven-osgi-junit/src/main/java/org/apache/tuscany/maven/plugin/surefire/OSGiSurefirePlugin.java
index 39d3096792..90e5911f42 100644
--- a/maven-plugins/trunk/maven-osgi-junit/src/main/java/org/apache/tuscany/maven/plugin/surefire/OSGiSurefirePlugin.java
+++ b/maven-plugins/trunk/maven-osgi-junit/src/main/java/org/apache/tuscany/maven/plugin/surefire/OSGiSurefirePlugin.java
@@ -587,13 +587,17 @@ public class OSGiSurefirePlugin extends AbstractMojo {
/*
* Add org.apache.tuscany.sca:tuscany-extensibility-osgi module
*/
- String aid = "tuscany-extensibility-equinox";
- Artifact ext = getArtifact("org.apache.tuscany.sca", aid);
+ Artifact ext = getArtifact("org.apache.tuscany.sca", "tuscany-extensibility-equinox");
if (log.isDebugEnabled()) {
log.debug("Adding: " + ext);
}
jarFiles.add(ext.getFile().getAbsolutePath());
+ Artifact con = getArtifact("org.apache.tuscany.sca", "tuscany-contribution-osgi");
+ if (log.isDebugEnabled()) {
+ log.debug("Adding: " + con);
+ }
+ jarFiles.add(con.getFile().getAbsolutePath());
String name = project.getBuild().getFinalName();
String mainBundleName = null;