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