1 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
---|
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
4 | <modelVersion>4.0.0</modelVersion>
|
---|
5 |
|
---|
6 | <groupId>geniusweb</groupId>
|
---|
7 | <artifactId>voting</artifactId>
|
---|
8 | <version>2.1.0</version>
|
---|
9 | <packaging>jar</packaging>
|
---|
10 |
|
---|
11 |
|
---|
12 | <properties>
|
---|
13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
14 | <maven.compiler.target>1.8</maven.compiler.target>
|
---|
15 | <maven.compiler.source>1.8</maven.compiler.source>
|
---|
16 | <basedir>.</basedir>
|
---|
17 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
18 | <jackson-2-version>2.12.3</jackson-2-version>
|
---|
19 | <geniusweb.version>${project.version}</geniusweb.version>
|
---|
20 | </properties>
|
---|
21 |
|
---|
22 | <distributionManagement>
|
---|
23 | <repository>
|
---|
24 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
25 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
26 | </repository>
|
---|
27 | </distributionManagement>
|
---|
28 |
|
---|
29 | <dependencies>
|
---|
30 |
|
---|
31 | <dependency>
|
---|
32 | <groupId>geniusweb</groupId>
|
---|
33 | <artifactId>events</artifactId>
|
---|
34 | <version>${geniusweb.version}</version>
|
---|
35 | </dependency>
|
---|
36 | <dependency>
|
---|
37 | <groupId>geniusweb</groupId>
|
---|
38 | <artifactId>ip</artifactId>
|
---|
39 | <version>${geniusweb.version}</version>
|
---|
40 | </dependency>
|
---|
41 | <dependency>
|
---|
42 | <groupId>tudelft.utilities</groupId>
|
---|
43 | <artifactId>utilities</artifactId>
|
---|
44 | <version>1.1.1</version>
|
---|
45 | </dependency>
|
---|
46 | <!-- the core, which includes Streaming API, shared low-level abstractions
|
---|
47 | (but NOT data-binding) -->
|
---|
48 | <dependency>
|
---|
49 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
50 | <artifactId>jackson-core</artifactId>
|
---|
51 | <version>${jackson-2-version}</version>
|
---|
52 | </dependency>
|
---|
53 |
|
---|
54 | <!-- Just the annotations; use this dependency if you want to attach annotations
|
---|
55 | to classes without connecting them to the code. -->
|
---|
56 | <dependency>
|
---|
57 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
58 | <artifactId>jackson-annotations</artifactId>
|
---|
59 | <version>${jackson-2-version}</version>
|
---|
60 | </dependency>
|
---|
61 |
|
---|
62 | <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
|
---|
63 | <dependency>
|
---|
64 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
65 | <artifactId>jackson-databind</artifactId>
|
---|
66 | <version>${jackson-2-version}</version>
|
---|
67 | </dependency>
|
---|
68 |
|
---|
69 | <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
|
---|
70 | <dependency>
|
---|
71 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
---|
72 | <artifactId>jackson-dataformat-smile</artifactId>
|
---|
73 | <version>${jackson-2-version}</version>
|
---|
74 | </dependency>
|
---|
75 | <!-- JAX-RS provider -->
|
---|
76 | <dependency>
|
---|
77 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
---|
78 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
---|
79 | <version>${jackson-2-version}</version>
|
---|
80 | </dependency>
|
---|
81 | <!-- Support for JAX-B annotations as additional configuration -->
|
---|
82 | <dependency>
|
---|
83 | <groupId>com.fasterxml.jackson.module</groupId>
|
---|
84 | <artifactId>jackson-module-jaxb-annotations</artifactId>
|
---|
85 | <version>${jackson-2-version}</version>
|
---|
86 | </dependency>
|
---|
87 |
|
---|
88 | <dependency>
|
---|
89 | <groupId>tudelft.utilities</groupId>
|
---|
90 | <artifactId>junit</artifactId>
|
---|
91 | <version>1.0.5</version>
|
---|
92 | <scope>test</scope>
|
---|
93 | </dependency>
|
---|
94 | <dependency>
|
---|
95 | <groupId>junit</groupId>
|
---|
96 | <artifactId>junit</artifactId>
|
---|
97 | <version>4.12</version>
|
---|
98 | <scope>test</scope>
|
---|
99 | </dependency>
|
---|
100 | <dependency>
|
---|
101 | <groupId>org.mockito</groupId>
|
---|
102 | <artifactId>mockito-core</artifactId>
|
---|
103 | <version>3.11.2</version>
|
---|
104 | <scope>test</scope>
|
---|
105 | </dependency>
|
---|
106 |
|
---|
107 | </dependencies>
|
---|
108 |
|
---|
109 |
|
---|
110 | <repositories>
|
---|
111 | <repository>
|
---|
112 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
113 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
114 | <snapshots>
|
---|
115 | <enabled>false</enabled>
|
---|
116 | </snapshots>
|
---|
117 | </repository>
|
---|
118 | </repositories>
|
---|
119 |
|
---|
120 | <pluginRepositories>
|
---|
121 | <pluginRepository>
|
---|
122 | <id>central</id>
|
---|
123 | <url>https://repo1.maven.org/maven2</url>
|
---|
124 | </pluginRepository>
|
---|
125 | <pluginRepository>
|
---|
126 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
127 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
128 | </pluginRepository>
|
---|
129 | </pluginRepositories>
|
---|
130 |
|
---|
131 | <build>
|
---|
132 |
|
---|
133 | <plugins>
|
---|
134 | <plugin>
|
---|
135 | <groupId>org.apache.maven.plugins</groupId>
|
---|
136 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
137 | <version>3.8.0</version>
|
---|
138 | <configuration>
|
---|
139 | <source>1.8</source>
|
---|
140 | <target>1.8</target>
|
---|
141 | </configuration>
|
---|
142 | </plugin>
|
---|
143 | <plugin>
|
---|
144 | <groupId>org.apache.maven.plugins</groupId>
|
---|
145 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
146 | <version>3.0.0-M2</version>
|
---|
147 | <executions>
|
---|
148 | <execution>
|
---|
149 | <id>enforce</id>
|
---|
150 | <configuration>
|
---|
151 | <rules>
|
---|
152 | <dependencyConvergence />
|
---|
153 | </rules>
|
---|
154 | </configuration>
|
---|
155 | <goals>
|
---|
156 | <goal>enforce</goal>
|
---|
157 | </goals>
|
---|
158 | </execution>
|
---|
159 | </executions>
|
---|
160 | </plugin>
|
---|
161 | <plugin>
|
---|
162 | <groupId>org.apache.maven.plugins</groupId>
|
---|
163 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
164 | <version>3.2.0</version>
|
---|
165 | <executions>
|
---|
166 | <execution>
|
---|
167 | <id>attach-javadocs</id>
|
---|
168 | <goals>
|
---|
169 | <goal>jar</goal>
|
---|
170 | </goals>
|
---|
171 | </execution>
|
---|
172 | </executions>
|
---|
173 | </plugin>
|
---|
174 |
|
---|
175 | <plugin>
|
---|
176 | <groupId>org.apache.maven.plugins</groupId>
|
---|
177 | <artifactId>maven-source-plugin</artifactId>
|
---|
178 | <version>3.1.0</version>
|
---|
179 | <executions>
|
---|
180 | <execution>
|
---|
181 | <id>attach-sources</id>
|
---|
182 | <goals>
|
---|
183 | <goal>jar</goal>
|
---|
184 | </goals>
|
---|
185 | </execution>
|
---|
186 | </executions>
|
---|
187 | </plugin>
|
---|
188 |
|
---|
189 | <plugin>
|
---|
190 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
191 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
192 | <version>3.2.3</version>
|
---|
193 | <executions>
|
---|
194 | <execution>
|
---|
195 | <id>build-info</id>
|
---|
196 | <goals>
|
---|
197 | <goal>publish</goal>
|
---|
198 | </goals>
|
---|
199 | <configuration>
|
---|
200 | <publisher>
|
---|
201 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
202 | <repoKey>libs-release</repoKey>
|
---|
203 | <username>wouter</username>
|
---|
204 | <password>${passwd}</password>
|
---|
205 | </publisher>
|
---|
206 | </configuration>
|
---|
207 | </execution>
|
---|
208 | </executions>
|
---|
209 | </plugin>
|
---|
210 |
|
---|
211 | <plugin>
|
---|
212 | <groupId>org.apache.maven.plugins</groupId>
|
---|
213 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
214 | <version>2.4.1</version>
|
---|
215 | <configuration>
|
---|
216 | <!-- get all project dependencies -->
|
---|
217 | <descriptorRefs>
|
---|
218 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
219 | </descriptorRefs>
|
---|
220 | <archive>
|
---|
221 | <manifest>
|
---|
222 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
223 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
224 | </manifest>
|
---|
225 | </archive>
|
---|
226 | </configuration>
|
---|
227 | <executions>
|
---|
228 | <execution>
|
---|
229 | <id>make-assembly</id>
|
---|
230 | <!-- bind to the packaging phase -->
|
---|
231 | <phase>package</phase>
|
---|
232 | <goals>
|
---|
233 | <goal>single</goal>
|
---|
234 | </goals>
|
---|
235 | </execution>
|
---|
236 | </executions>
|
---|
237 | </plugin>
|
---|
238 |
|
---|
239 |
|
---|
240 | </plugins>
|
---|
241 |
|
---|
242 | <pluginManagement>
|
---|
243 | <plugins>
|
---|
244 | <plugin>
|
---|
245 | <groupId>org.eclipse.m2e</groupId>
|
---|
246 | <artifactId>lifecycle-mapping</artifactId>
|
---|
247 | <version>1.0.0</version>
|
---|
248 | <configuration>
|
---|
249 | <lifecycleMappingMetadata>
|
---|
250 | <pluginExecutions>
|
---|
251 | <pluginExecution>
|
---|
252 | <pluginExecutionFilter>
|
---|
253 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
254 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
255 | <versionRange>[1.0.0,)</versionRange>
|
---|
256 | <goals>
|
---|
257 | <goal>publish</goal>
|
---|
258 | </goals>
|
---|
259 | </pluginExecutionFilter>
|
---|
260 | <action>
|
---|
261 | <ignore />
|
---|
262 | </action>
|
---|
263 | </pluginExecution>
|
---|
264 | </pluginExecutions>
|
---|
265 | </lifecycleMappingMetadata>
|
---|
266 | </configuration>
|
---|
267 | </plugin>
|
---|
268 | </plugins>
|
---|
269 | </pluginManagement>
|
---|
270 |
|
---|
271 |
|
---|
272 | </build>
|
---|
273 | </project>
|
---|