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