| <?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-demos</artifactId> |
| <version>1.7-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>demo-alert-aggregator-webapp</artifactId> |
| <packaging>war</packaging> |
| <version>1.7-SNAPSHOT</version> |
| <name>Apache Tuscany SCA Demo Alert Aggregator</name> |
| <url>http://cwiki.apache.org/TUSCANY</url> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>httpunit</groupId> |
| <artifactId>httpunit</artifactId> |
| <version>1.6.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sdo</groupId> |
| <artifactId>tuscany-sdo-api-r2.1</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sdo</groupId> |
| <artifactId>tuscany-sdo-impl</artifactId> |
| <version>1.1.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>backport-util-concurrent</groupId> |
| <artifactId>backport-util-concurrent</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>backport-util-concurrent</groupId> |
| <artifactId>backport-util-concurrent</artifactId> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-binding-ws-axis2</artifactId> |
| <version>${pom.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-core-databinding</artifactId> |
| <version>${pom.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-databinding-jaxb</artifactId> |
| <version>${pom.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-databinding-sdo</artifactId> |
| <version>${pom.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-databinding-axiom</artifactId> |
| <version>${pom.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-host-embedded</artifactId> |
| <version>${pom.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-implementation-java-runtime</artifactId> |
| <version>${pom.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-interface-java-xml</artifactId> |
| <version>${pom.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-host-webapp</artifactId> |
| <version>1.7-SNAPSHOT</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-binding-jsonrpc-runtime</artifactId> |
| <version>1.7-SNAPSHOT</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-binding-atom-abdera</artifactId> |
| <version>1.7-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-binding-rss-rome</artifactId> |
| <version>1.7-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.woodstox</groupId> |
| <artifactId>wstx-asl</artifactId> |
| <version>3.2.1</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.dojotoolkit</groupId> |
| <artifactId>dojo</artifactId> |
| <version>1.3.0</version> |
| <type>zip</type> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>demo-alert-aggregator-webapp</finalName> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <id>add-test-source</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-test-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>target/sdo-source</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tuscany.sdo</groupId> |
| <artifactId>tuscany-sdo-plugin</artifactId> |
| <version>1.1.1</version> |
| <executions> |
| <execution> |
| <id>generate-sdo</id> |
| <phase>generate-sources</phase> |
| <configuration> |
| <schemaFiles> |
| <configuration> |
| <fileName>${basedir}/src/main/resources/Alerts.wsdl</fileName> |
| <javaPackage>org.apache.tuscany.sca.demos.aggregator.service</javaPackage> |
| </configuration> |
| <configuration> |
| <fileName>${basedir}/src/main/resources/AlertsSources.wsdl</fileName> |
| <javaPackage>org.apache.tuscany.sca.demos.aggregator.sources</javaPackage> |
| </configuration> |
| <configuration> |
| <fileName>${basedir}/src/main/resources/Alerts.xsd</fileName> |
| <javaPackage>org.apache.tuscany.sca.demos.aggregator.types</javaPackage> |
| </configuration> |
| </schemaFiles> |
| <noNotification>true</noNotification> |
| <noContainment>true</noContainment> |
| <noUnsettable>true</noUnsettable> |
| </configuration> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <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>copy-dojo-files</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <ant antfile="./build-dojo.xml" target="unpack-dojo-files"> |
| <property name="localRepository" value="${settings.localRepository}"/> |
| <property name="artifactId" value="${artifactId}"/> |
| </ant> |
| </tasks> |
| </configuration> |
| </execution> |
| <execution> |
| <id>clean-dojo-files</id> |
| <phase>package</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <ant antfile="./build-dojo.xml" target="clean-dojo-files"> |
| <property name="localRepository" value="${settings.localRepository}"/> |
| <property name="artifactId" value="${artifactId}"/> |
| </ant> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <!-- |
| <configuration> |
| <excludes> |
| <exclude>**/AlertsTestCase.java</exclude> |
| </excludes> |
| </configuration> |
| --> |
| <executions> |
| <execution> |
| <id>surefire-it</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include>**/*AlertsIntegrationTest.java</include> |
| </includes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.cargo</groupId> |
| <artifactId>cargo-maven2-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <id>start-container</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>start</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>stop-container</id> |
| <phase>post-integration-test</phase> |
| <goals> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <container> |
| <containerId>jetty6x</containerId> |
| <type>embedded</type> |
| <systemProperties> |
| <org.apache.commons.logging.Log>org.apache.commons.logging.impl.SimpleLog</org.apache.commons.logging.Log> |
| </systemProperties> |
| </container> |
| <wait>false</wait> |
| <configuration> |
| <properties> |
| <cargo.servlet.port>8085</cargo.servlet.port> |
| </properties> |
| <deployables> |
| <deployable> |
| <location> |
| ${project.build.directory}/${project.build.finalName}.${project.packaging} |
| </location> |
| <pingURL>http://localhost:8085/AlertsSourcesServiceJSONRPC</pingURL> |
| </deployable> |
| </deployables> |
| <home>${project.build.directory}/cargo-jetty</home> |
| </configuration> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-maven-ant-generator</artifactId> |
| <version>1.7-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <configuration> |
| <buildDependencyFileOnly>true</buildDependencyFileOnly> |
| </configuration> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |