[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>
|
---|
| 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>
|
---|
| 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>
|
---|
| 54 | <version>1.0.0</version>
|
---|
| 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 |
|
---|
[478] | 124 | <build>
|
---|
| 125 |
|
---|
[887] | 126 |
|
---|
| 127 |
|
---|
[478] | 128 | <plugins>
|
---|
[887] | 129 |
|
---|
| 130 |
|
---|
| 131 |
|
---|
[478] | 132 | <plugin>
|
---|
| 133 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 134 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 135 | <version>3.8.0</version>
|
---|
| 136 | <configuration>
|
---|
| 137 | <source>1.8</source>
|
---|
| 138 | <target>1.8</target>
|
---|
| 139 | </configuration>
|
---|
| 140 | </plugin>
|
---|
| 141 |
|
---|
| 142 | <plugin>
|
---|
[514] | 143 | <groupId>org.codehaus.mojo</groupId>
|
---|
| 144 | <artifactId>build-helper-maven-plugin</artifactId>
|
---|
| 145 | <version>1.9.1</version>
|
---|
| 146 | <executions>
|
---|
| 147 | <execution>
|
---|
| 148 | <id>add-test-source</id>
|
---|
| 149 | <phase>generate-test-sources</phase>
|
---|
| 150 | <goals>
|
---|
| 151 | <goal>add-test-source</goal>
|
---|
| 152 | </goals>
|
---|
| 153 | <configuration>
|
---|
| 154 | <sources>
|
---|
| 155 | <source>assert</source>
|
---|
[726] | 156 | <source>someunittest</source>
|
---|
[896] | 157 | <source>resourcestest</source>
|
---|
[904] | 158 | <source>parameterizedtest</source>
|
---|
[514] | 159 | </sources>
|
---|
| 160 | </configuration>
|
---|
| 161 | </execution>
|
---|
| 162 | </executions>
|
---|
| 163 | </plugin>
|
---|
[887] | 164 |
|
---|
[514] | 165 | <plugin>
|
---|
[478] | 166 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 167 | <artifactId>maven-source-plugin</artifactId>
|
---|
| 168 | <version>3.1.0</version>
|
---|
| 169 | <executions>
|
---|
| 170 | <execution>
|
---|
| 171 | <id>attach-sources</id>
|
---|
| 172 | <goals>
|
---|
| 173 | <goal>jar</goal>
|
---|
| 174 | </goals>
|
---|
| 175 | </execution>
|
---|
| 176 | </executions>
|
---|
| 177 | </plugin>
|
---|
| 178 |
|
---|
| 179 | <plugin>
|
---|
| 180 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 181 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
| 182 | <version>2.10.1</version>
|
---|
| 183 | <executions>
|
---|
| 184 | <execution>
|
---|
| 185 | <id>attach-javadocs</id>
|
---|
| 186 | <goals>
|
---|
| 187 | <goal>jar</goal>
|
---|
| 188 | </goals>
|
---|
| 189 | <configuration>
|
---|
| 190 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
| 191 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
| 192 | </configuration>
|
---|
| 193 | </execution>
|
---|
| 194 | </executions>
|
---|
| 195 | </plugin>
|
---|
| 196 |
|
---|
| 197 | <plugin>
|
---|
| 198 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 199 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 200 | <version>3.2.3</version>
|
---|
| 201 | <executions>
|
---|
| 202 | <execution>
|
---|
| 203 | <id>build-info</id>
|
---|
| 204 | <goals>
|
---|
| 205 | <goal>publish</goal>
|
---|
| 206 | </goals>
|
---|
| 207 | <configuration>
|
---|
| 208 | <publisher>
|
---|
| 209 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 210 | <repoKey>libs-release</repoKey>
|
---|
| 211 | <username>wouter</username>
|
---|
| 212 | <password>${passwd}</password>
|
---|
| 213 | </publisher>
|
---|
| 214 | </configuration>
|
---|
| 215 | </execution>
|
---|
| 216 | </executions>
|
---|
| 217 | </plugin>
|
---|
| 218 |
|
---|
| 219 | <plugin>
|
---|
| 220 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 221 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 222 | <version>2.4.1</version>
|
---|
| 223 | <configuration>
|
---|
| 224 | <!-- get all project dependencies -->
|
---|
| 225 | <descriptorRefs>
|
---|
| 226 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 227 | </descriptorRefs>
|
---|
| 228 | <archive>
|
---|
| 229 | <manifest>
|
---|
| 230 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 231 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 232 | </manifest>
|
---|
| 233 | </archive>
|
---|
| 234 | </configuration>
|
---|
| 235 | <executions>
|
---|
| 236 | <execution>
|
---|
| 237 | <id>make-assembly</id>
|
---|
| 238 | <!-- bind to the packaging phase -->
|
---|
| 239 | <phase>package</phase>
|
---|
| 240 | <goals>
|
---|
| 241 | <goal>single</goal>
|
---|
| 242 | </goals>
|
---|
| 243 | </execution>
|
---|
| 244 | </executions>
|
---|
| 245 | </plugin>
|
---|
| 246 |
|
---|
| 247 |
|
---|
| 248 | </plugins>
|
---|
| 249 |
|
---|
| 250 | <pluginManagement>
|
---|
| 251 | <plugins>
|
---|
| 252 | <plugin>
|
---|
| 253 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 254 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 255 | <version>1.0.0</version>
|
---|
| 256 | <configuration>
|
---|
| 257 | <lifecycleMappingMetadata>
|
---|
| 258 | <pluginExecutions>
|
---|
| 259 | <pluginExecution>
|
---|
| 260 | <pluginExecutionFilter>
|
---|
| 261 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 262 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 263 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 264 | <goals>
|
---|
| 265 | <goal>publish</goal>
|
---|
| 266 | </goals>
|
---|
| 267 | </pluginExecutionFilter>
|
---|
| 268 | <action>
|
---|
| 269 | <ignore />
|
---|
| 270 | </action>
|
---|
| 271 | </pluginExecution>
|
---|
| 272 | </pluginExecutions>
|
---|
| 273 | </lifecycleMappingMetadata>
|
---|
| 274 | </configuration>
|
---|
| 275 | </plugin>
|
---|
| 276 | </plugins>
|
---|
| 277 | </pluginManagement>
|
---|
| 278 |
|
---|
| 279 |
|
---|
| 280 | </build>
|
---|
[887] | 281 |
|
---|
[478] | 282 | </project> |
---|