source: java2python/geniuswebtranslator/pom.xml@ 741

Last change on this file since 741 was 711, checked in by wouter, 11 months ago

include new tudjunit-t

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