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