source: java2python/geniuswebtranslator/pom.xml@ 818

Last change on this file since 818 was 804, checked in by wouter, 7 months ago

#278 added NonNull annotation in many places in the geniusweb code

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