source: utilities/pom.xml@ 770

Last change on this file since 770 was 641, checked in by wouter, 13 months ago

#221 zippedResource free resources

File size: 7.0 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>tudelft.utilities</groupId>
7 <artifactId>utilities</artifactId>
8 <version>1.2.4</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 </properties>
20
21
22 <dependencies>
23 <dependency>
24 <groupId>junit</groupId>
25 <artifactId>junit</artifactId>
26 <version>4.12</version>
27 <scope>test</scope>
28 </dependency>
29
30
31 <dependency>
32 <groupId>org.mockito</groupId>
33 <artifactId>mockito-core</artifactId>
34 <version>3.11.2</version>
35 <scope>test</scope>
36 </dependency>
37
38 <dependency>
39 <groupId>tudelft.utilities</groupId>
40 <artifactId>junit</artifactId>
41 <version>1.0.5</version>
42 <scope>test</scope>
43 </dependency>
44
45
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 </dependencies>
88
89
90
91 <distributionManagement>
92 <repository>
93 <id>artifactory.ewi.tudelft.nl</id>
94 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
95 </repository>
96 </distributionManagement>
97
98
99 <repositories>
100 <repository>
101 <id>artifactory.ewi.tudelft.nl</id>
102 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
103 <snapshots>
104 <enabled>false</enabled>
105 </snapshots>
106 </repository>
107
108 </repositories>
109
110 <pluginRepositories>
111 <pluginRepository>
112 <id>artifactory.ewi.tudelft.nl</id>
113 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
114 </pluginRepository>
115 <pluginRepository>
116 <id>central</id>
117 <url>https://repo1.maven.org/maven2</url>
118 </pluginRepository>
119 </pluginRepositories>
120
121
122 <build>
123
124 <plugins>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-compiler-plugin</artifactId>
128 <version>3.6.1</version>
129 <configuration>
130 <source>1.8</source>
131 <target>1.8</target>
132 </configuration>
133 </plugin>
134
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-enforcer-plugin</artifactId>
138 <version>3.0.0-M2</version>
139 <executions>
140 <execution>
141 <id>enforce</id>
142 <configuration>
143 <rules>
144 <dependencyConvergence />
145 </rules>
146 </configuration>
147 <goals>
148 <goal>enforce</goal>
149 </goals>
150 </execution>
151 </executions>
152 </plugin>
153
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-javadoc-plugin</artifactId>
157 <version>2.10.1</version>
158 <executions>
159 <execution>
160 <id>attach-javadocs</id>
161 <goals>
162 <goal>jar</goal>
163 </goals>
164 <configuration>
165 <additionalparam>${javadoc.opts}</additionalparam>
166 <additionalparam>-Xdoclint:none</additionalparam>
167 </configuration>
168 </execution>
169 </executions>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-source-plugin</artifactId>
174 <version>3.2.1</version>
175 <executions>
176 <execution>
177 <id>attach-sources</id>
178 <goals>
179 <goal>jar</goal>
180 </goals>
181 </execution>
182 </executions>
183 </plugin>
184
185 <plugin>
186 <groupId>org.jfrog.buildinfo</groupId>
187 <artifactId>artifactory-maven-plugin</artifactId>
188 <version>3.2.3</version>
189 <executions>
190 <execution>
191 <id>build-info</id>
192 <goals>
193 <goal>publish</goal>
194 </goals>
195 <configuration>
196 <publisher>
197 <contextUrl>https://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
198 <repoKey>libs-release</repoKey>
199 <username>wouter</username>
200 <password>${passwd}</password>
201 </publisher>
202 </configuration>
203 </execution>
204 </executions>
205 </plugin>
206
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-assembly-plugin</artifactId>
210 <version>2.4.1</version>
211 <configuration>
212 <!-- get all project dependencies -->
213 <descriptorRefs>
214 <descriptorRef>jar-with-dependencies</descriptorRef>
215 </descriptorRefs>
216 <archive>
217 <manifest>
218 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
219 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
220 </manifest>
221 </archive>
222 </configuration>
223 <executions>
224 <execution>
225 <id>make-assembly</id>
226 <!-- bind to the packaging phase -->
227 <phase>package</phase>
228 <goals>
229 <goal>single</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234
235
236 </plugins>
237
238 <pluginManagement>
239 <plugins>
240 <plugin>
241 <groupId>org.eclipse.m2e</groupId>
242 <artifactId>lifecycle-mapping</artifactId>
243 <version>1.0.0</version>
244 <configuration>
245 <lifecycleMappingMetadata>
246 <pluginExecutions>
247 <pluginExecution>
248 <pluginExecutionFilter>
249 <groupId>org.jfrog.buildinfo</groupId>
250 <artifactId>artifactory-maven-plugin</artifactId>
251 <versionRange>[1.0.0,)</versionRange>
252 <goals>
253 <goal>publish</goal>
254 </goals>
255 </pluginExecutionFilter>
256 <action>
257 <ignore />
258 </action>
259 </pluginExecution>
260 </pluginExecutions>
261 </lifecycleMappingMetadata>
262 </configuration>
263 </plugin>
264 </plugins>
265 </pluginManagement>
266
267
268 </build>
269
270</project>
Note: See TracBrowser for help on using the repository browser.