You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
174 lines
4.9 KiB
174 lines
4.9 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.steve.research</groupId>
|
|
<artifactId>camel-cxf-maven-example</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<!-- <camel.version>2.14.1</camel.version> -->
|
|
<!-- <cxf.version>3.0.2</cxf.version> -->
|
|
<!-- <spring.version>3.1.0.RELEASE</spring.version> -->
|
|
<log4j.version>1.2.12</log4j.version>
|
|
<slf4j.version>1.6.4</slf4j.version>
|
|
<camel.version>2.17.0.redhat-630187</camel.version>
|
|
<cxf.version>3.1.5.redhat-630187</cxf.version>
|
|
<activemq.camel.version>5.11.0.redhat-630187</activemq.camel.version>
|
|
<spring.version>3.2.16.RELEASE</spring.version>
|
|
<cxf.codegen.version>3.1.5.redhat-630187</cxf.codegen.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- camel -->
|
|
<dependency>
|
|
<groupId>org.apache.camel</groupId>
|
|
<artifactId>camel-core</artifactId>
|
|
<version>${camel.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.camel</groupId>
|
|
<artifactId>camel-cxf</artifactId>
|
|
<version>${camel.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http-jetty</artifactId>
|
|
<version>${cxf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<!-- logging -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- test -->
|
|
<dependency>
|
|
<groupId>org.apache.camel</groupId>
|
|
<artifactId>camel-test</artifactId>
|
|
<version>${camel.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<repositories>
|
|
<repository>
|
|
<id>red-hat-ga</id>
|
|
<url>https://maven.repository.redhat.com/ga</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>Fuse - repo</id>
|
|
<url>http://repo.fusesource.com/nexus/content/groups/public/</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>Apache Snapshot</id>
|
|
<url>http://repository.apache.org/snapshots/</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>central</id>
|
|
<name>Central Repository</name>
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
<layout>default</layout>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<updatePolicy>never</updatePolicy>
|
|
</releases>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>red-hat-ga</id>
|
|
<url>https://maven.repository.redhat.com/ga</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<build>
|
|
<defaultGoal>clean install</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-codegen-plugin</artifactId>
|
|
<!-- <version>2.6.0.fuse-71-047</version> -->
|
|
<version>${cxf.codegen.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsdl2java</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceRoot>${basedir}/src/main/generated</sourceRoot>
|
|
<wsdlOptions>
|
|
<wsdlOption>
|
|
<wsdl>${basedir}/src/main/resources/wsdl/HelloService.wsdl</wsdl>
|
|
</wsdlOption>
|
|
</wsdlOptions>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>test</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>${basedir}/src/main/generated</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>2.4.1</version>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>${basedir}/src/main/generated</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|