source: java2python/tudutils-t/pom.xml@ 569

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

pom add property for password fetching and deployment

File size: 6.6 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>tudutils-t</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 <distributionManagement>
21 <repository>
22 <id>artifactory.ewi.tudelft.nl</id>
23 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
24 </repository>
25 </distributionManagement>
26
27 <repositories>
28 <repository>
29 <id>artifactory.ewi.tudelft.nl</id>
30 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
31 <snapshots>
32 <enabled>false</enabled>
33 </snapshots>
34 </repository>
35 </repositories>
36
37 <pluginRepositories>
38 <pluginRepository>
39 <id>central</id>
40 <url>https://repo1.maven.org/</url>
41 </pluginRepository>
42 <pluginRepository>
43 <id>jfrog-plugins-release</id>
44 <name>plugins-release</name>
45 <url>https://oss.jfrog.org/artifactory/plugins-release</url>
46 </pluginRepository>
47 </pluginRepositories>
48
49
50 <dependencies>
51 <dependency>
52 <groupId>tudelft.utilities.j2p</groupId>
53 <artifactId>core</artifactId>
54 <version>1.0.0</version>
55 </dependency>
56
57 <dependency>
58 <groupId>junit</groupId>
59 <artifactId>junit</artifactId>
60 <version>4.12</version>
61 <scope>test</scope>
62 </dependency>
63
64
65
66 <dependency>
67 <groupId>tudelft.utilities</groupId>
68 <artifactId>pyrunner</artifactId>
69 <version>1.0.3</version>
70 </dependency>
71
72 <dependency>
73 <groupId>com.fasterxml.jackson.core</groupId>
74 <artifactId>jackson-core</artifactId>
75 <version>${jackson-2-version}</version>
76 <scope>test</scope>
77 </dependency>
78
79 <!-- Just the annotations; use this dependency if you want to attach annotations
80 to classes without connecting them to the code. -->
81 <dependency>
82 <groupId>com.fasterxml.jackson.core</groupId>
83 <artifactId>jackson-annotations</artifactId>
84 <version>${jackson-2-version}</version>
85 <scope>test</scope>
86 </dependency>
87
88 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
89 <dependency>
90 <groupId>com.fasterxml.jackson.core</groupId>
91 <artifactId>jackson-databind</artifactId>
92 <version>${jackson-2-version}</version>
93 <scope>test</scope>
94 </dependency>
95
96 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
97 <dependency>
98 <groupId>com.fasterxml.jackson.dataformat</groupId>
99 <artifactId>jackson-dataformat-smile</artifactId>
100 <version>${jackson-2-version}</version>
101 <scope>test</scope>
102 </dependency>
103 <!-- JAX-RS provider -->
104 <dependency>
105 <groupId>com.fasterxml.jackson.jaxrs</groupId>
106 <artifactId>jackson-jaxrs-json-provider</artifactId>
107 <version>${jackson-2-version}</version>
108 <scope>test</scope>
109 </dependency>
110 <!-- Support for JAX-B annotations as additional configuration -->
111 <dependency>
112 <groupId>com.fasterxml.jackson.module</groupId>
113 <artifactId>jackson-module-jaxb-annotations</artifactId>
114 <version>${jackson-2-version}</version>
115 <scope>test</scope>
116 </dependency>
117
118
119 </dependencies>
120
121
122 <build>
123
124 <plugins>
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>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-source-plugin</artifactId>
138 <version>3.1.0</version>
139 <executions>
140 <execution>
141 <id>attach-sources</id>
142 <goals>
143 <goal>jar</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
148
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-javadoc-plugin</artifactId>
152 <version>2.10.1</version>
153 <executions>
154 <execution>
155 <id>attach-javadocs</id>
156 <goals>
157 <goal>jar</goal>
158 </goals>
159 <configuration>
160 <additionalparam>${javadoc.opts}</additionalparam>
161 <additionalparam>-Xdoclint:none</additionalparam>
162 </configuration>
163 </execution>
164 </executions>
165 </plugin>
166
167 <plugin>
168 <groupId>org.jfrog.buildinfo</groupId>
169 <artifactId>artifactory-maven-plugin</artifactId>
170 <version>3.2.3</version>
171 <executions>
172 <execution>
173 <id>build-info</id>
174 <goals>
175 <goal>publish</goal>
176 </goals>
177 <configuration>
178 <publisher>
179 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
180 <repoKey>libs-release</repoKey>
181 <username>wouter</username>
182 <password>${passwd}</password>
183 </publisher>
184 </configuration>
185 </execution>
186 </executions>
187 </plugin>
188
189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-assembly-plugin</artifactId>
192 <version>2.4.1</version>
193 <configuration>
194 <!-- get all project dependencies -->
195 <descriptorRefs>
196 <descriptorRef>jar-with-dependencies</descriptorRef>
197 </descriptorRefs>
198 <archive>
199 <manifest>
200 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
201 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
202 </manifest>
203 </archive>
204 </configuration>
205 <executions>
206 <execution>
207 <id>make-assembly</id>
208 <!-- bind to the packaging phase -->
209 <phase>package</phase>
210 <goals>
211 <goal>single</goal>
212 </goals>
213 </execution>
214 </executions>
215 </plugin>
216
217
218 </plugins>
219
220 <pluginManagement>
221 <plugins>
222 <plugin>
223 <groupId>org.eclipse.m2e</groupId>
224 <artifactId>lifecycle-mapping</artifactId>
225 <version>1.0.0</version>
226 <configuration>
227 <lifecycleMappingMetadata>
228 <pluginExecutions>
229 <pluginExecution>
230 <pluginExecutionFilter>
231 <groupId>org.jfrog.buildinfo</groupId>
232 <artifactId>artifactory-maven-plugin</artifactId>
233 <versionRange>[1.0.0,)</versionRange>
234 <goals>
235 <goal>publish</goal>
236 </goals>
237 </pluginExecutionFilter>
238 <action>
239 <ignore />
240 </action>
241 </pluginExecution>
242 </pluginExecutions>
243 </lifecycleMappingMetadata>
244 </configuration>
245 </plugin>
246 </plugins>
247 </pluginManagement>
248
249
250 </build>
251
252</project>
Note: See TracBrowser for help on using the repository browser.