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>randompyparty</artifactId>
|
---|
8 | <version>2.0.5</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 | <dependency>
|
---|
32 | <groupId>geniusweb</groupId>
|
---|
33 | <artifactId>pythonadapter</artifactId>
|
---|
34 | <version>${geniusweb.version}</version>
|
---|
35 | </dependency>
|
---|
36 |
|
---|
37 | <dependency>
|
---|
38 | <groupId>geniusweb</groupId>
|
---|
39 | <artifactId>bidspace</artifactId>
|
---|
40 | <version>${geniusweb.version}</version>
|
---|
41 | </dependency>
|
---|
42 | <dependency>
|
---|
43 | <groupId>geniusweb</groupId>
|
---|
44 | <artifactId>profileconnection</artifactId>
|
---|
45 | <version>${geniusweb.version}</version>
|
---|
46 | </dependency>
|
---|
47 | <dependency>
|
---|
48 | <groupId>tudelft.utilities</groupId>
|
---|
49 | <artifactId>utilities</artifactId>
|
---|
50 | <version>1.1.0</version>
|
---|
51 | </dependency>
|
---|
52 |
|
---|
53 |
|
---|
54 | <!-- the core, which includes Streaming API, shared low-level abstractions
|
---|
55 | (but NOT data-binding) -->
|
---|
56 | <dependency>
|
---|
57 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
58 | <artifactId>jackson-core</artifactId>
|
---|
59 | <version>${jackson-2-version}</version>
|
---|
60 | <scope>test</scope>
|
---|
61 | </dependency>
|
---|
62 | <!-- Just the annotations; use this dependency if you want to attach annotations
|
---|
63 | to classes without connecting them to the code. -->
|
---|
64 | <dependency>
|
---|
65 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
66 | <artifactId>jackson-annotations</artifactId>
|
---|
67 | <version>${jackson-2-version}</version>
|
---|
68 | <scope>test</scope>
|
---|
69 | </dependency>
|
---|
70 | <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
|
---|
71 | <dependency>
|
---|
72 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
73 | <artifactId>jackson-databind</artifactId>
|
---|
74 | <version>${jackson-2-version}</version>
|
---|
75 | <scope>test</scope>
|
---|
76 | </dependency>
|
---|
77 |
|
---|
78 | <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
|
---|
79 | <dependency>
|
---|
80 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
---|
81 | <artifactId>jackson-dataformat-smile</artifactId>
|
---|
82 | <version>${jackson-2-version}</version>
|
---|
83 | <scope>test</scope>
|
---|
84 | </dependency>
|
---|
85 | <!-- JAX-RS provider -->
|
---|
86 | <dependency>
|
---|
87 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
---|
88 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
---|
89 | <version>${jackson-2-version}</version>
|
---|
90 | <scope>test</scope>
|
---|
91 | </dependency>
|
---|
92 | <!-- Support for JAX-B annotations as additional configuration -->
|
---|
93 | <dependency>
|
---|
94 | <groupId>com.fasterxml.jackson.module</groupId>
|
---|
95 | <artifactId>jackson-module-jaxb-annotations</artifactId>
|
---|
96 | <version>${jackson-2-version}</version>
|
---|
97 | <scope>test</scope>
|
---|
98 | </dependency>
|
---|
99 | <dependency>
|
---|
100 | <groupId>junit</groupId>
|
---|
101 | <artifactId>junit</artifactId>
|
---|
102 | <version>4.12</version>
|
---|
103 | <scope>test</scope>
|
---|
104 | </dependency>
|
---|
105 | <dependency>
|
---|
106 | <groupId>org.mockito</groupId>
|
---|
107 | <artifactId>mockito-core</artifactId>
|
---|
108 | <version>3.11.2</version>
|
---|
109 | <scope>test</scope>
|
---|
110 | </dependency>
|
---|
111 | <dependency>
|
---|
112 | <groupId>tudelft.utilities</groupId>
|
---|
113 | <artifactId>junit</artifactId>
|
---|
114 | <version>1.0.5</version>
|
---|
115 | <scope>test</scope>
|
---|
116 | </dependency>
|
---|
117 | </dependencies>
|
---|
118 |
|
---|
119 |
|
---|
120 | <repositories>
|
---|
121 | <repository>
|
---|
122 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
123 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
124 | <snapshots>
|
---|
125 | <enabled>false</enabled>
|
---|
126 | </snapshots>
|
---|
127 | </repository>
|
---|
128 | </repositories>
|
---|
129 |
|
---|
130 | <pluginRepositories>
|
---|
131 | <pluginRepository>
|
---|
132 | <id>central</id>
|
---|
133 | <url>https://repo1.maven.org/maven2</url>
|
---|
134 | </pluginRepository>
|
---|
135 | <pluginRepository>
|
---|
136 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
137 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
138 | </pluginRepository>
|
---|
139 | </pluginRepositories>
|
---|
140 |
|
---|
141 |
|
---|
142 | <build>
|
---|
143 |
|
---|
144 | <plugins>
|
---|
145 | <plugin>
|
---|
146 | <groupId>org.apache.maven.plugins</groupId>
|
---|
147 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
148 | <version>3.8.0</version>
|
---|
149 | <configuration>
|
---|
150 | <source>1.8</source>
|
---|
151 | <target>1.8</target>
|
---|
152 | </configuration>
|
---|
153 | </plugin>
|
---|
154 | <plugin>
|
---|
155 | <groupId>org.apache.maven.plugins</groupId>
|
---|
156 | <artifactId>maven-source-plugin</artifactId>
|
---|
157 | <version>3.1.0</version>
|
---|
158 | <executions>
|
---|
159 | <execution>
|
---|
160 | <id>attach-sources</id>
|
---|
161 | <goals>
|
---|
162 | <goal>jar</goal>
|
---|
163 | </goals>
|
---|
164 | </execution>
|
---|
165 | </executions>
|
---|
166 | </plugin>
|
---|
167 |
|
---|
168 | <plugin>
|
---|
169 | <groupId>org.apache.maven.plugins</groupId>
|
---|
170 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
171 | <version>3.2.0</version>
|
---|
172 | <executions>
|
---|
173 | <execution>
|
---|
174 | <id>attach-javadocs</id>
|
---|
175 | <goals>
|
---|
176 | <goal>jar</goal>
|
---|
177 | </goals>
|
---|
178 | </execution>
|
---|
179 | </executions>
|
---|
180 | </plugin>
|
---|
181 |
|
---|
182 | <plugin>
|
---|
183 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
184 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
185 | <version>3.2.3</version>
|
---|
186 | <executions>
|
---|
187 | <execution>
|
---|
188 | <id>build-info</id>
|
---|
189 | <goals>
|
---|
190 | <goal>publish</goal>
|
---|
191 | </goals>
|
---|
192 | <configuration>
|
---|
193 | <publisher>
|
---|
194 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
195 | <repoKey>libs-release</repoKey>
|
---|
196 | <username>wouter</username>
|
---|
197 | <password>${passwd}</password>
|
---|
198 | </publisher>
|
---|
199 | </configuration>
|
---|
200 | </execution>
|
---|
201 | </executions>
|
---|
202 | </plugin>
|
---|
203 |
|
---|
204 | <plugin>
|
---|
205 | <groupId>org.apache.maven.plugins</groupId>
|
---|
206 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
207 | <version>2.4.1</version>
|
---|
208 | <configuration>
|
---|
209 | <!-- get all project dependencies -->
|
---|
210 | <descriptorRefs>
|
---|
211 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
212 | </descriptorRefs>
|
---|
213 | <archive>
|
---|
214 | <manifest>
|
---|
215 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
216 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
217 | <mainClass>geniusweb.exampleparties.randompartypy.PartyAdapter</mainClass>
|
---|
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>
|
---|