source: java2python/geniuswebtranslator/pom.xml@ 517

Last change on this file since 517 was 517, checked in by wouter, 17 months ago

Added experimental translator project

File size: 7.8 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 </properties>
18
19
20
21 <distributionManagement>
22 <repository>
23 <id>artifactory.ewi.tudelft.nl</id>
24 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
25 </repository>
26 </distributionManagement>
27
28 <repositories>
29 <repository>
30 <id>artifactory.ewi.tudelft.nl</id>
31 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
32 <snapshots>
33 <enabled>false</enabled>
34 </snapshots>
35 </repository>
36 </repositories>
37
38 <pluginRepositories>
39 <pluginRepository>
40 <id>central</id>
41 <url>https://repo1.maven.org/</url>
42 </pluginRepository>
43 <pluginRepository>
44 <id>jfrog-plugins-release</id>
45 <name>plugins-release</name>
46 <url>https://oss.jfrog.org/artifactory/plugins-release</url>
47 </pluginRepository>
48 </pluginRepositories>
49
50 <dependencies>
51 <dependency>
52 <groupId>com.github.javaparser</groupId>
53 <artifactId>javaparser-symbol-solver-core</artifactId>
54 <version>3.24.4</version>
55 </dependency>
56 <dependency>
57 <groupId>junit</groupId>
58 <artifactId>junit</artifactId>
59 <version>4.12</version>
60 <scope>test</scope>
61 </dependency>
62
63 <!-- FIXME this should be removed when we have separated the utilities
64 translator -->
65 <dependency>
66 <groupId>tudelft.utilities</groupId>
67 <artifactId>utilities</artifactId>
68 <version>1.2.1</version>
69 </dependency>
70
71
72 <dependency>
73 <groupId>tudelft.utilities</groupId>
74 <artifactId>pyrunner</artifactId>
75 <version>1.0.3</version>
76 </dependency>
77
78 <dependency>
79 <groupId>com.fasterxml.jackson.core</groupId>
80 <artifactId>jackson-core</artifactId>
81 <version>${jackson-2-version}</version>
82 <scope>test</scope>
83 </dependency>
84
85 <!-- Just the annotations; use this dependency if you want to attach annotations
86 to classes without connecting them to the code. -->
87 <dependency>
88 <groupId>com.fasterxml.jackson.core</groupId>
89 <artifactId>jackson-annotations</artifactId>
90 <version>${jackson-2-version}</version>
91 <scope>test</scope>
92 </dependency>
93
94 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
95 <dependency>
96 <groupId>com.fasterxml.jackson.core</groupId>
97 <artifactId>jackson-databind</artifactId>
98 <version>${jackson-2-version}</version>
99 <scope>test</scope>
100 </dependency>
101
102 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
103 <dependency>
104 <groupId>com.fasterxml.jackson.dataformat</groupId>
105 <artifactId>jackson-dataformat-smile</artifactId>
106 <version>${jackson-2-version}</version>
107 <scope>test</scope>
108 </dependency>
109 <!-- JAX-RS provider -->
110 <dependency>
111 <groupId>com.fasterxml.jackson.jaxrs</groupId>
112 <artifactId>jackson-jaxrs-json-provider</artifactId>
113 <version>${jackson-2-version}</version>
114 <scope>test</scope>
115 </dependency>
116 <!-- Support for JAX-B annotations as additional configuration -->
117 <dependency>
118 <groupId>com.fasterxml.jackson.module</groupId>
119 <artifactId>jackson-module-jaxb-annotations</artifactId>
120 <version>${jackson-2-version}</version>
121 <scope>test</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>commons-io</groupId>
126 <artifactId>commons-io</artifactId>
127 <version>2.13.0</version>
128 </dependency>
129
130
131
132 </dependencies>
133
134 <build>
135
136 <plugins>
137
138
139
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 <version>3.8.0</version>
144 <configuration>
145 <source>1.8</source>
146 <target>1.8</target>
147 </configuration>
148 </plugin>
149
150 <!-- fetch the geniusweb code and put it in local folder for translation -->
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-dependency-plugin</artifactId>
154 <version>3.6.0</version>
155 <executions>
156 <execution>
157 <id>copy</id>
158 <phase>package</phase>
159 <goals>
160 <goal>copy</goal>
161 </goals>
162 <configuration>
163 <artifactItems>
164 <artifactItem>
165 <groupId>geniusweb</groupId>
166 <artifactId>bidspace</artifactId>
167 <version>2.1.6</version>
168 <classifier>sources</classifier>
169 <overWrite>true</overWrite>
170 </artifactItem>
171 </artifactItems>
172 <!-- other configurations here -->
173 </configuration>
174 </execution>
175 </executions>
176 </plugin>
177
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-source-plugin</artifactId>
181 <version>3.1.0</version>
182 <executions>
183 <execution>
184 <id>attach-sources</id>
185 <goals>
186 <goal>jar</goal>
187 </goals>
188 </execution>
189 </executions>
190 </plugin>
191
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-javadoc-plugin</artifactId>
195 <version>2.10.1</version>
196 <executions>
197 <execution>
198 <id>attach-javadocs</id>
199 <goals>
200 <goal>jar</goal>
201 </goals>
202 <configuration>
203 <additionalparam>${javadoc.opts}</additionalparam>
204 <additionalparam>-Xdoclint:none</additionalparam>
205 </configuration>
206 </execution>
207 </executions>
208 </plugin>
209
210 <plugin>
211 <groupId>org.jfrog.buildinfo</groupId>
212 <artifactId>artifactory-maven-plugin</artifactId>
213 <version>3.2.3</version>
214 <executions>
215 <execution>
216 <id>build-info</id>
217 <goals>
218 <goal>publish</goal>
219 </goals>
220 <configuration>
221 <publisher>
222 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
223 <repoKey>libs-release</repoKey>
224 <username>wouter</username>
225 <password>${passwd}</password>
226 </publisher>
227 </configuration>
228 </execution>
229 </executions>
230 </plugin>
231
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-assembly-plugin</artifactId>
235 <version>2.4.1</version>
236 <configuration>
237 <!-- get all project dependencies -->
238 <descriptorRefs>
239 <descriptorRef>jar-with-dependencies</descriptorRef>
240 </descriptorRefs>
241 <archive>
242 <manifest>
243 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
244 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
245 </manifest>
246 </archive>
247 </configuration>
248 <executions>
249 <execution>
250 <id>make-assembly</id>
251 <!-- bind to the packaging phase -->
252 <phase>package</phase>
253 <goals>
254 <goal>single</goal>
255 </goals>
256 </execution>
257 </executions>
258 </plugin>
259
260
261 </plugins>
262
263 <pluginManagement>
264 <plugins>
265 <plugin>
266 <groupId>org.eclipse.m2e</groupId>
267 <artifactId>lifecycle-mapping</artifactId>
268 <version>1.0.0</version>
269 <configuration>
270 <lifecycleMappingMetadata>
271 <pluginExecutions>
272 <pluginExecution>
273 <pluginExecutionFilter>
274 <groupId>org.jfrog.buildinfo</groupId>
275 <artifactId>artifactory-maven-plugin</artifactId>
276 <versionRange>[1.0.0,)</versionRange>
277 <goals>
278 <goal>publish</goal>
279 </goals>
280 </pluginExecutionFilter>
281 <action>
282 <ignore />
283 </action>
284 </pluginExecution>
285 </pluginExecutions>
286 </lifecycleMappingMetadata>
287 </configuration>
288 </plugin>
289 </plugins>
290 </pluginManagement>
291
292
293 </build>
294
295</project>
Note: See TracBrowser for help on using the repository browser.