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