[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>
|
---|
[888] | 80 | <version>1.1.2</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>
|
---|
[879] | 168 | <source>src/test/resourcestest</source>
|
---|
[528] | 169 | </sources>
|
---|
| 170 | </configuration>
|
---|
| 171 | </execution>
|
---|
| 172 | </executions>
|
---|
| 173 | </plugin>
|
---|
| 174 |
|
---|
| 175 | <plugin>
|
---|
[410] | 176 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 177 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 178 | <version>3.8.0</version>
|
---|
| 179 | <configuration>
|
---|
| 180 | <source>1.8</source>
|
---|
| 181 | <target>1.8</target>
|
---|
| 182 | </configuration>
|
---|
| 183 | </plugin>
|
---|
| 184 |
|
---|
| 185 | <plugin>
|
---|
| 186 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 187 | <artifactId>maven-source-plugin</artifactId>
|
---|
| 188 | <version>3.1.0</version>
|
---|
| 189 | <executions>
|
---|
| 190 | <execution>
|
---|
| 191 | <id>attach-sources</id>
|
---|
| 192 | <goals>
|
---|
| 193 | <goal>jar</goal>
|
---|
| 194 | </goals>
|
---|
| 195 | </execution>
|
---|
| 196 | </executions>
|
---|
| 197 | </plugin>
|
---|
| 198 |
|
---|
| 199 | <plugin>
|
---|
| 200 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 201 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
| 202 | <version>2.10.1</version>
|
---|
| 203 | <executions>
|
---|
| 204 | <execution>
|
---|
| 205 | <id>attach-javadocs</id>
|
---|
| 206 | <goals>
|
---|
| 207 | <goal>jar</goal>
|
---|
| 208 | </goals>
|
---|
| 209 | <configuration>
|
---|
| 210 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
| 211 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
| 212 | </configuration>
|
---|
| 213 | </execution>
|
---|
| 214 | </executions>
|
---|
| 215 | </plugin>
|
---|
| 216 |
|
---|
| 217 | <plugin>
|
---|
| 218 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 219 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 220 | <version>3.2.3</version>
|
---|
| 221 | <executions>
|
---|
| 222 | <execution>
|
---|
| 223 | <id>build-info</id>
|
---|
| 224 | <goals>
|
---|
| 225 | <goal>publish</goal>
|
---|
| 226 | </goals>
|
---|
| 227 | <configuration>
|
---|
| 228 | <publisher>
|
---|
| 229 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 230 | <repoKey>libs-release</repoKey>
|
---|
| 231 | <username>wouter</username>
|
---|
| 232 | <password>${passwd}</password>
|
---|
| 233 | </publisher>
|
---|
| 234 | </configuration>
|
---|
| 235 | </execution>
|
---|
| 236 | </executions>
|
---|
| 237 | </plugin>
|
---|
| 238 |
|
---|
| 239 | <plugin>
|
---|
| 240 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[612] | 241 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
| 242 | <version>3.0.0-M2</version>
|
---|
| 243 | <executions>
|
---|
| 244 | <execution>
|
---|
| 245 | <id>enforce</id>
|
---|
| 246 | <configuration>
|
---|
| 247 | <rules>
|
---|
| 248 | <dependencyConvergence />
|
---|
| 249 | </rules>
|
---|
| 250 | </configuration>
|
---|
| 251 | <goals>
|
---|
| 252 | <goal>enforce</goal>
|
---|
| 253 | </goals>
|
---|
| 254 | </execution>
|
---|
| 255 | </executions>
|
---|
| 256 | </plugin>
|
---|
| 257 |
|
---|
| 258 |
|
---|
[800] | 259 |
|
---|
[612] | 260 | <plugin>
|
---|
| 261 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[410] | 262 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 263 | <version>2.4.1</version>
|
---|
| 264 | <configuration>
|
---|
| 265 | <!-- get all project dependencies -->
|
---|
| 266 | <descriptorRefs>
|
---|
| 267 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 268 | </descriptorRefs>
|
---|
| 269 | <archive>
|
---|
| 270 | <manifest>
|
---|
| 271 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 272 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 273 | </manifest>
|
---|
| 274 | </archive>
|
---|
| 275 | </configuration>
|
---|
| 276 | <executions>
|
---|
| 277 | <execution>
|
---|
| 278 | <id>make-assembly</id>
|
---|
| 279 | <!-- bind to the packaging phase -->
|
---|
| 280 | <phase>package</phase>
|
---|
| 281 | <goals>
|
---|
| 282 | <goal>single</goal>
|
---|
| 283 | </goals>
|
---|
| 284 | </execution>
|
---|
| 285 | </executions>
|
---|
| 286 | </plugin>
|
---|
| 287 |
|
---|
| 288 |
|
---|
| 289 | </plugins>
|
---|
| 290 |
|
---|
| 291 | <pluginManagement>
|
---|
| 292 | <plugins>
|
---|
| 293 | <plugin>
|
---|
| 294 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 295 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 296 | <version>1.0.0</version>
|
---|
| 297 | <configuration>
|
---|
| 298 | <lifecycleMappingMetadata>
|
---|
| 299 | <pluginExecutions>
|
---|
| 300 | <pluginExecution>
|
---|
| 301 | <pluginExecutionFilter>
|
---|
| 302 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 303 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 304 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 305 | <goals>
|
---|
| 306 | <goal>publish</goal>
|
---|
| 307 | </goals>
|
---|
| 308 | </pluginExecutionFilter>
|
---|
| 309 | <action>
|
---|
| 310 | <ignore />
|
---|
| 311 | </action>
|
---|
| 312 | </pluginExecution>
|
---|
| 313 | </pluginExecutions>
|
---|
| 314 | </lifecycleMappingMetadata>
|
---|
| 315 | </configuration>
|
---|
| 316 | </plugin>
|
---|
| 317 | </plugins>
|
---|
| 318 | </pluginManagement>
|
---|
| 319 |
|
---|
| 320 |
|
---|
| 321 | </build>
|
---|
[503] | 322 |
|
---|
[346] | 323 | </project> |
---|