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