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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
4 | <modelVersion>4.0.0</modelVersion>
|
---|
5 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
6 | <artifactId>tudutils-t</artifactId>
|
---|
7 | <version>1.0.4</version>
|
---|
8 |
|
---|
9 | <properties>
|
---|
10 | <!-- Tell Maven we want to use Java 8 -->
|
---|
11 | <maven.compiler.source>1.8</maven.compiler.source>
|
---|
12 | <maven.compiler.target>1.8</maven.compiler.target>
|
---|
13 | <!-- Tell Maven to treat all source files as UTF-8 -->
|
---|
14 | <jackson-2-version>2.12.3</jackson-2-version>
|
---|
15 | <j2p-version>${project.version}</j2p-version>
|
---|
16 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
17 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
18 | </properties>
|
---|
19 |
|
---|
20 |
|
---|
21 | <distributionManagement>
|
---|
22 | <repository>
|
---|
23 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
24 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
25 | </repository>
|
---|
26 | </distributionManagement>
|
---|
27 |
|
---|
28 | <repositories>
|
---|
29 | <repository>
|
---|
30 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
31 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
32 | <snapshots>
|
---|
33 | <enabled>false</enabled>
|
---|
34 | </snapshots>
|
---|
35 | </repository>
|
---|
36 | </repositories>
|
---|
37 |
|
---|
38 | <pluginRepositories>
|
---|
39 | <pluginRepository>
|
---|
40 | <id>central</id>
|
---|
41 | <url>https://repo1.maven.org/maven2</url>
|
---|
42 | </pluginRepository>
|
---|
43 | <pluginRepository>
|
---|
44 | <id>jfrog-plugins-release</id>
|
---|
45 | <name>plugins-release</name>
|
---|
46 | <url>https://oss.jfrog.org/artifactory/plugins-release</url>
|
---|
47 | </pluginRepository>
|
---|
48 | </pluginRepositories>
|
---|
49 |
|
---|
50 |
|
---|
51 | <dependencies>
|
---|
52 | <dependency>
|
---|
53 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
54 | <artifactId>core</artifactId>
|
---|
55 | <version>${j2p-version}</version>
|
---|
56 | </dependency>
|
---|
57 | <dependency>
|
---|
58 | <groupId>tudelft.utilities</groupId>
|
---|
59 | <artifactId>logging</artifactId>
|
---|
60 | <version>1.1.0</version>
|
---|
61 | </dependency>
|
---|
62 | <dependency>
|
---|
63 | <groupId>junit</groupId>
|
---|
64 | <artifactId>junit</artifactId>
|
---|
65 | <version>4.12</version>
|
---|
66 | <scope>test</scope>
|
---|
67 | </dependency>
|
---|
68 |
|
---|
69 |
|
---|
70 |
|
---|
71 | <dependency>
|
---|
72 | <groupId>tudelft.utilities</groupId>
|
---|
73 | <artifactId>pyrunner</artifactId>
|
---|
74 | <version>1.2.1</version>
|
---|
75 | <scope>test</scope>
|
---|
76 | </dependency>
|
---|
77 |
|
---|
78 | <dependency>
|
---|
79 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
80 | <artifactId>jackson-core</artifactId>
|
---|
81 | <version>${jackson-2-version}</version>
|
---|
82 | <scope>test</scope>
|
---|
83 | </dependency>
|
---|
84 |
|
---|
85 | <!-- Just the annotations; use this dependency if you want to attach annotations
|
---|
86 | to classes without connecting them to the code. -->
|
---|
87 | <dependency>
|
---|
88 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
89 | <artifactId>jackson-annotations</artifactId>
|
---|
90 | <version>${jackson-2-version}</version>
|
---|
91 | <scope>test</scope>
|
---|
92 | </dependency>
|
---|
93 |
|
---|
94 | <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
|
---|
95 | <dependency>
|
---|
96 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
97 | <artifactId>jackson-databind</artifactId>
|
---|
98 | <version>${jackson-2-version}</version>
|
---|
99 | <scope>test</scope>
|
---|
100 | </dependency>
|
---|
101 |
|
---|
102 | <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
|
---|
103 | <dependency>
|
---|
104 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
---|
105 | <artifactId>jackson-dataformat-smile</artifactId>
|
---|
106 | <version>${jackson-2-version}</version>
|
---|
107 | <scope>test</scope>
|
---|
108 | </dependency>
|
---|
109 | <!-- JAX-RS provider -->
|
---|
110 | <dependency>
|
---|
111 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
---|
112 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
---|
113 | <version>${jackson-2-version}</version>
|
---|
114 | <scope>test</scope>
|
---|
115 | </dependency>
|
---|
116 | <!-- Support for JAX-B annotations as additional configuration -->
|
---|
117 | <dependency>
|
---|
118 | <groupId>com.fasterxml.jackson.module</groupId>
|
---|
119 | <artifactId>jackson-module-jaxb-annotations</artifactId>
|
---|
120 | <version>${jackson-2-version}</version>
|
---|
121 | <scope>test</scope>
|
---|
122 | </dependency>
|
---|
123 |
|
---|
124 |
|
---|
125 | </dependencies>
|
---|
126 |
|
---|
127 |
|
---|
128 | <build>
|
---|
129 |
|
---|
130 | <plugins>
|
---|
131 | <plugin>
|
---|
132 | <groupId>org.apache.maven.plugins</groupId>
|
---|
133 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
134 | <version>3.8.0</version>
|
---|
135 | <configuration>
|
---|
136 | <source>1.8</source>
|
---|
137 | <target>1.8</target>
|
---|
138 | </configuration>
|
---|
139 | </plugin>
|
---|
140 |
|
---|
141 | <plugin>
|
---|
142 | <groupId>org.apache.maven.plugins</groupId>
|
---|
143 | <artifactId>maven-source-plugin</artifactId>
|
---|
144 | <version>3.1.0</version>
|
---|
145 | <executions>
|
---|
146 | <execution>
|
---|
147 | <id>attach-sources</id>
|
---|
148 | <goals>
|
---|
149 | <goal>jar</goal>
|
---|
150 | </goals>
|
---|
151 | </execution>
|
---|
152 | </executions>
|
---|
153 | </plugin>
|
---|
154 |
|
---|
155 | <plugin>
|
---|
156 | <groupId>org.apache.maven.plugins</groupId>
|
---|
157 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
158 | <version>2.10.1</version>
|
---|
159 | <executions>
|
---|
160 | <execution>
|
---|
161 | <id>attach-javadocs</id>
|
---|
162 | <goals>
|
---|
163 | <goal>jar</goal>
|
---|
164 | </goals>
|
---|
165 | <configuration>
|
---|
166 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
167 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
168 | </configuration>
|
---|
169 | </execution>
|
---|
170 | </executions>
|
---|
171 | </plugin>
|
---|
172 |
|
---|
173 | <plugin>
|
---|
174 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
175 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
176 | <version>3.6.1</version>
|
---|
177 | <executions>
|
---|
178 | <execution>
|
---|
179 | <id>build-info</id>
|
---|
180 | <goals>
|
---|
181 | <goal>publish</goal>
|
---|
182 | </goals>
|
---|
183 | <configuration>
|
---|
184 | <publisher>
|
---|
185 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
186 | <repoKey>libs-release</repoKey>
|
---|
187 | <username>wouter</username>
|
---|
188 | <password>${passwd}</password>
|
---|
189 | </publisher>
|
---|
190 | </configuration>
|
---|
191 | </execution>
|
---|
192 | </executions>
|
---|
193 | </plugin>
|
---|
194 |
|
---|
195 | <plugin>
|
---|
196 | <groupId>org.apache.maven.plugins</groupId>
|
---|
197 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
198 | <version>2.4.1</version>
|
---|
199 | <configuration>
|
---|
200 | <!-- get all project dependencies -->
|
---|
201 | <descriptorRefs>
|
---|
202 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
203 | </descriptorRefs>
|
---|
204 | <archive>
|
---|
205 | <manifest>
|
---|
206 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
207 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
208 | </manifest>
|
---|
209 | </archive>
|
---|
210 | </configuration>
|
---|
211 | <executions>
|
---|
212 | <execution>
|
---|
213 | <id>make-assembly</id>
|
---|
214 | <!-- bind to the packaging phase -->
|
---|
215 | <phase>package</phase>
|
---|
216 | <goals>
|
---|
217 | <goal>single</goal>
|
---|
218 | </goals>
|
---|
219 | </execution>
|
---|
220 | </executions>
|
---|
221 | </plugin>
|
---|
222 |
|
---|
223 |
|
---|
224 | </plugins>
|
---|
225 |
|
---|
226 | <pluginManagement>
|
---|
227 | <plugins>
|
---|
228 | <plugin>
|
---|
229 | <groupId>org.eclipse.m2e</groupId>
|
---|
230 | <artifactId>lifecycle-mapping</artifactId>
|
---|
231 | <version>1.0.0</version>
|
---|
232 | <configuration>
|
---|
233 | <lifecycleMappingMetadata>
|
---|
234 | <pluginExecutions>
|
---|
235 | <pluginExecution>
|
---|
236 | <pluginExecutionFilter>
|
---|
237 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
238 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
239 | <versionRange>[1.0.0,)</versionRange>
|
---|
240 | <goals>
|
---|
241 | <goal>publish</goal>
|
---|
242 | </goals>
|
---|
243 | </pluginExecutionFilter>
|
---|
244 | <action>
|
---|
245 | <ignore />
|
---|
246 | </action>
|
---|
247 | </pluginExecution>
|
---|
248 | </pluginExecutions>
|
---|
249 | </lifecycleMappingMetadata>
|
---|
250 | </configuration>
|
---|
251 | </plugin>
|
---|
252 | </plugins>
|
---|
253 | </pluginManagement>
|
---|
254 |
|
---|
255 |
|
---|
256 | </build>
|
---|
257 |
|
---|
258 | </project> |
---|