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