|
1 | 1 | <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">
|
2 |
| - <modelVersion>4.0.0</modelVersion> |
3 |
| - <groupId>io.swagger</groupId> |
4 |
| - <artifactId>jaxrs-cxf-petstore-client</artifactId> |
5 |
| - <packaging>jar</packaging> |
6 |
| - <name>jaxrs-cxf-petstore-client</name> |
7 |
| - <description>This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.</description> |
8 |
| - <version>1.0.0</version> |
9 |
| - <build> |
10 |
| - <sourceDirectory>src/main/java</sourceDirectory> |
11 |
| - <plugins> |
12 |
| - <plugin> |
13 |
| - <artifactId>maven-failsafe-plugin</artifactId> |
14 |
| - <version>2.6</version> |
15 |
| - <executions> |
16 |
| - <execution> |
17 |
| - <goals> |
18 |
| - <goal>integration-test</goal> |
19 |
| - <goal>verify</goal> |
20 |
| - </goals> |
21 |
| - </execution> |
22 |
| - </executions> |
23 |
| - </plugin> |
24 |
| - <!--plugin> |
25 |
| - <groupId>org.eclipse.jetty</groupId> |
26 |
| - <artifactId>jetty-maven-plugin</artifactId> |
27 |
| - <version>${jetty-version}</version> |
28 |
| - <configuration> |
29 |
| - <webApp> |
30 |
| - <contextPath>/</contextPath> |
31 |
| - </webApp> |
32 |
| - <webAppSourceDirectory>target/${project.artifactId}-${project.version}</webAppSourceDirectory> |
33 |
| - <stopPort>8079</stopPort> |
34 |
| - <stopKey>stopit</stopKey> |
35 |
| - <httpConnector> |
36 |
| - <port></port> |
37 |
| - <idleTimeout>60000</idleTimeout> |
38 |
| - </httpConnector> |
39 |
| - </configuration> |
40 |
| - <executions> |
41 |
| - <execution> |
42 |
| - <id>start-jetty</id> |
43 |
| - <phase>pre-integration-test</phase> |
44 |
| - <goals> |
45 |
| - <goal>start</goal> |
46 |
| - </goals> |
47 |
| - <configuration> |
48 |
| - <scanIntervalSeconds>0</scanIntervalSeconds> |
49 |
| - <daemon>true</daemon> |
50 |
| - </configuration> |
51 |
| - </execution> |
52 |
| - <execution> |
53 |
| - <id>stop-jetty</id> |
54 |
| - <phase>post-integration-test</phase> |
55 |
| - <goals> |
56 |
| - <goal>stop</goal> |
57 |
| - </goals> |
58 |
| - </execution> |
59 |
| - </executions> |
60 |
| - </plugin--> |
61 |
| - <plugin> |
62 |
| - <groupId>org.codehaus.mojo</groupId> |
63 |
| - <artifactId>build-helper-maven-plugin</artifactId> |
64 |
| - <version>1.9.1</version> |
65 |
| - <executions> |
66 |
| - <execution> |
67 |
| - <id>add-source</id> |
68 |
| - <phase>generate-sources</phase> |
69 |
| - <goals> |
70 |
| - <goal>add-source</goal> |
71 |
| - </goals> |
72 |
| - <configuration> |
73 |
| - <sources> |
74 |
| - <source>src/gen/java</source> |
75 |
| - </sources> |
76 |
| - </configuration> |
77 |
| - </execution> |
78 |
| - </executions> |
79 |
| - </plugin> |
80 |
| - </plugins> |
81 |
| - </build> |
82 |
| - <dependencies> |
83 |
| - <dependency> |
84 |
| - <groupId>io.swagger</groupId> |
85 |
| - <artifactId>swagger-jaxrs</artifactId> |
86 |
| - <scope>compile</scope> |
87 |
| - <version>${swagger-core-version}</version> |
88 |
| - </dependency> |
89 |
| - <dependency> |
90 |
| - <groupId>ch.qos.logback</groupId> |
91 |
| - <artifactId>logback-classic</artifactId> |
92 |
| - <version>${logback-version}</version> |
93 |
| - <scope>compile</scope> |
94 |
| - </dependency> |
95 |
| - <dependency> |
96 |
| - <groupId>ch.qos.logback</groupId> |
97 |
| - <artifactId>logback-core</artifactId> |
98 |
| - <version>${logback-version}</version> |
99 |
| - <scope>compile</scope> |
100 |
| - </dependency> |
101 |
| - <dependency> |
102 |
| - <groupId>junit</groupId> |
103 |
| - <artifactId>junit</artifactId> |
104 |
| - <version>${junit-version}</version> |
105 |
| - <scope>test</scope> |
106 |
| - </dependency> |
107 |
| - <!-- CXF Client --> |
108 |
| - <dependency> |
109 |
| - <groupId>org.apache.cxf</groupId> |
110 |
| - <artifactId>cxf-rt-rs-client</artifactId> |
111 |
| - <version>${cxf-version}</version> |
112 |
| - <scope>test</scope> |
113 |
| - </dependency> |
114 |
| - |
115 |
| - <!-- CXF server --> |
116 |
| - <dependency> |
117 |
| - <groupId>org.apache.cxf</groupId> |
118 |
| - <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
119 |
| - <version>${cxf-version}</version> |
120 |
| - <scope>compile</scope> |
121 |
| - </dependency> |
122 |
| - <dependency> |
123 |
| - <groupId>org.apache.cxf</groupId> |
124 |
| - <artifactId>cxf-rt-rs-service-description</artifactId> |
125 |
| - <version>${cxf-version}</version> |
126 |
| - <scope>compile</scope> |
127 |
| - </dependency> |
128 |
| - <dependency> |
129 |
| - <groupId>org.apache.cxf</groupId> |
130 |
| - <artifactId>cxf-rt-ws-policy</artifactId> |
131 |
| - <version>${cxf-version}</version> |
132 |
| - <scope>compile</scope> |
133 |
| - </dependency> |
134 |
| - <dependency> |
135 |
| - <groupId>org.apache.cxf</groupId> |
136 |
| - <artifactId>cxf-rt-wsdl</artifactId> |
137 |
| - <version>${cxf-version}</version> |
138 |
| - <scope>compile</scope> |
139 |
| - </dependency> |
140 |
| - <dependency> |
141 |
| - <groupId>com.fasterxml.jackson.jaxrs</groupId> |
142 |
| - <artifactId>jackson-jaxrs-json-provider</artifactId> |
143 |
| - <version>${jackson-jaxrs-version}</version> |
144 |
| - <scope>compile</scope> |
145 |
| - </dependency> |
146 |
| - <dependency> |
147 |
| - <groupId>com.fasterxml.jackson.datatype</groupId> |
148 |
| - <artifactId>jackson-datatype-joda</artifactId> |
149 |
| - <version>${jackson-jaxrs-version}</version> |
150 |
| - </dependency> |
151 |
| - </dependencies> |
152 |
| - <repositories> |
153 |
| - <repository> |
154 |
| - <id>sonatype-snapshots</id> |
155 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
156 |
| - <snapshots> |
157 |
| - <enabled>true</enabled> |
158 |
| - </snapshots> |
159 |
| - </repository> |
160 |
| - </repositories> |
161 |
| - <properties> |
162 |
| - <java.version>1.7</java.version> |
163 |
| - <maven.compiler.source>${java.version}</maven.compiler.source> |
164 |
| - <maven.compiler.target>${java.version}</maven.compiler.target> |
165 |
| - <swagger-core-version>1.5.18</swagger-core-version> |
166 |
| - <jetty-version>9.2.9.v20150224</jetty-version> |
167 |
| - <junit-version>4.12</junit-version> |
168 |
| - <logback-version>1.1.7</logback-version> |
169 |
| - <servlet-api-version>2.5</servlet-api-version> |
170 |
| - <cxf-version>3.2.1</cxf-version> |
171 |
| - <jackson-jaxrs-version>2.9.1</jackson-jaxrs-version> |
172 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
173 |
| - </properties> |
| 2 | + <modelVersion>4.0.0</modelVersion> |
| 3 | + <groupId>io.swagger</groupId> |
| 4 | + <artifactId>jaxrs-cxf-petstore-client</artifactId> |
| 5 | + <packaging>jar</packaging> |
| 6 | + <name>jaxrs-cxf-petstore-client</name> |
| 7 | + <description>This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.</description> |
| 8 | + <version>1.0.0</version> |
| 9 | + <build> |
| 10 | + <sourceDirectory>src/main/java</sourceDirectory> |
| 11 | + <plugins> |
| 12 | + <plugin> |
| 13 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 14 | + <version>2.6</version> |
| 15 | + <executions> |
| 16 | + <execution> |
| 17 | + <goals> |
| 18 | + <goal>integration-test</goal> |
| 19 | + <goal>verify</goal> |
| 20 | + </goals> |
| 21 | + </execution> |
| 22 | + </executions> |
| 23 | + </plugin> |
| 24 | + <!--plugin> |
| 25 | + <groupId>org.eclipse.jetty</groupId> |
| 26 | + <artifactId>jetty-maven-plugin</artifactId> |
| 27 | + <version>${jetty-version}</version> |
| 28 | + <configuration> |
| 29 | + <webApp> |
| 30 | + <contextPath>/</contextPath> |
| 31 | + </webApp> |
| 32 | + <webAppSourceDirectory>target/${project.artifactId}-${project.version}</webAppSourceDirectory> |
| 33 | + <stopPort>8079</stopPort> |
| 34 | + <stopKey>stopit</stopKey> |
| 35 | + <httpConnector> |
| 36 | + <port></port> |
| 37 | + <idleTimeout>60000</idleTimeout> |
| 38 | + </httpConnector> |
| 39 | + </configuration> |
| 40 | + <executions> |
| 41 | + <execution> |
| 42 | + <id>start-jetty</id> |
| 43 | + <phase>pre-integration-test</phase> |
| 44 | + <goals> |
| 45 | + <goal>start</goal> |
| 46 | + </goals> |
| 47 | + <configuration> |
| 48 | + <scanIntervalSeconds>0</scanIntervalSeconds> |
| 49 | + <daemon>true</daemon> |
| 50 | + </configuration> |
| 51 | + </execution> |
| 52 | + <execution> |
| 53 | + <id>stop-jetty</id> |
| 54 | + <phase>post-integration-test</phase> |
| 55 | + <goals> |
| 56 | + <goal>stop</goal> |
| 57 | + </goals> |
| 58 | + </execution> |
| 59 | + </executions> |
| 60 | + </plugin--> |
| 61 | + <plugin> |
| 62 | + <groupId>org.codehaus.mojo</groupId> |
| 63 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 64 | + <version>1.9.1</version> |
| 65 | + <executions> |
| 66 | + <execution> |
| 67 | + <id>add-source</id> |
| 68 | + <phase>generate-sources</phase> |
| 69 | + <goals> |
| 70 | + <goal>add-source</goal> |
| 71 | + </goals> |
| 72 | + <configuration> |
| 73 | + <sources> |
| 74 | + <source>src/gen/java</source> |
| 75 | + </sources> |
| 76 | + </configuration> |
| 77 | + </execution> |
| 78 | + </executions> |
| 79 | + </plugin> |
| 80 | + </plugins> |
| 81 | + </build> |
| 82 | + <dependencies> |
| 83 | + <dependency> |
| 84 | + <groupId>io.swagger</groupId> |
| 85 | + <artifactId>swagger-jaxrs</artifactId> |
| 86 | + <scope>compile</scope> |
| 87 | + <version>${swagger-core-version}</version> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>ch.qos.logback</groupId> |
| 91 | + <artifactId>logback-classic</artifactId> |
| 92 | + <version>${logback-version}</version> |
| 93 | + <scope>compile</scope> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>ch.qos.logback</groupId> |
| 97 | + <artifactId>logback-core</artifactId> |
| 98 | + <version>${logback-version}</version> |
| 99 | + <scope>compile</scope> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>junit</groupId> |
| 103 | + <artifactId>junit</artifactId> |
| 104 | + <version>${junit-version}</version> |
| 105 | + <scope>test</scope> |
| 106 | + </dependency> |
| 107 | + <!-- CXF Client --> |
| 108 | + <dependency> |
| 109 | + <groupId>org.apache.cxf</groupId> |
| 110 | + <artifactId>cxf-rt-rs-client</artifactId> |
| 111 | + <version>${cxf-version}</version> |
| 112 | + <scope>test</scope> |
| 113 | + </dependency> |
| 114 | + |
| 115 | + <!-- CXF server --> |
| 116 | + <dependency> |
| 117 | + <groupId>org.apache.cxf</groupId> |
| 118 | + <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| 119 | + <version>${cxf-version}</version> |
| 120 | + <scope>compile</scope> |
| 121 | + </dependency> |
| 122 | + <dependency> |
| 123 | + <groupId>org.apache.cxf</groupId> |
| 124 | + <artifactId>cxf-rt-rs-service-description</artifactId> |
| 125 | + <version>${cxf-version}</version> |
| 126 | + <scope>compile</scope> |
| 127 | + </dependency> |
| 128 | + <dependency> |
| 129 | + <groupId>org.apache.cxf</groupId> |
| 130 | + <artifactId>cxf-rt-ws-policy</artifactId> |
| 131 | + <version>${cxf-version}</version> |
| 132 | + <scope>compile</scope> |
| 133 | + </dependency> |
| 134 | + <dependency> |
| 135 | + <groupId>org.apache.cxf</groupId> |
| 136 | + <artifactId>cxf-rt-wsdl</artifactId> |
| 137 | + <version>${cxf-version}</version> |
| 138 | + <scope>compile</scope> |
| 139 | + </dependency> |
| 140 | + <dependency> |
| 141 | + <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 142 | + <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 143 | + <version>${jackson-jaxrs-version}</version> |
| 144 | + <scope>compile</scope> |
| 145 | + </dependency> |
| 146 | + <dependency> |
| 147 | + <groupId>com.fasterxml.jackson.datatype</groupId> |
| 148 | + <artifactId>jackson-datatype-joda</artifactId> |
| 149 | + <version>${jackson-jaxrs-version}</version> |
| 150 | + </dependency> |
| 151 | + </dependencies> |
| 152 | + <repositories> |
| 153 | + <repository> |
| 154 | + <id>sonatype-snapshots</id> |
| 155 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 156 | + <snapshots> |
| 157 | + <enabled>true</enabled> |
| 158 | + </snapshots> |
| 159 | + </repository> |
| 160 | + </repositories> |
| 161 | + <properties> |
| 162 | + <java.version>1.7</java.version> |
| 163 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 164 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
| 165 | + <swagger-core-version>1.5.18</swagger-core-version> |
| 166 | + <jetty-version>9.2.9.v20150224</jetty-version> |
| 167 | + <junit-version>4.12</junit-version> |
| 168 | + <logback-version>1.1.7</logback-version> |
| 169 | + <servlet-api-version>2.5</servlet-api-version> |
| 170 | + <cxf-version>3.2.1</cxf-version> |
| 171 | + <jackson-jaxrs-version>2.9.9</jackson-jaxrs-version> |
| 172 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 173 | + </properties> |
174 | 174 | </project>
|
0 commit comments