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