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