2 Copyright (c) 2017 Politecnico di Torino and others.
\r
4 All rights reserved. This program and the accompanying materials
\r
5 are made available under the terms of the Apache License, Version 2.0
\r
6 which accompanies this distribution, and is available at
\r
7 http://www.apache.org/licenses/LICENSE-2.0
\r
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
10 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
11 <modelVersion>4.0.0</modelVersion>
\r
13 <groupId>it.polito</groupId>
\r
14 <artifactId>verigraph</artifactId>
\r
15 <packaging>war</packaging>
\r
16 <version>0.0.2-SNAPSHOT</version>
\r
17 <name>verigraph</name>
\r
20 <grpc.version>1.0.3</grpc.version>
\r
21 <jersey.version>2.22.1</jersey.version>
\r
22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
23 <neo4j.version>3.1.3</neo4j.version>
\r
25 <url>http://maven.apache.org</url>
\r
28 <sourceDirectory>src</sourceDirectory>
\r
29 <outputDirectory>build</outputDirectory>
\r
30 <testOutputDirectory>build</testOutputDirectory>
\r
31 <finalName>verigraph</finalName>
\r
35 <groupId>org.apache.maven.plugins</groupId>
\r
36 <artifactId>maven-compiler-plugin</artifactId>
\r
37 <version>3.0</version>
\r
38 <inherited>true</inherited>
\r
40 <source>1.8</source>
\r
41 <target>1.8</target>
\r
45 <groupId>org.xolstice.maven.plugins</groupId>
\r
46 <artifactId>protobuf-maven-plugin</artifactId>
\r
47 <version>0.5.0</version>
\r
50 <protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact>
\r
51 <pluginId>grpc-java</pluginId>
\r
52 <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
\r
53 <outputDirectory>${basedir}\gen-protobuf</outputDirectory>
\r
54 <clearOutputDirectory>false</clearOutputDirectory>
\r
59 <goal>compile</goal>
\r
60 <goal>compile-custom</goal>
\r
70 <groupId>org.eclipse.m2e</groupId>
\r
71 <artifactId>lifecycle-mapping</artifactId>
\r
72 <version>1.0.0</version>
\r
74 <lifecycleMappingMetadata>
\r
77 <pluginExecutionFilter>
\r
78 <groupId>org.apache.maven.plugins</groupId>
\r
79 <artifactId>maven-enforcer-plugin</artifactId>
\r
80 <versionRange>[1.0.0,)</versionRange>
\r
82 <goal>enforce</goal>
\r
84 </pluginExecutionFilter>
\r
90 </lifecycleMappingMetadata>
\r
97 <dependencyManagement>
\r
100 <groupId>org.glassfish.jersey</groupId>
\r
101 <artifactId>jersey-bom</artifactId>
\r
102 <version>${jersey.version}</version>
\r
104 <scope>import</scope>
\r
107 </dependencyManagement>
\r
111 <groupId>org.glassfish.jersey.containers</groupId>
\r
112 <artifactId>jersey-container-servlet-core</artifactId>
\r
113 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
\r
114 <!-- artifactId>jersey-container-servlet</artifactId -->
\r
117 <groupId>org.glassfish.jersey.bundles</groupId>
\r
118 <artifactId>jaxrs-ri</artifactId>
\r
120 <!-- <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-moxy</artifactId>
\r
123 <groupId>org.glassfish.jersey.media</groupId>
\r
124 <artifactId>jersey-media-json-jackson</artifactId>
\r
127 <groupId>io.swagger</groupId>
\r
128 <artifactId>swagger-jersey2-jaxrs</artifactId>
\r
129 <version>1.5.0</version>
\r
132 <groupId>com.googlecode.json-simple</groupId>
\r
133 <artifactId>json-simple</artifactId>
\r
134 <version>1.1</version>
\r
137 <groupId>com.google.code.gson</groupId>
\r
138 <artifactId>gson</artifactId>
\r
139 <version>2.8.0</version>
\r
141 <!-- added to retrieve server path -->
\r
142 <!-- <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId>
\r
143 <version>3.1.0</version> <scope>provided</scope> </dependency> -->
\r
145 <groupId>com.github.fge</groupId>
\r
146 <artifactId>json-schema-validator</artifactId>
\r
147 <version>2.2.6</version>
\r
149 <!-- http://mvnrepository.com/artifact/org.json/json -->
\r
151 <groupId>org.json</groupId>
\r
152 <artifactId>json</artifactId>
\r
153 <version>20160212</version>
\r
155 <!-- https://mvnrepository.com/artifact/junit/junit -->
\r
157 <groupId>junit</groupId>
\r
158 <artifactId>junit</artifactId>
\r
159 <version>4.12</version>
\r
162 <groupId>org.scala-lang</groupId>
\r
163 <artifactId>scala-library</artifactId>
\r
164 <version>2.10.0-M7</version>
\r
166 <!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api -->
\r
168 <groupId>javax.ws.rs</groupId>
\r
169 <artifactId>javax.ws.rs-api</artifactId>
\r
170 <version>2.0</version>
\r
173 <groupId>org.neo4j</groupId>
\r
174 <artifactId>neo4j</artifactId>
\r
175 <version>${neo4j.version}</version>
\r
178 <groupId>org.neo4j</groupId>
\r
179 <artifactId>neo4j-kernel</artifactId>
\r
180 <version>${neo4j.version}</version>
\r
181 <type>test-jar</type>
\r
182 <scope>test</scope>
\r
184 <!-- here start dependencies for grpc -->
\r
186 <groupId>org.apache.thrift</groupId>
\r
187 <artifactId>libthrift</artifactId>
\r
188 <version>0.9.1</version>
\r
191 <groupId>io.grpc</groupId>
\r
192 <artifactId>grpc-netty</artifactId>
\r
193 <version>${grpc.version}</version>
\r
196 <groupId>io.grpc</groupId>
\r
197 <artifactId>grpc-protobuf</artifactId>
\r
198 <version>${grpc.version}</version>
\r
201 <groupId>io.grpc</groupId>
\r
202 <artifactId>grpc-stub</artifactId>
\r
203 <version>${grpc.version}</version>
\r
206 <groupId>org.mockito</groupId>
\r
207 <artifactId>mockito-core</artifactId>
\r
208 <version>1.9.5</version>
\r
209 <scope>test</scope>
\r
212 <groupId>com.google.protobuf</groupId>
\r
213 <artifactId>protobuf-java</artifactId>
\r
214 <version>3.0.2</version>
\r
217 <groupId>org.slf4j</groupId>
\r
218 <artifactId>slf4j-log4j12</artifactId>
\r
219 <version>1.6.4</version>
\r
222 <groupId>com.fasterxml.jackson.dataformat</groupId>
\r
223 <artifactId>jackson-dataformat-yaml</artifactId>
\r
224 <version>2.9.2</version>
\r
226 <!-- Trying to make jaxb work -->
\r
228 <groupId>org.eclipse.persistence</groupId>
\r
229 <artifactId>org.eclipse.persistence.core</artifactId>
\r
230 <version>2.6.0</version>
\r