summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-14 14:58:28 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-14 14:58:28 +0000
commit497061f37df256d59ac946a542a57de08ce4f4d4 (patch)
treedd904ef78db571ab56dfff4088202546386f2f3c
parentb49ce23830c51b00531f148f5ccda608f4c7b700 (diff)
Commit examples of using optional dependencies to generate fully populated aggregations but without passing on transitive maven dependencies.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1022564 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/distribution/aggregations/base-runtime-aggregation/pom.xml7
-rw-r--r--sca-java-2.x/trunk/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml1
-rw-r--r--sca-java-2.x/trunk/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml1
3 files changed, 9 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/distribution/aggregations/base-runtime-aggregation/pom.xml b/sca-java-2.x/trunk/distribution/aggregations/base-runtime-aggregation/pom.xml
index 68869a4120..8b68f8a102 100644
--- a/sca-java-2.x/trunk/distribution/aggregations/base-runtime-aggregation/pom.xml
+++ b/sca-java-2.x/trunk/distribution/aggregations/base-runtime-aggregation/pom.xml
@@ -47,6 +47,13 @@
<artifactId>tuscany-base-runtime-pom</artifactId>
<version>${pom.version}</version>
<type>pom</type>
+ <optional>true</optional>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>
diff --git a/sca-java-2.x/trunk/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml b/sca-java-2.x/trunk/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml
index 4048ca58f7..468bee8455 100644
--- a/sca-java-2.x/trunk/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml
+++ b/sca-java-2.x/trunk/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml
@@ -35,6 +35,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
<version>${pom.version}</version>
+ <optional>true</optional>
</dependency>
</dependencies>
diff --git a/sca-java-2.x/trunk/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml b/sca-java-2.x/trunk/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml
index b2dabc60d9..33c7466a1b 100644
--- a/sca-java-2.x/trunk/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml
+++ b/sca-java-2.x/trunk/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml
@@ -35,6 +35,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
<version>${pom.version}</version>
+ <optional>true</optional>
</dependency>
</dependencies>