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