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