|
8 | 8 | <artifactId>apache-cxf</artifactId> |
9 | 9 | <version>0.0.1-SNAPSHOT</version> |
10 | 10 | </parent> |
11 | | - <properties> |
12 | | - <cxf.version>3.1.6</cxf.version> |
13 | | - <spring.version>4.3.1.RELEASE</spring.version> |
14 | | - <surefire.version>2.19.1</surefire.version> |
15 | | - </properties> |
| 11 | + |
| 12 | + <dependencies> |
| 13 | + <dependency> |
| 14 | + <groupId>org.apache.cxf</groupId> |
| 15 | + <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| 16 | + <version>${cxf.version}</version> |
| 17 | + </dependency> |
| 18 | + <dependency> |
| 19 | + <groupId>org.apache.cxf</groupId> |
| 20 | + <artifactId>cxf-rt-transports-http-jetty</artifactId> |
| 21 | + <version>${cxf.version}</version> |
| 22 | + </dependency> |
| 23 | + <dependency> |
| 24 | + <groupId>org.springframework</groupId> |
| 25 | + <artifactId>spring-context</artifactId> |
| 26 | + <version>${spring.version}</version> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework</groupId> |
| 30 | + <artifactId>spring-webmvc</artifactId> |
| 31 | + <version>${spring.version}</version> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>javax.servlet</groupId> |
| 35 | + <artifactId>javax.servlet-api</artifactId> |
| 36 | + <version>3.1.0</version> |
| 37 | + </dependency> |
| 38 | + </dependencies> |
| 39 | + |
16 | 40 | <build> |
17 | 41 | <plugins> |
18 | 42 | <plugin> |
19 | 43 | <artifactId>maven-war-plugin</artifactId> |
20 | 44 | <version>2.6</version> |
21 | 45 | <configuration> |
22 | | - <webXml>src/main/webapp/WEB-INF/web.xml</webXml> |
| 46 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
23 | 47 | </configuration> |
24 | 48 | </plugin> |
25 | 49 | <plugin> |
|
33 | 57 | </plugin> |
34 | 58 | </plugins> |
35 | 59 | </build> |
| 60 | + |
36 | 61 | <profiles> |
37 | 62 | <profile> |
38 | 63 | <id>integration</id> |
|
50 | 75 | <configuration> |
51 | 76 | <properties> |
52 | 77 | <cargo.hostname>localhost</cargo.hostname> |
53 | | - <cargo.servlet.port>8080</cargo.servlet.port> |
| 78 | + <cargo.servlet.port>8081</cargo.servlet.port> |
54 | 79 | </properties> |
55 | 80 | </configuration> |
56 | 81 | </configuration> |
|
71 | 96 | </execution> |
72 | 97 | </executions> |
73 | 98 | </plugin> |
| 99 | + |
74 | 100 | <plugin> |
75 | 101 | <artifactId>maven-surefire-plugin</artifactId> |
76 | 102 | <version>${surefire.version}</version> |
|
91 | 117 | </plugins> |
92 | 118 | </build> |
93 | 119 | </profile> |
| 120 | + |
94 | 121 | </profiles> |
95 | | - <dependencies> |
96 | | - <dependency> |
97 | | - <groupId>org.apache.cxf</groupId> |
98 | | - <artifactId>cxf-rt-frontend-jaxws</artifactId> |
99 | | - <version>${cxf.version}</version> |
100 | | - </dependency> |
101 | | - <dependency> |
102 | | - <groupId>org.apache.cxf</groupId> |
103 | | - <artifactId>cxf-rt-transports-http-jetty</artifactId> |
104 | | - <version>${cxf.version}</version> |
105 | | - </dependency> |
106 | | - <dependency> |
107 | | - <groupId>org.springframework</groupId> |
108 | | - <artifactId>spring-context</artifactId> |
109 | | - <version>${spring.version}</version> |
110 | | - </dependency> |
111 | | - <dependency> |
112 | | - <groupId>org.springframework</groupId> |
113 | | - <artifactId>spring-web</artifactId> |
114 | | - <version>${spring.version}</version> |
115 | | - </dependency> |
116 | | - </dependencies> |
| 122 | + |
| 123 | + <properties> |
| 124 | + <cxf.version>3.1.6</cxf.version> |
| 125 | + <spring.version>4.3.1.RELEASE</spring.version> |
| 126 | + <surefire.version>2.19.1</surefire.version> |
| 127 | + </properties> |
| 128 | + |
117 | 129 | </project> |
0 commit comments