diff options
Diffstat (limited to 'tags/java/sca/1.3.2/itest/osgi-contribution/contribution-classes-v2/pom.xml')
-rw-r--r-- | tags/java/sca/1.3.2/itest/osgi-contribution/contribution-classes-v2/pom.xml | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/tags/java/sca/1.3.2/itest/osgi-contribution/contribution-classes-v2/pom.xml b/tags/java/sca/1.3.2/itest/osgi-contribution/contribution-classes-v2/pom.xml new file mode 100644 index 0000000000..e0aa83cb6a --- /dev/null +++ b/tags/java/sca/1.3.2/itest/osgi-contribution/contribution-classes-v2/pom.xml @@ -0,0 +1,211 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<project> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-itest</artifactId> + <version>1.3.2</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>itest-osgi-contribution-classes</artifactId> + <name>Apache Tuscany OSGi Contribution Version 1 classes</name> + +<dependencies> + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-host-embedded</artifactId> + <version>1.3.2</version> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-implementation-java-runtime</artifactId> + <version>1.3.2</version> + <scope>runtime</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-implementation-osgi</artifactId> + <version>1.3.2</version> + <scope>runtime</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-contribution-osgi</artifactId> + <version>1.3.2</version> + <scope>runtime</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-osgi-runtime</artifactId> + <version>1.3.2</version> + </dependency> + + + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.osgi.core</artifactId> + <version>1.0.1</version> + </dependency> + + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.2</version> + <scope>test</scope> + </dependency> + + </dependencies> + <build> + <finalName>itest-osgi-contribution-classes-v2</finalName> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.1</version> + + <dependencies> + <dependency> + <groupId>ant</groupId> + <artifactId>ant-trax</artifactId> + <version>1.6.5</version> + </dependency> + </dependencies> + + <executions> + <execution> + <id>create-bundles</id> + <phase>generate-test-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <ant antfile="./build-bundles.xml" target="create-bundles"> + <property name="jar.dir" value="target/classes" /> + <property name="files.dir" value="target/classes" /> + <property name="jar.file.name" value="CustomerV2.jar" /> + <property name="manifest.file.name" value="osgi/Customer.mf" /> + <property name="sca.contribution" value="customer-sca-contribution.xml" /> + <property name="files.list" + value="supplychain/customer/* \ + supplychain/OSGiBundleImpl.class \ + supplychain.composite \ + CustomerV2.componentType \ + RetailerV2.componentType \ + WarehouseV2.componentType \ + ShipperV2.componentType \ + META-INF/sca-contribution.xml" /> + + </ant> + <ant antfile="./build-bundles.xml" target="create-bundles"> + <property name="jar.dir" value="target/classes" /> + <property name="files.dir" value="target/classes" /> + <property name="jar.file.name" value="Customer2V2.jar" /> + <property name="manifest.file.name" value="osgi/Customer2.mf" /> + <property name="sca.contribution" value="customer-sca-contribution.xml" /> + <property name="files.list" + value="supplychain/customer/* \ + supplychain/OSGiBundleImpl.class \ + supplychain.composite \ + Customer2V2.componentType \ + RetailerV2.componentType \ + WarehouseV2.componentType \ + ShipperV2.componentType \ + META-INF/sca-contribution.xml" /> + + </ant> + <ant antfile="./build-bundles.xml" target="create-bundles"> + <property name="jar.dir" value="target/classes" /> + <property name="files.dir" value="target/classes" /> + <property name="jar.file.name" value="RetailerV2.jar" /> + <property name="manifest.file.name" value="osgi/Retailer.mf" /> + <property name="sca.contribution" value="retailer-sca-contribution.xml" /> + <property name="files.list" + value="supplychain/retailer/* \ + supplychain/OSGiBundleImpl.class \ + META-INF/sca-contribution.xml" /> + </ant> + <ant antfile="./build-bundles.xml" target="create-bundles"> + <property name="jar.dir" value="target/classes" /> + <property name="files.dir" value="target/classes" /> + <property name="jar.file.name" value="RetailerJarV2.jar" /> + <property name="manifest.file.name" value="osgi/RetailerJar.mf" /> + <property name="sca.contribution" value="retailer-sca-contribution.xml" /> + <property name="files.list" + value="supplychain/retailer/* \ + supplychain/OSGiBundleImpl.class \ + META-INF/sca-contribution.xml" /> + </ant> + <ant antfile="./build-bundles.xml" target="create-bundles"> + <property name="jar.dir" value="target/classes" /> + <property name="files.dir" value="target/classes" /> + <property name="jar.file.name" value="ShipperV2.jar" /> + <property name="manifest.file.name" value="osgi/Shipper.mf" /> + <property name="sca.contribution" value="shipper-sca-contribution.xml" /> + <property name="files.list" + value="supplychain/shipper/* \ + supplychain/OSGiBundleImpl.class \ + META-INF/sca-contribution.xml" /> + + </ant> + <ant antfile="./build-bundles.xml" target="create-bundles"> + <property name="jar.dir" value="target/classes" /> + <property name="files.dir" value="target/classes" /> + <property name="jar.file.name" value="WarehouseV2.jar" /> + <property name="manifest.file.name" value="osgi/Warehouse.mf" /> + <property name="sca.contribution" value="warehouse-sca-contribution.xml" /> + <property name="files.list" + value="supplychain/warehouse/* \ + supplychain/OSGiBundleImpl.class \ + META-INF/sca-contribution.xml" /> + </ant> + <ant antfile="./build-bundles.xml" target="create-bundles"> + <property name="jar.dir" value="target/classes" /> + <property name="files.dir" value="target/classes" /> + <property name="jar.file.name" value="SupplyChainV2.jar" /> + <property name="manifest.file.name" value="osgi/SupplyChain.mf" /> + <property name="sca.contribution" value="supplychain-sca-contribution.xml" /> + <property name="files.list" + value="supplychain/** \ + supplychain.composite \ + CustomerV2.componentType \ + RetailerV2.componentType \ + WarehouseV2.componentType \ + ShipperV2.componentType \ + CustomerV2.jar \ + RetailerV2.jar \ + WarehouseV2.jar \ + ShipperV2.jar \ + META-INF/sca-contribution.xml" /> + </ant> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> |