[517] | 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>geniuswebtranslator</artifactId>
|
---|
[1471] | 7 | <version>1.0.7</version>
|
---|
[517] | 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>
|
---|
| 16 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
[519] | 17 | <geniusweb.version>2.1.6</geniusweb.version>
|
---|
[1120] | 18 | <j2p-version>${project.version}</j2p-version>
|
---|
[517] | 19 | </properties>
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | <distributionManagement>
|
---|
| 24 | <repository>
|
---|
| 25 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
[1113] | 26 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
[517] | 27 | </repository>
|
---|
| 28 | </distributionManagement>
|
---|
| 29 |
|
---|
| 30 | <repositories>
|
---|
| 31 | <repository>
|
---|
| 32 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
[1113] | 33 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
[517] | 34 | <snapshots>
|
---|
| 35 | <enabled>false</enabled>
|
---|
| 36 | </snapshots>
|
---|
| 37 | </repository>
|
---|
| 38 | </repositories>
|
---|
| 39 |
|
---|
| 40 | <pluginRepositories>
|
---|
| 41 | <pluginRepository>
|
---|
| 42 | <id>central</id>
|
---|
[519] | 43 | <url>https://repo1.maven.org/maven2</url>
|
---|
[517] | 44 | </pluginRepository>
|
---|
| 45 | <pluginRepository>
|
---|
| 46 | <id>jfrog-plugins-release</id>
|
---|
| 47 | <name>plugins-release</name>
|
---|
| 48 | <url>https://oss.jfrog.org/artifactory/plugins-release</url>
|
---|
| 49 | </pluginRepository>
|
---|
| 50 | </pluginRepositories>
|
---|
| 51 |
|
---|
| 52 | <dependencies>
|
---|
| 53 |
|
---|
| 54 | <dependency>
|
---|
[519] | 55 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
| 56 | <artifactId>core</artifactId>
|
---|
[1120] | 57 | <version>${j2p-version}</version>
|
---|
[517] | 58 | </dependency>
|
---|
| 59 |
|
---|
[526] | 60 | <dependency>
|
---|
| 61 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[692] | 62 | <artifactId>tudutils-t</artifactId>
|
---|
[1120] | 63 | <version>${j2p-version}</version>
|
---|
[526] | 64 | </dependency>
|
---|
[517] | 65 |
|
---|
[526] | 66 | <dependency>
|
---|
| 67 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[711] | 68 | <artifactId>tudunit-t</artifactId>
|
---|
[1120] | 69 | <version>${j2p-version}</version>
|
---|
[711] | 70 | </dependency>
|
---|
| 71 |
|
---|
| 72 | <dependency>
|
---|
| 73 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[692] | 74 | <artifactId>jackson-t</artifactId>
|
---|
[1120] | 75 | <version>${j2p-version}</version>
|
---|
[692] | 76 | </dependency>
|
---|
| 77 | <dependency>
|
---|
| 78 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[786] | 79 | <artifactId>mockito-t</artifactId>
|
---|
[1120] | 80 | <version>${j2p-version}</version>
|
---|
[786] | 81 | </dependency>
|
---|
| 82 | <dependency>
|
---|
| 83 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[526] | 84 | <artifactId>junit-t</artifactId>
|
---|
[1120] | 85 | <version>${j2p-version}</version>
|
---|
[526] | 86 | </dependency>
|
---|
[960] | 87 | <dependency>
|
---|
| 88 | <groupId>tudelft.utilities</groupId>
|
---|
| 89 | <artifactId>logging</artifactId>
|
---|
[1419] | 90 | <version>1.1.1</version>
|
---|
[960] | 91 | </dependency>
|
---|
[1199] | 92 | <dependency>
|
---|
| 93 | <groupId>tudelft</groupId>
|
---|
| 94 | <artifactId>annotations</artifactId>
|
---|
| 95 | <version>1.0.0</version>
|
---|
| 96 | </dependency>
|
---|
[1472] | 97 |
|
---|
| 98 |
|
---|
| 99 | <!-- needed for the profileconnection -->
|
---|
| 100 | <dependency>
|
---|
| 101 | <groupId>javax.websocket</groupId>
|
---|
| 102 | <artifactId>javax.websocket-api</artifactId>
|
---|
| 103 | <version>1.1</version>
|
---|
| 104 | </dependency>
|
---|
[1153] | 105 |
|
---|
[1185] | 106 | <!-- needed for the ip package Disabled as part of code was disabled -->
|
---|
| 107 | <!-- <dependency> -->
|
---|
| 108 | <!-- <groupId>org.apache.commons</groupId> -->
|
---|
| 109 | <!-- <artifactId>commons-math</artifactId> -->
|
---|
| 110 | <!-- <version>2.2</version> -->
|
---|
| 111 | <!-- </dependency> -->
|
---|
| 112 |
|
---|
[804] | 113 | <!-- @NonNull annotation -->
|
---|
| 114 | <dependency>
|
---|
| 115 | <groupId>org.eclipse.jdt</groupId>
|
---|
| 116 | <artifactId>org.eclipse.jdt.annotation</artifactId>
|
---|
| 117 | <version>2.3.0</version>
|
---|
| 118 | </dependency>
|
---|
[649] | 119 |
|
---|
[804] | 120 |
|
---|
[1153] | 121 |
|
---|
[595] | 122 | <!-- Normally these below would be in TEST scope. But we need to compile
|
---|
| 123 | the test code in NORMAL mode, not in test mode, because we don't want to
|
---|
| 124 | RUN these tests. We only want to run the COMPILED code -->
|
---|
| 125 | <dependency>
|
---|
| 126 | <groupId>junit</groupId>
|
---|
| 127 | <artifactId>junit</artifactId>
|
---|
| 128 | <version>4.12</version>
|
---|
| 129 | </dependency>
|
---|
| 130 | <dependency>
|
---|
| 131 | <groupId>org.mockito</groupId>
|
---|
| 132 | <artifactId>mockito-core</artifactId>
|
---|
| 133 | <version>3.11.2</version>
|
---|
| 134 | </dependency>
|
---|
| 135 | <dependency>
|
---|
| 136 | <groupId>tudelft.utilities</groupId>
|
---|
| 137 | <artifactId>junit</artifactId>
|
---|
[1406] | 138 | <version>1.0.6</version>
|
---|
[595] | 139 | </dependency>
|
---|
[526] | 140 |
|
---|
[649] | 141 | <!-- pyrunner is needed for running the compiled code -->
|
---|
| 142 | <dependency>
|
---|
| 143 | <groupId>tudelft.utilities</groupId>
|
---|
| 144 | <artifactId>pyrunner</artifactId>
|
---|
[1406] | 145 | <version>1.3.0</version>
|
---|
[649] | 146 | <scope>test</scope>
|
---|
| 147 | </dependency>
|
---|
[595] | 148 |
|
---|
[649] | 149 |
|
---|
[517] | 150 | </dependencies>
|
---|
| 151 |
|
---|
| 152 | <build>
|
---|
| 153 |
|
---|
| 154 | <plugins>
|
---|
| 155 |
|
---|
| 156 |
|
---|
| 157 |
|
---|
| 158 | <plugin>
|
---|
| 159 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 160 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 161 | <version>3.8.0</version>
|
---|
| 162 | <configuration>
|
---|
| 163 | <source>1.8</source>
|
---|
| 164 | <target>1.8</target>
|
---|
| 165 | </configuration>
|
---|
| 166 | </plugin>
|
---|
| 167 |
|
---|
| 168 | <plugin>
|
---|
[519] | 169 | <groupId>org.codehaus.mojo</groupId>
|
---|
| 170 | <artifactId>build-helper-maven-plugin</artifactId>
|
---|
| 171 | <version>3.4.0</version>
|
---|
[517] | 172 | <executions>
|
---|
| 173 | <execution>
|
---|
[519] | 174 | <phase>generate-sources</phase>
|
---|
[517] | 175 | <goals>
|
---|
[519] | 176 | <goal>add-source</goal>
|
---|
[517] | 177 | </goals>
|
---|
| 178 | <configuration>
|
---|
[519] | 179 | <sources>
|
---|
[892] | 180 | <source>geniusweb/src/main/java</source>
|
---|
| 181 | <source>geniusweb/src/test/java</source>
|
---|
| 182 | <!-- next one is really a resource, but this copies it as needed -->
|
---|
| 183 | <source>geniusweb/src/test/resources</source>
|
---|
[519] | 184 | </sources>
|
---|
[517] | 185 | </configuration>
|
---|
| 186 | </execution>
|
---|
[892] | 187 |
|
---|
[517] | 188 | </executions>
|
---|
| 189 | </plugin>
|
---|
| 190 |
|
---|
| 191 | <plugin>
|
---|
| 192 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 193 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
[1113] | 194 | <version>3.6.1</version>
|
---|
[517] | 195 | <executions>
|
---|
| 196 | <execution>
|
---|
| 197 | <id>build-info</id>
|
---|
| 198 | <goals>
|
---|
| 199 | <goal>publish</goal>
|
---|
| 200 | </goals>
|
---|
| 201 | <configuration>
|
---|
| 202 | <publisher>
|
---|
| 203 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 204 | <repoKey>libs-release</repoKey>
|
---|
| 205 | <username>wouter</username>
|
---|
| 206 | <password>${passwd}</password>
|
---|
| 207 | </publisher>
|
---|
| 208 | </configuration>
|
---|
| 209 | </execution>
|
---|
| 210 | </executions>
|
---|
| 211 | </plugin>
|
---|
| 212 |
|
---|
| 213 | <plugin>
|
---|
| 214 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[649] | 215 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
| 216 | <version>3.0.0-M2</version>
|
---|
| 217 | <executions>
|
---|
| 218 | <execution>
|
---|
| 219 | <id>enforce</id>
|
---|
| 220 | <configuration>
|
---|
| 221 | <rules>
|
---|
| 222 | <dependencyConvergence />
|
---|
| 223 | </rules>
|
---|
| 224 | </configuration>
|
---|
| 225 | <goals>
|
---|
| 226 | <goal>enforce</goal>
|
---|
| 227 | </goals>
|
---|
| 228 | </execution>
|
---|
| 229 | </executions>
|
---|
| 230 | </plugin>
|
---|
| 231 |
|
---|
| 232 |
|
---|
| 233 |
|
---|
| 234 | <plugin>
|
---|
| 235 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[517] | 236 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 237 | <version>2.4.1</version>
|
---|
| 238 | <configuration>
|
---|
| 239 | <!-- get all project dependencies -->
|
---|
| 240 | <descriptorRefs>
|
---|
| 241 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 242 | </descriptorRefs>
|
---|
| 243 | <archive>
|
---|
| 244 | <manifest>
|
---|
| 245 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 246 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 247 | </manifest>
|
---|
| 248 | </archive>
|
---|
| 249 | </configuration>
|
---|
| 250 | <executions>
|
---|
| 251 | <execution>
|
---|
| 252 | <id>make-assembly</id>
|
---|
| 253 | <!-- bind to the packaging phase -->
|
---|
| 254 | <phase>package</phase>
|
---|
| 255 | <goals>
|
---|
| 256 | <goal>single</goal>
|
---|
| 257 | </goals>
|
---|
| 258 | </execution>
|
---|
| 259 | </executions>
|
---|
| 260 | </plugin>
|
---|
| 261 |
|
---|
| 262 |
|
---|
| 263 | </plugins>
|
---|
| 264 |
|
---|
| 265 | <pluginManagement>
|
---|
| 266 | <plugins>
|
---|
| 267 | <plugin>
|
---|
| 268 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 269 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 270 | <version>1.0.0</version>
|
---|
| 271 | <configuration>
|
---|
| 272 | <lifecycleMappingMetadata>
|
---|
| 273 | <pluginExecutions>
|
---|
| 274 | <pluginExecution>
|
---|
| 275 | <pluginExecutionFilter>
|
---|
| 276 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 277 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 278 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 279 | <goals>
|
---|
| 280 | <goal>publish</goal>
|
---|
| 281 | </goals>
|
---|
| 282 | </pluginExecutionFilter>
|
---|
| 283 | <action>
|
---|
| 284 | <ignore />
|
---|
| 285 | </action>
|
---|
| 286 | </pluginExecution>
|
---|
| 287 | </pluginExecutions>
|
---|
| 288 | </lifecycleMappingMetadata>
|
---|
| 289 | </configuration>
|
---|
| 290 | </plugin>
|
---|
| 291 | </plugins>
|
---|
| 292 | </pluginManagement>
|
---|
| 293 |
|
---|
| 294 |
|
---|
| 295 | </build>
|
---|
| 296 |
|
---|
| 297 | </project> |
---|