cfa21e9e7cb2c2a1e9bf75b6221a44258a79e667
[parser.git] / verigraph / pom.xml
1 <!--\r
2  Copyright (c) 2017 Politecnico di Torino and others.\r
3 \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
8 -->\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
12 \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
18 \r
19     <properties>\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
24     </properties>\r
25     <url>http://maven.apache.org</url>\r
26 \r
27     <build>\r
28         <sourceDirectory>src</sourceDirectory>\r
29         <outputDirectory>build</outputDirectory>\r
30         <testOutputDirectory>build</testOutputDirectory>\r
31         <finalName>verigraph</finalName>\r
32 \r
33         <plugins>\r
34             <plugin>\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
39                 <configuration>\r
40                     <source>1.7</source>\r
41                     <target>1.7</target>\r
42                 </configuration>\r
43             </plugin>\r
44             <plugin>\r
45                 <groupId>org.xolstice.maven.plugins</groupId>\r
46                 <artifactId>protobuf-maven-plugin</artifactId>\r
47                 <version>0.5.0</version>\r
48                 <configuration>\r
49 \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
55                 </configuration>\r
56                 <executions>\r
57                     <execution>\r
58                         <goals>\r
59                             <goal>compile</goal>\r
60                             <goal>compile-custom</goal>\r
61                         </goals>\r
62                     </execution>\r
63                 </executions>\r
64             </plugin>\r
65         </plugins>\r
66 \r
67         <pluginManagement>\r
68             <plugins>\r
69                 <plugin>\r
70                     <groupId>org.eclipse.m2e</groupId>\r
71                     <artifactId>lifecycle-mapping</artifactId>\r
72                     <version>1.0.0</version>\r
73                     <configuration>\r
74                         <lifecycleMappingMetadata>\r
75                             <pluginExecutions>\r
76                                 <pluginExecution>\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
81                                         <goals>\r
82                                             <goal>enforce</goal>\r
83                                         </goals>\r
84                                     </pluginExecutionFilter>\r
85                                     <action>\r
86                                         <ignore />\r
87                                     </action>\r
88                                 </pluginExecution>\r
89                             </pluginExecutions>\r
90                         </lifecycleMappingMetadata>\r
91                     </configuration>\r
92                 </plugin>\r
93             </plugins>\r
94         </pluginManagement>\r
95     </build>\r
96 \r
97     <dependencyManagement>\r
98         <dependencies>\r
99             <dependency>\r
100                 <groupId>org.glassfish.jersey</groupId>\r
101                 <artifactId>jersey-bom</artifactId>\r
102                 <version>${jersey.version}</version>\r
103                 <type>pom</type>\r
104                 <scope>import</scope>\r
105             </dependency>\r
106         </dependencies>\r
107     </dependencyManagement>\r
108 \r
109     <dependencies>\r
110         <dependency>\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
115         </dependency>\r
116         <dependency>\r
117             <groupId>org.glassfish.jersey.bundles</groupId>\r
118             <artifactId>jaxrs-ri</artifactId>\r
119         </dependency>\r
120         <!-- <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-moxy</artifactId>\r
121             </dependency> -->\r
122         <dependency>\r
123             <groupId>org.glassfish.jersey.media</groupId>\r
124             <artifactId>jersey-media-json-jackson</artifactId>\r
125         </dependency>\r
126         <dependency>\r
127             <groupId>io.swagger</groupId>\r
128             <artifactId>swagger-jersey2-jaxrs</artifactId>\r
129             <version>1.5.0</version>\r
130         </dependency>\r
131         <dependency>\r
132             <groupId>com.googlecode.json-simple</groupId>\r
133             <artifactId>json-simple</artifactId>\r
134             <version>1.1</version>\r
135         </dependency>\r
136         <dependency>\r
137             <groupId>com.google.code.gson</groupId>\r
138             <artifactId>gson</artifactId>\r
139             <version>2.8.0</version>\r
140         </dependency>\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
144         <dependency>\r
145             <groupId>com.github.fge</groupId>\r
146             <artifactId>json-schema-validator</artifactId>\r
147             <version>2.2.6</version>\r
148         </dependency>\r
149         <!-- http://mvnrepository.com/artifact/org.json/json -->\r
150         <dependency>\r
151             <groupId>org.json</groupId>\r
152             <artifactId>json</artifactId>\r
153             <version>20160212</version>\r
154         </dependency>\r
155         <!-- https://mvnrepository.com/artifact/junit/junit -->\r
156         <dependency>\r
157             <groupId>junit</groupId>\r
158             <artifactId>junit</artifactId>\r
159             <version>4.12</version>\r
160         </dependency>\r
161         <dependency>\r
162             <groupId>org.scala-lang</groupId>\r
163             <artifactId>scala-library</artifactId>\r
164             <version>2.10.0-M7</version>\r
165         </dependency>\r
166         <!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api -->\r
167         <dependency>\r
168             <groupId>javax.ws.rs</groupId>\r
169             <artifactId>javax.ws.rs-api</artifactId>\r
170             <version>2.0</version>\r
171         </dependency>\r
172         <dependency>\r
173             <groupId>org.neo4j</groupId>\r
174             <artifactId>neo4j</artifactId>\r
175             <version>${neo4j.version}</version>\r
176         </dependency>\r
177         <dependency>\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
183         </dependency>\r
184         <!-- here start dependencies for grpc -->\r
185         <dependency>\r
186             <groupId>org.apache.thrift</groupId>\r
187             <artifactId>libthrift</artifactId>\r
188             <version>0.9.1</version>\r
189         </dependency>\r
190         <dependency>\r
191             <groupId>io.grpc</groupId>\r
192             <artifactId>grpc-netty</artifactId>\r
193             <version>${grpc.version}</version>\r
194         </dependency>\r
195         <dependency>\r
196             <groupId>io.grpc</groupId>\r
197             <artifactId>grpc-protobuf</artifactId>\r
198             <version>${grpc.version}</version>\r
199         </dependency>\r
200         <dependency>\r
201             <groupId>io.grpc</groupId>\r
202             <artifactId>grpc-stub</artifactId>\r
203             <version>${grpc.version}</version>\r
204         </dependency>\r
205         <dependency>\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
210         </dependency>\r
211         <dependency>\r
212             <groupId>com.google.protobuf</groupId>\r
213             <artifactId>protobuf-java</artifactId>\r
214             <version>3.0.2</version>\r
215         </dependency>\r
216         <dependency>\r
217             <groupId>org.slf4j</groupId>\r
218             <artifactId>slf4j-log4j12</artifactId>\r
219             <version>1.6.4</version>\r
220         </dependency>\r
221     </dependencies>\r
222 \r
223 </project>