[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>
|
---|
| 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>
|
---|
| 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>
|
---|
| 56 | <version>1.0.0</version>
|
---|
[517] | 57 | </dependency>
|
---|
| 58 |
|
---|
| 59 |
|
---|
[526] | 60 | <dependency>
|
---|
| 61 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[692] | 62 | <artifactId>tudutils-t</artifactId>
|
---|
[526] | 63 | <version>1.0.0</version>
|
---|
| 64 | </dependency>
|
---|
[517] | 65 |
|
---|
[526] | 66 | <dependency>
|
---|
| 67 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[692] | 68 | <artifactId>jackson-t</artifactId>
|
---|
| 69 | <version>1.0.0</version>
|
---|
| 70 | </dependency>
|
---|
| 71 | <dependency>
|
---|
| 72 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
[526] | 73 | <artifactId>junit-t</artifactId>
|
---|
| 74 | <version>1.0.0</version>
|
---|
| 75 | </dependency>
|
---|
[517] | 76 |
|
---|
[649] | 77 |
|
---|
[595] | 78 | <!-- Normally these below would be in TEST scope. But we need to compile
|
---|
| 79 | the test code in NORMAL mode, not in test mode, because we don't want to
|
---|
| 80 | RUN these tests. We only want to run the COMPILED code -->
|
---|
| 81 | <dependency>
|
---|
| 82 | <groupId>junit</groupId>
|
---|
| 83 | <artifactId>junit</artifactId>
|
---|
| 84 | <version>4.12</version>
|
---|
| 85 | </dependency>
|
---|
| 86 | <dependency>
|
---|
| 87 | <groupId>org.mockito</groupId>
|
---|
| 88 | <artifactId>mockito-core</artifactId>
|
---|
| 89 | <version>3.11.2</version>
|
---|
| 90 | </dependency>
|
---|
| 91 | <dependency>
|
---|
| 92 | <groupId>tudelft.utilities</groupId>
|
---|
| 93 | <artifactId>junit</artifactId>
|
---|
| 94 | <version>1.0.5</version>
|
---|
| 95 | </dependency>
|
---|
[526] | 96 |
|
---|
[649] | 97 | <!-- pyrunner is needed for running the compiled code -->
|
---|
| 98 | <dependency>
|
---|
| 99 | <groupId>tudelft.utilities</groupId>
|
---|
| 100 | <artifactId>pyrunner</artifactId>
|
---|
[659] | 101 | <version>1.1.0</version>
|
---|
[649] | 102 | <scope>test</scope>
|
---|
| 103 | </dependency>
|
---|
[595] | 104 |
|
---|
[649] | 105 |
|
---|
[517] | 106 | </dependencies>
|
---|
| 107 |
|
---|
| 108 | <build>
|
---|
| 109 |
|
---|
| 110 | <plugins>
|
---|
| 111 |
|
---|
| 112 |
|
---|
| 113 |
|
---|
| 114 | <plugin>
|
---|
| 115 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 116 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 117 | <version>3.8.0</version>
|
---|
| 118 | <configuration>
|
---|
| 119 | <source>1.8</source>
|
---|
| 120 | <target>1.8</target>
|
---|
| 121 | </configuration>
|
---|
| 122 | </plugin>
|
---|
| 123 |
|
---|
| 124 | <plugin>
|
---|
[519] | 125 | <groupId>org.codehaus.mojo</groupId>
|
---|
| 126 | <artifactId>build-helper-maven-plugin</artifactId>
|
---|
| 127 | <version>3.4.0</version>
|
---|
[517] | 128 | <executions>
|
---|
| 129 | <execution>
|
---|
[519] | 130 | <phase>generate-sources</phase>
|
---|
[517] | 131 | <goals>
|
---|
[519] | 132 | <goal>add-source</goal>
|
---|
[517] | 133 | </goals>
|
---|
| 134 | <configuration>
|
---|
[519] | 135 | <sources>
|
---|
| 136 | <source>geniuswebsrc</source>
|
---|
[595] | 137 | <source>geniuswebtest</source>
|
---|
[519] | 138 | </sources>
|
---|
[517] | 139 | </configuration>
|
---|
| 140 | </execution>
|
---|
| 141 | </executions>
|
---|
| 142 | </plugin>
|
---|
| 143 |
|
---|
| 144 | <plugin>
|
---|
| 145 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 146 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 147 | <version>3.2.3</version>
|
---|
| 148 | <executions>
|
---|
| 149 | <execution>
|
---|
| 150 | <id>build-info</id>
|
---|
| 151 | <goals>
|
---|
| 152 | <goal>publish</goal>
|
---|
| 153 | </goals>
|
---|
| 154 | <configuration>
|
---|
| 155 | <publisher>
|
---|
| 156 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 157 | <repoKey>libs-release</repoKey>
|
---|
| 158 | <username>wouter</username>
|
---|
| 159 | <password>${passwd}</password>
|
---|
| 160 | </publisher>
|
---|
| 161 | </configuration>
|
---|
| 162 | </execution>
|
---|
| 163 | </executions>
|
---|
| 164 | </plugin>
|
---|
| 165 |
|
---|
| 166 | <plugin>
|
---|
| 167 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[649] | 168 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
| 169 | <version>3.0.0-M2</version>
|
---|
| 170 | <executions>
|
---|
| 171 | <execution>
|
---|
| 172 | <id>enforce</id>
|
---|
| 173 | <configuration>
|
---|
| 174 | <rules>
|
---|
| 175 | <dependencyConvergence />
|
---|
| 176 | </rules>
|
---|
| 177 | </configuration>
|
---|
| 178 | <goals>
|
---|
| 179 | <goal>enforce</goal>
|
---|
| 180 | </goals>
|
---|
| 181 | </execution>
|
---|
| 182 | </executions>
|
---|
| 183 | </plugin>
|
---|
| 184 |
|
---|
| 185 |
|
---|
| 186 |
|
---|
| 187 | <plugin>
|
---|
| 188 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[517] | 189 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 190 | <version>2.4.1</version>
|
---|
| 191 | <configuration>
|
---|
| 192 | <!-- get all project dependencies -->
|
---|
| 193 | <descriptorRefs>
|
---|
| 194 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 195 | </descriptorRefs>
|
---|
| 196 | <archive>
|
---|
| 197 | <manifest>
|
---|
| 198 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 199 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 200 | </manifest>
|
---|
| 201 | </archive>
|
---|
| 202 | </configuration>
|
---|
| 203 | <executions>
|
---|
| 204 | <execution>
|
---|
| 205 | <id>make-assembly</id>
|
---|
| 206 | <!-- bind to the packaging phase -->
|
---|
| 207 | <phase>package</phase>
|
---|
| 208 | <goals>
|
---|
| 209 | <goal>single</goal>
|
---|
| 210 | </goals>
|
---|
| 211 | </execution>
|
---|
| 212 | </executions>
|
---|
| 213 | </plugin>
|
---|
| 214 |
|
---|
| 215 |
|
---|
| 216 | </plugins>
|
---|
| 217 |
|
---|
| 218 | <pluginManagement>
|
---|
| 219 | <plugins>
|
---|
| 220 | <plugin>
|
---|
| 221 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 222 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 223 | <version>1.0.0</version>
|
---|
| 224 | <configuration>
|
---|
| 225 | <lifecycleMappingMetadata>
|
---|
| 226 | <pluginExecutions>
|
---|
| 227 | <pluginExecution>
|
---|
| 228 | <pluginExecutionFilter>
|
---|
| 229 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 230 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 231 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 232 | <goals>
|
---|
| 233 | <goal>publish</goal>
|
---|
| 234 | </goals>
|
---|
| 235 | </pluginExecutionFilter>
|
---|
| 236 | <action>
|
---|
| 237 | <ignore />
|
---|
| 238 | </action>
|
---|
| 239 | </pluginExecution>
|
---|
| 240 | </pluginExecutions>
|
---|
| 241 | </lifecycleMappingMetadata>
|
---|
| 242 | </configuration>
|
---|
| 243 | </plugin>
|
---|
| 244 | </plugins>
|
---|
| 245 | </pluginManagement>
|
---|
| 246 |
|
---|
| 247 |
|
---|
| 248 | </build>
|
---|
| 249 |
|
---|
| 250 | </project> |
---|