summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/sca/modules/pom.xml2
-rw-r--r--java/sca/tools/maven/maven-tuscany-bundle-plugin/pom.xml2
-rw-r--r--java/sca/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/TuscanyBundlePluginMojo.java9
3 files changed, 10 insertions, 3 deletions
diff --git a/java/sca/modules/pom.xml b/java/sca/modules/pom.xml
index 032f152fec..aaceb5af70 100644
--- a/java/sca/modules/pom.xml
+++ b/java/sca/modules/pom.xml
@@ -214,7 +214,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.4.0</version>
+ <version>1.4.3</version>
<extensions>true</extensions>
<executions>
<execution>
diff --git a/java/sca/tools/maven/maven-tuscany-bundle-plugin/pom.xml b/java/sca/tools/maven/maven-tuscany-bundle-plugin/pom.xml
index b7eec4f2aa..c6e972f044 100644
--- a/java/sca/tools/maven/maven-tuscany-bundle-plugin/pom.xml
+++ b/java/sca/tools/maven/maven-tuscany-bundle-plugin/pom.xml
@@ -69,7 +69,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.4.1</version>
+ <version>1.4.3</version>
</dependency>
diff --git a/java/sca/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/TuscanyBundlePluginMojo.java b/java/sca/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/TuscanyBundlePluginMojo.java
index 726188a5d5..0e23593d13 100644
--- a/java/sca/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/TuscanyBundlePluginMojo.java
+++ b/java/sca/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/TuscanyBundlePluginMojo.java
@@ -296,7 +296,14 @@ public class TuscanyBundlePluginMojo extends BundleAllPlugin {
artifact.setFile(getFile( artifact ));
- MavenProject bundleProject = mavenProjectBuilder.buildFromRepository(artifact, remoteRepositories, localRepository, true);
+ MavenProject bundleProject;
+ try {
+ bundleProject =
+ mavenProjectBuilder.buildFromRepository(artifact, remoteRepositories, localRepository, true);
+ } catch (Exception e) {
+ getLog().error(e);
+ continue;
+ }
bundleProject.setArtifact(artifact);
if ( bundleProject.getDependencyArtifacts() == null ) {