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