1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4    <modelVersion>4.0.0</modelVersion>
5    <groupId>perl.soap.wsdl</groupId>
6    <artifactId>cxf-test</artifactId>
7    <version>1.0.0</version>
8    <properties>
9        <cxf.version>2.1.4</cxf.version>
10    </properties>
11    <dependencies>
12        <!--
13            Depending on your requirements you may need more or fewer modules
14            from cxf
15        --><!--
16        <dependency>
17             <groupId>org.apache.cxf</groupId>
18             <artifactId>cxf-api</artifactId>
19             <version>${cxf.version}</version>
20            <exclusions>
21                <exclusion>
22                    <artifactId>spring-core</artifactId>
23                    <groupId>org.springframework</groupId>
24                </exclusion>
25                <exclusion>
26                    <artifactId>spring-beans</artifactId>
27                    <groupId>org.springframework</groupId>
28                </exclusion>
29                <exclusion>
30                    <artifactId>spring-context</artifactId>
31                    <groupId>org.springframework</groupId>
32                </exclusion>
33            </exclusions>
34         </dependency>
35
36         <dependency>
37             <groupId>org.apache.cxf</groupId>
38             <artifactId>cxf-common-utilities</artifactId>
39             <version>${cxf.version}</version>
40                         <exclusions>
41                <exclusion>
42                    <artifactId>spring-core</artifactId>
43                    <groupId>org.springframework</groupId>
44                </exclusion>
45                <exclusion>
46                    <artifactId>spring-beans</artifactId>
47                    <groupId>org.springframework</groupId>
48                </exclusion>
49                <exclusion>
50                    <artifactId>spring-context</artifactId>
51                    <groupId>org.springframework</groupId>
52                </exclusion>
53            </exclusions>
54         </dependency>
55        -->
56        <dependency>
57            <groupId>org.apache.cxf</groupId>
58            <artifactId>cxf-rt-frontend-jaxws</artifactId>
59            <version>${cxf.version}</version>
60            <exclusions>
61                <exclusion>
62                    <artifactId>spring-core</artifactId>
63                    <groupId>org.springframework</groupId>
64                </exclusion>
65                <exclusion>
66                    <artifactId>spring-beans</artifactId>
67                    <groupId>org.springframework</groupId>
68                </exclusion>
69                <exclusion>
70                    <artifactId>spring-context</artifactId>
71                    <groupId>org.springframework</groupId>
72                </exclusion>
73            </exclusions>
74        </dependency>
75        <dependency>
76            <groupId>org.apache.cxf</groupId>
77            <artifactId>cxf-rt-transports-http</artifactId>
78            <version>${cxf.version}</version>
79            <exclusions>
80                <exclusion>
81                    <artifactId>spring-core</artifactId>
82                    <groupId>org.springframework</groupId>
83                </exclusion>
84                <exclusion>
85                    <artifactId>spring-beans</artifactId>
86                    <groupId>org.springframework</groupId>
87                </exclusion>
88                <exclusion>
89                    <artifactId>spring-context</artifactId>
90                    <groupId>org.springframework</groupId>
91                </exclusion>
92                <exclusion>
93                    <artifactId>spring-web</artifactId>
94                    <groupId>org.springframework</groupId>
95                </exclusion>
96            </exclusions>
97        </dependency>
98        <dependency>
99            <groupId>junit</groupId>
100            <artifactId>junit</artifactId>
101            <version>4.4</version>
102            <scope>test</scope>
103        </dependency>
104        <dependency>
105            <groupId>org.springframework</groupId>
106            <artifactId>org.springframework.core</artifactId>
107            <version>2.5.6.A</version>
108        </dependency>
109        <dependency>
110            <groupId>org.springframework</groupId>
111            <artifactId>org.springframework.beans</artifactId>
112            <version>2.5.6.A</version>
113        </dependency>
114        <dependency>
115            <groupId>org.springframework</groupId>
116            <artifactId>org.springframework.test</artifactId>
117            <version>2.5.6.A</version>
118            <scope>test</scope>
119        </dependency>
120        <dependency>
121            <groupId>org.springframework</groupId>
122            <artifactId>org.springframework.context</artifactId>
123            <version>2.5.6.A</version>
124        </dependency>
125        <dependency>
126            <groupId>org.springframework</groupId>
127            <artifactId>org.springframework.web</artifactId>
128            <version>2.5.6.A</version>
129        </dependency>
130        <dependency>
131            <groupId>org.apache.cxf</groupId>
132            <artifactId>cxf-rt-transports-http-jetty</artifactId>
133            <version>${cxf.version}</version>
134        </dependency>
135    </dependencies>
136    <build>
137        <plugins>
138            <plugin>
139                <artifactId>maven-compiler-plugin</artifactId>
140                <configuration>
141                    <source>1.5</source>
142                    <target>1.5</target>
143                </configuration>
144            </plugin>
145            <plugin>
146                <artifactId>maven-compiler-plugin</artifactId>
147                <configuration>
148                    <source>1.5</source>
149                    <target>1.5</target>
150                </configuration>
151            </plugin>
152            <plugin>
153                <groupId>org.apache.cxf</groupId>
154                <artifactId>cxf-codegen-plugin</artifactId>
155                <version>2.0.9</version>
156                <executions>
157                    <execution>
158                        <id>generate-sources</id>
159                        <phase>generate-sources</phase>
160                        <configuration>
161                            <sourceRoot>${basedir}/src/main/java</sourceRoot>
162                            <wsdlOptions>
163                                <wsdlOption>
164                                    <wsdl>${basedir}/11_helloworld.wsdl</wsdl>
165                                    <extraargs>
166                                        <extraarg>-b</extraarg>
167                                        <extraarg>${basedir}/jax-binding.xml</extraarg>
168                                    </extraargs>
169                                </wsdlOption>
170                            </wsdlOptions>
171                        </configuration>
172                        <goals>
173                            <goal>wsdl2java</goal>
174                        </goals>
175                    </execution>
176                </executions>
177            </plugin>
178        </plugins>
179    </build>
180
181</project>