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