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