source: java2python/geniuswebtranslator/pom.xml@ 655

Last change on this file since 655 was 649, checked in by wouter, 13 months ago

#205 first version that actually runs the correct tests with auto discovery and shows the errors in readable format. Needs more fixing but will do for now

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