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+ <parent >
3+ <groupId >com.wordnik</groupId >
4+ <artifactId >swagger-project</artifactId >
5+ <version >1.5.3-M1-SNAPSHOT</version >
6+ <relativePath >../..</relativePath >
7+ </parent >
8+ <modelVersion >4.0.0</modelVersion >
9+ <groupId >com.wordnik</groupId >
10+ <artifactId >swagger-java-sample-app</artifactId >
11+ <packaging >war</packaging >
12+ <name >swagger-java-jaxrs-app</name >
13+ <version >1.5.3-M1-SNAPSHOT</version >
14+ <build >
15+ <sourceDirectory >src/main/java</sourceDirectory >
16+ <plugins >
17+ <plugin >
18+ <groupId >org.apache.maven.plugins</groupId >
19+ <artifactId >maven-war-plugin</artifactId >
20+ <version >2.1.1</version >
21+ </plugin >
22+ <plugin >
23+ <artifactId >maven-failsafe-plugin</artifactId >
24+ <version >2.6</version >
25+ <executions >
26+ <execution >
27+ <goals >
28+ <goal >integration-test</goal >
29+ <goal >verify</goal >
30+ </goals >
31+ </execution >
32+ </executions >
33+ </plugin >
34+ <plugin >
35+ <groupId >org.mortbay.jetty</groupId >
36+ <artifactId >jetty-maven-plugin</artifactId >
37+ <version >${jetty-version} </version >
38+ <configuration >
39+ <webAppConfig >
40+ <contextPath >/</contextPath >
41+ </webAppConfig >
42+ <webAppSourceDirectory >target/${project.artifactId} -${project.version} </webAppSourceDirectory >
43+ <webDefaultXml >${project.basedir} /conf/jetty/webdefault.xml</webDefaultXml >
44+ <stopPort >8079</stopPort >
45+ <stopKey >stopit</stopKey >
46+ <connectors >
47+ <connector implementation =" org.eclipse.jetty.server.nio.SelectChannelConnector" >
48+ <port >8002</port >
49+ <maxIdleTime >60000</maxIdleTime >
50+ <confidentialPort >8443</confidentialPort >
51+ </connector >
52+ </connectors >
53+ </configuration >
54+ <executions >
55+ <execution >
56+ <id >start-jetty</id >
57+ <phase >pre-integration-test</phase >
58+ <goals >
59+ <goal >run</goal >
60+ </goals >
61+ <configuration >
62+ <scanIntervalSeconds >0</scanIntervalSeconds >
63+ <daemon >true</daemon >
64+ </configuration >
65+ </execution >
66+ <execution >
67+ <id >stop-jetty</id >
68+ <phase >post-integration-test</phase >
69+ <goals >
70+ <goal >stop</goal >
71+ </goals >
72+ </execution >
73+ </executions >
74+ </plugin >
75+ <plugin >
76+ <groupId >com.googlecode.maven-download-plugin</groupId >
77+ <artifactId >download-maven-plugin</artifactId >
78+ <version >1.2.1</version >
79+ <executions >
80+ <execution >
81+ <id >swagger-ui</id >
82+ <goals >
83+ <goal >wget</goal >
84+ </goals >
85+ <configuration >
86+ <url >https://github.com/swagger-api/swagger-ui/archive/v${swagger-ui-version} .tar.gz</url >
87+ <unpack >true</unpack >
88+ <outputDirectory >${project.build.directory} </outputDirectory >
89+ </configuration >
90+ </execution >
91+ </executions >
92+ </plugin >
93+ </plugins >
94+ </build >
95+ <dependencies >
96+ <dependency >
97+ <groupId >com.wordnik</groupId >
98+ <artifactId >swagger-jaxrs</artifactId >
99+ <version >${project.parent.version} </version >
100+ <scope >compile</scope >
101+ </dependency >
102+ <dependency >
103+ <groupId >ch.qos.logback</groupId >
104+ <artifactId >logback-classic</artifactId >
105+ <version >${logback-version} </version >
106+ <scope >compile</scope >
107+ </dependency >
108+ <dependency >
109+ <groupId >ch.qos.logback</groupId >
110+ <artifactId >logback-core</artifactId >
111+ <version >${logback-version} </version >
112+ <scope >compile</scope >
113+ </dependency >
114+ <dependency >
115+ <groupId >org.scalatest</groupId >
116+ <artifactId >scalatest_2.10</artifactId >
117+ <scope >test</scope >
118+ </dependency >
119+ <dependency >
120+ <groupId >junit</groupId >
121+ <artifactId >junit</artifactId >
122+ <scope >test</scope >
123+ </dependency >
124+ <dependency >
125+ <groupId >javax.servlet</groupId >
126+ <artifactId >servlet-api</artifactId >
127+ </dependency >
128+ <dependency >
129+ <groupId >com.sun.jersey</groupId >
130+ <artifactId >jersey-core</artifactId >
131+ </dependency >
132+ <dependency >
133+ <groupId >com.sun.jersey</groupId >
134+ <artifactId >jersey-json</artifactId >
135+ </dependency >
136+ <dependency >
137+ <groupId >com.sun.jersey</groupId >
138+ <artifactId >jersey-servlet</artifactId >
139+ </dependency >
140+ </dependencies >
141+ </project >
0 commit comments