1 <!-- Copyright (c) 2017 Politecnico di Torino and others. All rights reserved.
2 This program and the accompanying materials are made available under the
3 terms of the Apache License, Version 2.0 which accompanies this distribution,
4 and is available at http://www.apache.org/licenses/LICENSE-2.0 -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
9 <modelVersion>4.0.0</modelVersion>
11 <groupId>it.polito.escape</groupId>
12 <artifactId>verify</artifactId>
13 <packaging>war</packaging>
14 <version>0.0.1-SNAPSHOT</version>
16 <url>http://maven.apache.org</url>
18 <grpc.version>1.0.3</grpc.version><!-- CURRENT_GRPC_VERSION -->
19 <jersey.version>2.22.1</jersey.version>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23 <finalName>verify</finalName>
26 <groupId>kr.motd.maven</groupId>
27 <artifactId>os-maven-plugin</artifactId>
28 <version>1.4.1.Final</version>
33 <groupId>org.xolstice.maven.plugins</groupId>
34 <artifactId>protobuf-maven-plugin</artifactId>
35 <version>0.5.0</version>
37 <protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact>
38 <pluginId>grpc-java</pluginId>
39 <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
45 <goal>compile-custom</goal>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-compiler-plugin</artifactId>
53 <version>2.5.1</version>
54 <inherited>true</inherited>
64 <groupId>org.eclipse.m2e</groupId>
65 <artifactId>lifecycle-mapping</artifactId>
66 <version>1.0.0</version>
68 <lifecycleMappingMetadata>
71 <pluginExecutionFilter>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-enforcer-plugin</artifactId>
74 <versionRange>[1.0.0,)</versionRange>
78 </pluginExecutionFilter>
84 </lifecycleMappingMetadata>
91 <dependencyManagement>
94 <groupId>org.glassfish.jersey</groupId>
95 <artifactId>jersey-bom</artifactId>
96 <version>${jersey.version}</version>
101 </dependencyManagement>
105 <groupId>org.glassfish.jersey.containers</groupId>
106 <artifactId>jersey-container-servlet-core</artifactId>
107 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
108 <!-- artifactId>jersey-container-servlet</artifactId -->
112 <groupId>org.glassfish.jersey.bundles</groupId>
113 <artifactId>jaxrs-ri</artifactId>
116 <!-- <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-moxy</artifactId>
120 <groupId>org.glassfish.jersey.media</groupId>
121 <artifactId>jersey-media-json-jackson</artifactId>
125 <groupId>io.swagger</groupId>
126 <artifactId>swagger-jersey2-jaxrs</artifactId>
127 <version>1.5.0</version>
131 <groupId>com.googlecode.json-simple</groupId>
132 <artifactId>json-simple</artifactId>
133 <version>1.1</version>
136 <!-- added to retrieve server path -->
137 <!-- <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId>
138 <version>3.1.0</version> <scope>provided</scope> </dependency> -->
140 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
142 <groupId>org.slf4j</groupId>
143 <artifactId>slf4j-log4j12</artifactId>
144 <version>1.5.6</version>
149 <groupId>com.github.fge</groupId>
150 <artifactId>json-schema-validator</artifactId>
151 <version>2.2.6</version>
154 <!-- http://mvnrepository.com/artifact/org.json/json -->
156 <groupId>org.json</groupId>
157 <artifactId>json</artifactId>
158 <version>20160212</version>
161 <!-- https://mvnrepository.com/artifact/junit/junit -->
163 <groupId>junit</groupId>
164 <artifactId>junit</artifactId>
165 <version>4.12</version>
170 <groupId>javax.servlet</groupId>
171 <artifactId>javax.servlet-api</artifactId>
172 <version>3.1.0</version>
173 <scope>provided</scope>
176 <!-- here start dependencies for grpc -->
178 <groupId>org.apache.thrift</groupId>
179 <artifactId>libthrift</artifactId>
180 <version>0.9.1</version>
183 <groupId>io.grpc</groupId>
184 <artifactId>grpc-netty</artifactId>
185 <version>${grpc.version}</version>
188 <groupId>io.grpc</groupId>
189 <artifactId>grpc-protobuf</artifactId>
190 <version>${grpc.version}</version>
193 <groupId>io.grpc</groupId>
194 <artifactId>grpc-stub</artifactId>
195 <version>${grpc.version}</version>
198 <groupId>org.mockito</groupId>
199 <artifactId>mockito-core</artifactId>
200 <version>1.9.5</version>
204 <groupId>com.google.protobuf</groupId>
205 <artifactId>protobuf-java</artifactId>
206 <version>3.0.2</version>