source: java2python/geniuswebtranslator/pom.xml@ 786

Last change on this file since 786 was 786, checked in by wouter, 8 months ago

#276 introduced Optional for any variable. You can explicitly say it will be not null using @Nonnull (javax.annotations). Added a few in a test to check it. Many places will need fixing/cleaning up

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