source: utilities/pom.xml@ 255

Last change on this file since 255 was 255, checked in by wouter, 3 years ago

#3 added RandomIntegers2 class

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