[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>
|
---|
[1292] | 7 | <version>1.0.6</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>
|
---|
| 90 | <version>1.1.0</version>
|
---|
| 91 | </dependency>
|
---|
[1199] | 92 | <dependency>
|
---|
| 93 | <groupId>tudelft</groupId>
|
---|
| 94 | <artifactId>annotations</artifactId>
|
---|
| 95 | <version>1.0.0</version>
|
---|
| 96 | </dependency>
|
---|
[1153] | 97 |
|
---|
[1185] | 98 | <!-- needed for the ip package Disabled as part of code was disabled -->
|
---|
| 99 | <!-- <dependency> -->
|
---|
| 100 | <!-- <groupId>org.apache.commons</groupId> -->
|
---|
| 101 | <!-- <artifactId>commons-math</artifactId> -->
|
---|
| 102 | <!-- <version>2.2</version> -->
|
---|
| 103 | <!-- </dependency> -->
|
---|
| 104 |
|
---|
[804] | 105 | <!-- @NonNull annotation -->
|
---|
| 106 | <dependency>
|
---|
| 107 | <groupId>org.eclipse.jdt</groupId>
|
---|
| 108 | <artifactId>org.eclipse.jdt.annotation</artifactId>
|
---|
| 109 | <version>2.3.0</version>
|
---|
| 110 | </dependency>
|
---|
[649] | 111 |
|
---|
[804] | 112 |
|
---|
[1153] | 113 |
|
---|
[595] | 114 | <!-- Normally these below would be in TEST scope. But we need to compile
|
---|
| 115 | the test code in NORMAL mode, not in test mode, because we don't want to
|
---|
| 116 | RUN these tests. We only want to run the COMPILED code -->
|
---|
| 117 | <dependency>
|
---|
| 118 | <groupId>junit</groupId>
|
---|
| 119 | <artifactId>junit</artifactId>
|
---|
| 120 | <version>4.12</version>
|
---|
| 121 | </dependency>
|
---|
| 122 | <dependency>
|
---|
| 123 | <groupId>org.mockito</groupId>
|
---|
| 124 | <artifactId>mockito-core</artifactId>
|
---|
| 125 | <version>3.11.2</version>
|
---|
| 126 | </dependency>
|
---|
| 127 | <dependency>
|
---|
| 128 | <groupId>tudelft.utilities</groupId>
|
---|
| 129 | <artifactId>junit</artifactId>
|
---|
[1406] | 130 | <version>1.0.6</version>
|
---|
[595] | 131 | </dependency>
|
---|
[526] | 132 |
|
---|
[649] | 133 | <!-- pyrunner is needed for running the compiled code -->
|
---|
| 134 | <dependency>
|
---|
| 135 | <groupId>tudelft.utilities</groupId>
|
---|
| 136 | <artifactId>pyrunner</artifactId>
|
---|
[1406] | 137 | <version>1.3.0</version>
|
---|
[649] | 138 | <scope>test</scope>
|
---|
| 139 | </dependency>
|
---|
[595] | 140 |
|
---|
[649] | 141 |
|
---|
[517] | 142 | </dependencies>
|
---|
| 143 |
|
---|
| 144 | <build>
|
---|
| 145 |
|
---|
| 146 | <plugins>
|
---|
| 147 |
|
---|
| 148 |
|
---|
| 149 |
|
---|
| 150 | <plugin>
|
---|
| 151 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 152 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 153 | <version>3.8.0</version>
|
---|
| 154 | <configuration>
|
---|
| 155 | <source>1.8</source>
|
---|
| 156 | <target>1.8</target>
|
---|
| 157 | </configuration>
|
---|
| 158 | </plugin>
|
---|
| 159 |
|
---|
| 160 | <plugin>
|
---|
[519] | 161 | <groupId>org.codehaus.mojo</groupId>
|
---|
| 162 | <artifactId>build-helper-maven-plugin</artifactId>
|
---|
| 163 | <version>3.4.0</version>
|
---|
[517] | 164 | <executions>
|
---|
| 165 | <execution>
|
---|
[519] | 166 | <phase>generate-sources</phase>
|
---|
[517] | 167 | <goals>
|
---|
[519] | 168 | <goal>add-source</goal>
|
---|
[517] | 169 | </goals>
|
---|
| 170 | <configuration>
|
---|
[519] | 171 | <sources>
|
---|
[892] | 172 | <source>geniusweb/src/main/java</source>
|
---|
| 173 | <source>geniusweb/src/test/java</source>
|
---|
| 174 | <!-- next one is really a resource, but this copies it as needed -->
|
---|
| 175 | <source>geniusweb/src/test/resources</source>
|
---|
[519] | 176 | </sources>
|
---|
[517] | 177 | </configuration>
|
---|
| 178 | </execution>
|
---|
[892] | 179 |
|
---|
[517] | 180 | </executions>
|
---|
| 181 | </plugin>
|
---|
| 182 |
|
---|
| 183 | <plugin>
|
---|
| 184 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 185 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
[1113] | 186 | <version>3.6.1</version>
|
---|
[517] | 187 | <executions>
|
---|
| 188 | <execution>
|
---|
| 189 | <id>build-info</id>
|
---|
| 190 | <goals>
|
---|
| 191 | <goal>publish</goal>
|
---|
| 192 | </goals>
|
---|
| 193 | <configuration>
|
---|
| 194 | <publisher>
|
---|
| 195 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 196 | <repoKey>libs-release</repoKey>
|
---|
| 197 | <username>wouter</username>
|
---|
| 198 | <password>${passwd}</password>
|
---|
| 199 | </publisher>
|
---|
| 200 | </configuration>
|
---|
| 201 | </execution>
|
---|
| 202 | </executions>
|
---|
| 203 | </plugin>
|
---|
| 204 |
|
---|
| 205 | <plugin>
|
---|
| 206 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[649] | 207 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
| 208 | <version>3.0.0-M2</version>
|
---|
| 209 | <executions>
|
---|
| 210 | <execution>
|
---|
| 211 | <id>enforce</id>
|
---|
| 212 | <configuration>
|
---|
| 213 | <rules>
|
---|
| 214 | <dependencyConvergence />
|
---|
| 215 | </rules>
|
---|
| 216 | </configuration>
|
---|
| 217 | <goals>
|
---|
| 218 | <goal>enforce</goal>
|
---|
| 219 | </goals>
|
---|
| 220 | </execution>
|
---|
| 221 | </executions>
|
---|
| 222 | </plugin>
|
---|
| 223 |
|
---|
| 224 |
|
---|
| 225 |
|
---|
| 226 | <plugin>
|
---|
| 227 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[517] | 228 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 229 | <version>2.4.1</version>
|
---|
| 230 | <configuration>
|
---|
| 231 | <!-- get all project dependencies -->
|
---|
| 232 | <descriptorRefs>
|
---|
| 233 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 234 | </descriptorRefs>
|
---|
| 235 | <archive>
|
---|
| 236 | <manifest>
|
---|
| 237 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 238 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 239 | </manifest>
|
---|
| 240 | </archive>
|
---|
| 241 | </configuration>
|
---|
| 242 | <executions>
|
---|
| 243 | <execution>
|
---|
| 244 | <id>make-assembly</id>
|
---|
| 245 | <!-- bind to the packaging phase -->
|
---|
| 246 | <phase>package</phase>
|
---|
| 247 | <goals>
|
---|
| 248 | <goal>single</goal>
|
---|
| 249 | </goals>
|
---|
| 250 | </execution>
|
---|
| 251 | </executions>
|
---|
| 252 | </plugin>
|
---|
| 253 |
|
---|
| 254 |
|
---|
| 255 | </plugins>
|
---|
| 256 |
|
---|
| 257 | <pluginManagement>
|
---|
| 258 | <plugins>
|
---|
| 259 | <plugin>
|
---|
| 260 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 261 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 262 | <version>1.0.0</version>
|
---|
| 263 | <configuration>
|
---|
| 264 | <lifecycleMappingMetadata>
|
---|
| 265 | <pluginExecutions>
|
---|
| 266 | <pluginExecution>
|
---|
| 267 | <pluginExecutionFilter>
|
---|
| 268 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 269 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 270 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 271 | <goals>
|
---|
| 272 | <goal>publish</goal>
|
---|
| 273 | </goals>
|
---|
| 274 | </pluginExecutionFilter>
|
---|
| 275 | <action>
|
---|
| 276 | <ignore />
|
---|
| 277 | </action>
|
---|
| 278 | </pluginExecution>
|
---|
| 279 | </pluginExecutions>
|
---|
| 280 | </lifecycleMappingMetadata>
|
---|
| 281 | </configuration>
|
---|
| 282 | </plugin>
|
---|
| 283 | </plugins>
|
---|
| 284 | </pluginManagement>
|
---|
| 285 |
|
---|
| 286 |
|
---|
| 287 | </build>
|
---|
| 288 |
|
---|
| 289 | </project> |
---|