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