source: java2python/core/pom.xml@ 474

Last change on this file since 474 was 415, checked in by wouter, 2 years ago

pom add property for password fetching and deployment

File size: 6.9 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>core</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
125 </dependencies>
126
127 <build>
128
129 <plugins>
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-compiler-plugin</artifactId>
133 <version>3.8.0</version>
134 <configuration>
135 <source>1.8</source>
136 <target>1.8</target>
137 </configuration>
138 </plugin>
139
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-source-plugin</artifactId>
143 <version>3.1.0</version>
144 <executions>
145 <execution>
146 <id>attach-sources</id>
147 <goals>
148 <goal>jar</goal>
149 </goals>
150 </execution>
151 </executions>
152 </plugin>
153
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-javadoc-plugin</artifactId>
157 <version>2.10.1</version>
158 <executions>
159 <execution>
160 <id>attach-javadocs</id>
161 <goals>
162 <goal>jar</goal>
163 </goals>
164 <configuration>
165 <additionalparam>${javadoc.opts}</additionalparam>
166 <additionalparam>-Xdoclint:none</additionalparam>
167 </configuration>
168 </execution>
169 </executions>
170 </plugin>
171
172 <plugin>
173 <groupId>org.jfrog.buildinfo</groupId>
174 <artifactId>artifactory-maven-plugin</artifactId>
175 <version>3.2.3</version>
176 <executions>
177 <execution>
178 <id>build-info</id>
179 <goals>
180 <goal>publish</goal>
181 </goals>
182 <configuration>
183 <publisher>
184 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
185 <repoKey>libs-release</repoKey>
186 <username>wouter</username>
187 <password>${passwd}</password>
188 </publisher>
189 </configuration>
190 </execution>
191 </executions>
192 </plugin>
193
194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-assembly-plugin</artifactId>
197 <version>2.4.1</version>
198 <configuration>
199 <!-- get all project dependencies -->
200 <descriptorRefs>
201 <descriptorRef>jar-with-dependencies</descriptorRef>
202 </descriptorRefs>
203 <archive>
204 <manifest>
205 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
206 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
207 </manifest>
208 </archive>
209 </configuration>
210 <executions>
211 <execution>
212 <id>make-assembly</id>
213 <!-- bind to the packaging phase -->
214 <phase>package</phase>
215 <goals>
216 <goal>single</goal>
217 </goals>
218 </execution>
219 </executions>
220 </plugin>
221
222
223 </plugins>
224
225 <pluginManagement>
226 <plugins>
227 <plugin>
228 <groupId>org.eclipse.m2e</groupId>
229 <artifactId>lifecycle-mapping</artifactId>
230 <version>1.0.0</version>
231 <configuration>
232 <lifecycleMappingMetadata>
233 <pluginExecutions>
234 <pluginExecution>
235 <pluginExecutionFilter>
236 <groupId>org.jfrog.buildinfo</groupId>
237 <artifactId>artifactory-maven-plugin</artifactId>
238 <versionRange>[1.0.0,)</versionRange>
239 <goals>
240 <goal>publish</goal>
241 </goals>
242 </pluginExecutionFilter>
243 <action>
244 <ignore />
245 </action>
246 </pluginExecution>
247 </pluginExecutions>
248 </lifecycleMappingMetadata>
249 </configuration>
250 </plugin>
251 </plugins>
252 </pluginManagement>
253
254
255 </build>
256
257</project>
Note: See TracBrowser for help on using the repository browser.