source: utilities/pom.xml@ 219

Last change on this file since 219 was 219, checked in by wouter, 4 years ago

#88 include repository into the new collection

File size: 7.0 KB
RevLine 
[215]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
[219]6 <groupId>tudelft.utilities</groupId>
[215]7 <artifactId>utilities</artifactId>
8 <version>1.0.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>
[217]18 <jackson-2-version>2.9.10</jackson-2-version>
[215]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>
[217]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>
[215]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
[217]44
45 <!-- the core, which includes Streaming API, shared low-level abstractions
46 (but NOT data-binding) -->
[215]47 <dependency>
[217]48 <groupId>com.fasterxml.jackson.core</groupId>
49 <artifactId>jackson-core</artifactId>
50 <version>${jackson-2-version}</version>
[215]51 </dependency>
[217]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>
[215]86 </dependencies>
87
88
89
90 <distributionManagement>
91 <repository>
92 <id>artifactory.ewi.tudelft.nl</id>
[217]93 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[215]94 </repository>
95 </distributionManagement>
96
97
98 <repositories>
99 <repository>
100 <id>artifactory.ewi.tudelft.nl</id>
[217]101 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[215]102 <snapshots>
103 <enabled>false</enabled>
104 </snapshots>
105 </repository>
106
107 </repositories>
108
109 <pluginRepositories>
110 <pluginRepository>
111 <id>central</id>
112 <url>https://repo1.maven.org/</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 </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 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-javadoc-plugin</artifactId>
156 <version>2.10.1</version>
157 <executions>
158 <execution>
159 <id>attach-javadocs</id>
160 <goals>
161 <goal>jar</goal>
162 </goals>
163 <configuration>
164 <additionalparam>${javadoc.opts}</additionalparam>
165 <additionalparam>-Xdoclint:none</additionalparam>
166 </configuration>
167 </execution>
168 </executions>
169 </plugin>
[217]170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-source-plugin</artifactId>
173 <version>3.2.1</version>
174 <executions>
175 <execution>
176 <id>attach-sources</id>
177 <goals>
178 <goal>jar</goal>
179 </goals>
180 </execution>
181 </executions>
182 </plugin>
[215]183
184 <plugin>
185 <groupId>org.jfrog.buildinfo</groupId>
186 <artifactId>artifactory-maven-plugin</artifactId>
187 <version>2.6.1</version>
188 <executions>
189 <execution>
190 <id>build-info</id>
191 <goals>
192 <goal>publish</goal>
193 </goals>
194 <configuration>
195 <publisher>
[217]196 <contextUrl>https://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
[215]197 <repoKey>libs-release</repoKey>
198 <username>wouter</username>
199 <password>${passwd}</password>
200 </publisher>
201 </configuration>
202 </execution>
203 </executions>
204 </plugin>
205
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-assembly-plugin</artifactId>
209 <version>2.4.1</version>
210 <configuration>
211 <!-- get all project dependencies -->
212 <descriptorRefs>
213 <descriptorRef>jar-with-dependencies</descriptorRef>
214 </descriptorRefs>
215 <archive>
216 <manifest>
217 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
218 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
219 </manifest>
220 </archive>
221 </configuration>
222 <executions>
223 <execution>
224 <id>make-assembly</id>
225 <!-- bind to the packaging phase -->
226 <phase>package</phase>
227 <goals>
228 <goal>single</goal>
229 </goals>
230 </execution>
231 </executions>
232 </plugin>
233
234
235 </plugins>
236
237 <pluginManagement>
238 <plugins>
239 <plugin>
240 <groupId>org.eclipse.m2e</groupId>
241 <artifactId>lifecycle-mapping</artifactId>
242 <version>1.0.0</version>
243 <configuration>
244 <lifecycleMappingMetadata>
245 <pluginExecutions>
246 <pluginExecution>
247 <pluginExecutionFilter>
248 <groupId>org.jfrog.buildinfo</groupId>
249 <artifactId>artifactory-maven-plugin</artifactId>
250 <versionRange>[1.0.0,)</versionRange>
251 <goals>
252 <goal>publish</goal>
253 </goals>
254 </pluginExecutionFilter>
255 <action>
256 <ignore />
257 </action>
258 </pluginExecution>
259 </pluginExecutions>
260 </lifecycleMappingMetadata>
261 </configuration>
262 </plugin>
263 </plugins>
264 </pluginManagement>
265
266
267 </build>
268
269</project>
Note: See TracBrowser for help on using the repository browser.