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