source: voting/pom.xml@ 33

Last change on this file since 33 was 33, checked in by bart, 3 years ago

Major update. Changes in json serialization, maven dependencies and BOA. Fix in stand-alone runner.

File size: 7.1 KB
Line 
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.0.0</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.12.3</jackson-2-version>
19 <geniusweb.version>2.0.0</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.0</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-all</artifactId>
103 <version>1.9.5</version>
104 <scope>test</scope>
105 </dependency>
106
107
108 </dependencies>
109
110
111 <repositories>
112 <repository>
113 <id>artifactory.ewi.tudelft.nl</id>
114 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
115 <snapshots>
116 <enabled>false</enabled>
117 </snapshots>
118 </repository>
119 </repositories>
120
121 <pluginRepositories>
122 <pluginRepository>
123 <id>central</id>
124 <url>https://repo1.maven.org/maven2</url>
125 </pluginRepository>
126 </pluginRepositories>
127
128 <build>
129
130 <plugins>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-compiler-plugin</artifactId>
134 <version>3.8.0</version>
135 <configuration>
136 <source>1.8</source>
137 <target>1.8</target>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-enforcer-plugin</artifactId>
143 <version>3.0.0-M2</version>
144 <executions>
145 <execution>
146 <id>enforce</id>
147 <configuration>
148 <rules>
149 <dependencyConvergence />
150 </rules>
151 </configuration>
152 <goals>
153 <goal>enforce</goal>
154 </goals>
155 </execution>
156 </executions>
157 </plugin>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-javadoc-plugin</artifactId>
161 <version>3.2.0</version>
162 <executions>
163 <execution>
164 <id>attach-javadocs</id>
165 <goals>
166 <goal>jar</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
171
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-source-plugin</artifactId>
175 <version>3.1.0</version>
176 <executions>
177 <execution>
178 <id>attach-sources</id>
179 <goals>
180 <goal>jar</goal>
181 </goals>
182 </execution>
183 </executions>
184 </plugin>
185
186 <plugin>
187 <groupId>org.jfrog.buildinfo</groupId>
188 <artifactId>artifactory-maven-plugin</artifactId>
189 <version>3.2.3</version>
190 <executions>
191 <execution>
192 <id>build-info</id>
193 <goals>
194 <goal>publish</goal>
195 </goals>
196 <configuration>
197 <publisher>
198 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
199 <repoKey>libs-release</repoKey>
200 <username>wouter</username>
201 <password>${passwd}</password>
202 </publisher>
203 </configuration>
204 </execution>
205 </executions>
206 </plugin>
207
208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-assembly-plugin</artifactId>
211 <version>2.4.1</version>
212 <configuration>
213 <!-- get all project dependencies -->
214 <descriptorRefs>
215 <descriptorRef>jar-with-dependencies</descriptorRef>
216 </descriptorRefs>
217 <archive>
218 <manifest>
219 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
220 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
221 </manifest>
222 </archive>
223 </configuration>
224 <executions>
225 <execution>
226 <id>make-assembly</id>
227 <!-- bind to the packaging phase -->
228 <phase>package</phase>
229 <goals>
230 <goal>single</goal>
231 </goals>
232 </execution>
233 </executions>
234 </plugin>
235
236
237 </plugins>
238
239 <pluginManagement>
240 <plugins>
241 <plugin>
242 <groupId>org.eclipse.m2e</groupId>
243 <artifactId>lifecycle-mapping</artifactId>
244 <version>1.0.0</version>
245 <configuration>
246 <lifecycleMappingMetadata>
247 <pluginExecutions>
248 <pluginExecution>
249 <pluginExecutionFilter>
250 <groupId>org.jfrog.buildinfo</groupId>
251 <artifactId>artifactory-maven-plugin</artifactId>
252 <versionRange>[1.0.0,)</versionRange>
253 <goals>
254 <goal>publish</goal>
255 </goals>
256 </pluginExecutionFilter>
257 <action>
258 <ignore />
259 </action>
260 </pluginExecution>
261 </pluginExecutions>
262 </lifecycleMappingMetadata>
263 </configuration>
264 </plugin>
265 </plugins>
266 </pluginManagement>
267
268
269 </build>
270</project>
Note: See TracBrowser for help on using the repository browser.