[346] | 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>
|
---|
[403] | 5 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
| 6 | <artifactId>core</artifactId>
|
---|
[346] | 7 | <version>1.0.0</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>
|
---|
[354] | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
[415] | 16 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
[346] | 17 | </properties>
|
---|
| 18 |
|
---|
[410] | 19 |
|
---|
| 20 |
|
---|
| 21 | <distributionManagement>
|
---|
| 22 | <repository>
|
---|
| 23 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
[595] | 24 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
[410] | 25 | </repository>
|
---|
| 26 | </distributionManagement>
|
---|
| 27 |
|
---|
| 28 | <repositories>
|
---|
| 29 | <repository>
|
---|
| 30 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
[595] | 31 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
[410] | 32 | <snapshots>
|
---|
| 33 | <enabled>false</enabled>
|
---|
| 34 | </snapshots>
|
---|
| 35 | </repository>
|
---|
| 36 | </repositories>
|
---|
| 37 |
|
---|
| 38 | <pluginRepositories>
|
---|
| 39 | <pluginRepository>
|
---|
| 40 | <id>central</id>
|
---|
[595] | 41 | <url>https://repo1.maven.org/maven2</url>
|
---|
[410] | 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 |
|
---|
[346] | 50 | <dependencies>
|
---|
| 51 | <dependency>
|
---|
| 52 | <groupId>com.github.javaparser</groupId>
|
---|
| 53 | <artifactId>javaparser-symbol-solver-core</artifactId>
|
---|
[534] | 54 | <version>3.24.8</version>
|
---|
[346] | 55 | </dependency>
|
---|
| 56 | <dependency>
|
---|
| 57 | <groupId>junit</groupId>
|
---|
| 58 | <artifactId>junit</artifactId>
|
---|
| 59 | <version>4.12</version>
|
---|
| 60 | <scope>test</scope>
|
---|
| 61 | </dependency>
|
---|
[354] | 62 |
|
---|
[361] | 63 | <!-- FIXME this should be removed when we have separated the utilities
|
---|
| 64 | translator -->
|
---|
[354] | 65 | <dependency>
|
---|
| 66 | <groupId>tudelft.utilities</groupId>
|
---|
[361] | 67 | <artifactId>utilities</artifactId>
|
---|
[803] | 68 | <version>1.2.5</version>
|
---|
[361] | 69 | </dependency>
|
---|
| 70 |
|
---|
| 71 | <dependency>
|
---|
| 72 | <groupId>tudelft.utilities</groupId>
|
---|
[528] | 73 | <artifactId>logging</artifactId>
|
---|
| 74 | <version>1.0.2</version>
|
---|
| 75 | </dependency>
|
---|
[800] | 76 |
|
---|
[528] | 77 | <dependency>
|
---|
| 78 | <groupId>tudelft.utilities</groupId>
|
---|
[354] | 79 | <artifactId>pyrunner</artifactId>
|
---|
[684] | 80 | <version>1.1.0</version>
|
---|
[354] | 81 | </dependency>
|
---|
| 82 |
|
---|
| 83 | <dependency>
|
---|
[800] | 84 | <groupId>org.eclipse.jdt</groupId>
|
---|
| 85 | <artifactId>org.eclipse.jdt.annotation</artifactId>
|
---|
| 86 | <version>2.3.0</version>
|
---|
| 87 | </dependency>
|
---|
| 88 |
|
---|
| 89 | <dependency>
|
---|
[346] | 90 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
| 91 | <artifactId>jackson-core</artifactId>
|
---|
| 92 | <version>${jackson-2-version}</version>
|
---|
| 93 | <scope>test</scope>
|
---|
| 94 | </dependency>
|
---|
| 95 |
|
---|
| 96 | <!-- Just the annotations; use this dependency if you want to attach annotations
|
---|
| 97 | to classes without connecting them to the code. -->
|
---|
| 98 | <dependency>
|
---|
| 99 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
| 100 | <artifactId>jackson-annotations</artifactId>
|
---|
| 101 | <version>${jackson-2-version}</version>
|
---|
| 102 | <scope>test</scope>
|
---|
| 103 | </dependency>
|
---|
| 104 |
|
---|
| 105 | <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
|
---|
| 106 | <dependency>
|
---|
| 107 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
| 108 | <artifactId>jackson-databind</artifactId>
|
---|
| 109 | <version>${jackson-2-version}</version>
|
---|
| 110 | <scope>test</scope>
|
---|
| 111 | </dependency>
|
---|
| 112 |
|
---|
| 113 | <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
|
---|
| 114 | <dependency>
|
---|
| 115 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
---|
| 116 | <artifactId>jackson-dataformat-smile</artifactId>
|
---|
| 117 | <version>${jackson-2-version}</version>
|
---|
| 118 | <scope>test</scope>
|
---|
| 119 | </dependency>
|
---|
| 120 | <!-- JAX-RS provider -->
|
---|
| 121 | <dependency>
|
---|
| 122 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
---|
| 123 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
---|
| 124 | <version>${jackson-2-version}</version>
|
---|
| 125 | <scope>test</scope>
|
---|
| 126 | </dependency>
|
---|
| 127 | <!-- Support for JAX-B annotations as additional configuration -->
|
---|
| 128 | <dependency>
|
---|
| 129 | <groupId>com.fasterxml.jackson.module</groupId>
|
---|
| 130 | <artifactId>jackson-module-jaxb-annotations</artifactId>
|
---|
| 131 | <version>${jackson-2-version}</version>
|
---|
| 132 | <scope>test</scope>
|
---|
| 133 | </dependency>
|
---|
| 134 |
|
---|
[503] | 135 | <dependency>
|
---|
| 136 | <groupId>commons-io</groupId>
|
---|
| 137 | <artifactId>commons-io</artifactId>
|
---|
| 138 | <version>2.13.0</version>
|
---|
| 139 | </dependency>
|
---|
[354] | 140 |
|
---|
[503] | 141 |
|
---|
| 142 |
|
---|
[346] | 143 | </dependencies>
|
---|
[503] | 144 |
|
---|
[410] | 145 | <build>
|
---|
| 146 |
|
---|
[528] | 147 |
|
---|
[410] | 148 | <plugins>
|
---|
[528] | 149 |
|
---|
| 150 | <!-- This adds additional source packages -->
|
---|
[410] | 151 | <plugin>
|
---|
[528] | 152 | <groupId>org.codehaus.mojo</groupId>
|
---|
| 153 | <artifactId>build-helper-maven-plugin</artifactId>
|
---|
| 154 | <version>1.9.1</version>
|
---|
| 155 | <executions>
|
---|
| 156 | <execution>
|
---|
| 157 | <id>add-test-source</id>
|
---|
| 158 | <phase>generate-test-sources</phase>
|
---|
| 159 | <goals>
|
---|
| 160 | <goal>add-test-source</goal>
|
---|
| 161 | </goals>
|
---|
| 162 | <configuration>
|
---|
| 163 | <sources>
|
---|
| 164 | <source>src/test/overload</source>
|
---|
[606] | 165 | <source>src/test/overloadconstructor</source>
|
---|
[670] | 166 | <source>src/test/hasnext</source>
|
---|
[677] | 167 | <source>src/test/iterator</source>
|
---|
[528] | 168 | </sources>
|
---|
| 169 | </configuration>
|
---|
| 170 | </execution>
|
---|
| 171 | </executions>
|
---|
| 172 | </plugin>
|
---|
| 173 |
|
---|
| 174 | <plugin>
|
---|
[410] | 175 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 176 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 177 | <version>3.8.0</version>
|
---|
| 178 | <configuration>
|
---|
| 179 | <source>1.8</source>
|
---|
| 180 | <target>1.8</target>
|
---|
| 181 | </configuration>
|
---|
| 182 | </plugin>
|
---|
| 183 |
|
---|
| 184 | <plugin>
|
---|
| 185 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 186 | <artifactId>maven-source-plugin</artifactId>
|
---|
| 187 | <version>3.1.0</version>
|
---|
| 188 | <executions>
|
---|
| 189 | <execution>
|
---|
| 190 | <id>attach-sources</id>
|
---|
| 191 | <goals>
|
---|
| 192 | <goal>jar</goal>
|
---|
| 193 | </goals>
|
---|
| 194 | </execution>
|
---|
| 195 | </executions>
|
---|
| 196 | </plugin>
|
---|
| 197 |
|
---|
| 198 | <plugin>
|
---|
| 199 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 200 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
| 201 | <version>2.10.1</version>
|
---|
| 202 | <executions>
|
---|
| 203 | <execution>
|
---|
| 204 | <id>attach-javadocs</id>
|
---|
| 205 | <goals>
|
---|
| 206 | <goal>jar</goal>
|
---|
| 207 | </goals>
|
---|
| 208 | <configuration>
|
---|
| 209 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
| 210 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
| 211 | </configuration>
|
---|
| 212 | </execution>
|
---|
| 213 | </executions>
|
---|
| 214 | </plugin>
|
---|
| 215 |
|
---|
| 216 | <plugin>
|
---|
| 217 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 218 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 219 | <version>3.2.3</version>
|
---|
| 220 | <executions>
|
---|
| 221 | <execution>
|
---|
| 222 | <id>build-info</id>
|
---|
| 223 | <goals>
|
---|
| 224 | <goal>publish</goal>
|
---|
| 225 | </goals>
|
---|
| 226 | <configuration>
|
---|
| 227 | <publisher>
|
---|
| 228 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 229 | <repoKey>libs-release</repoKey>
|
---|
| 230 | <username>wouter</username>
|
---|
| 231 | <password>${passwd}</password>
|
---|
| 232 | </publisher>
|
---|
| 233 | </configuration>
|
---|
| 234 | </execution>
|
---|
| 235 | </executions>
|
---|
| 236 | </plugin>
|
---|
| 237 |
|
---|
| 238 | <plugin>
|
---|
| 239 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[612] | 240 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
| 241 | <version>3.0.0-M2</version>
|
---|
| 242 | <executions>
|
---|
| 243 | <execution>
|
---|
| 244 | <id>enforce</id>
|
---|
| 245 | <configuration>
|
---|
| 246 | <rules>
|
---|
| 247 | <dependencyConvergence />
|
---|
| 248 | </rules>
|
---|
| 249 | </configuration>
|
---|
| 250 | <goals>
|
---|
| 251 | <goal>enforce</goal>
|
---|
| 252 | </goals>
|
---|
| 253 | </execution>
|
---|
| 254 | </executions>
|
---|
| 255 | </plugin>
|
---|
| 256 |
|
---|
| 257 |
|
---|
[800] | 258 |
|
---|
[612] | 259 | <plugin>
|
---|
| 260 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[410] | 261 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 262 | <version>2.4.1</version>
|
---|
| 263 | <configuration>
|
---|
| 264 | <!-- get all project dependencies -->
|
---|
| 265 | <descriptorRefs>
|
---|
| 266 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 267 | </descriptorRefs>
|
---|
| 268 | <archive>
|
---|
| 269 | <manifest>
|
---|
| 270 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 271 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 272 | </manifest>
|
---|
| 273 | </archive>
|
---|
| 274 | </configuration>
|
---|
| 275 | <executions>
|
---|
| 276 | <execution>
|
---|
| 277 | <id>make-assembly</id>
|
---|
| 278 | <!-- bind to the packaging phase -->
|
---|
| 279 | <phase>package</phase>
|
---|
| 280 | <goals>
|
---|
| 281 | <goal>single</goal>
|
---|
| 282 | </goals>
|
---|
| 283 | </execution>
|
---|
| 284 | </executions>
|
---|
| 285 | </plugin>
|
---|
| 286 |
|
---|
| 287 |
|
---|
| 288 | </plugins>
|
---|
| 289 |
|
---|
| 290 | <pluginManagement>
|
---|
| 291 | <plugins>
|
---|
| 292 | <plugin>
|
---|
| 293 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 294 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 295 | <version>1.0.0</version>
|
---|
| 296 | <configuration>
|
---|
| 297 | <lifecycleMappingMetadata>
|
---|
| 298 | <pluginExecutions>
|
---|
| 299 | <pluginExecution>
|
---|
| 300 | <pluginExecutionFilter>
|
---|
| 301 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 302 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 303 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 304 | <goals>
|
---|
| 305 | <goal>publish</goal>
|
---|
| 306 | </goals>
|
---|
| 307 | </pluginExecutionFilter>
|
---|
| 308 | <action>
|
---|
| 309 | <ignore />
|
---|
| 310 | </action>
|
---|
| 311 | </pluginExecution>
|
---|
| 312 | </pluginExecutions>
|
---|
| 313 | </lifecycleMappingMetadata>
|
---|
| 314 | </configuration>
|
---|
| 315 | </plugin>
|
---|
| 316 | </plugins>
|
---|
| 317 | </pluginManagement>
|
---|
| 318 |
|
---|
| 319 |
|
---|
| 320 | </build>
|
---|
[503] | 321 |
|
---|
[346] | 322 | </project> |
---|