|
9 | 9 |
|
10 | 10 | <name>voms-api-java</name> |
11 | 11 | <description>Java APIs to validate and request VOMS attribute certificates</description> |
12 | | - |
13 | 12 | <url>https://github.com/italiangrid/voms-api-java</url> |
14 | 13 |
|
15 | 14 | <licenses> |
16 | 15 | <license> |
17 | 16 | <name>The Apache Software License, Version 2.0</name> |
18 | 17 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
19 | | - <distribution>repo</distribution> |
20 | 18 | </license> |
21 | 19 | </licenses> |
22 | 20 |
|
|
28 | 26 |
|
29 | 27 | <properties> |
30 | 28 | <!-- versions --> |
31 | | - <plugin.compiler.version>3.1</plugin.compiler.version> |
| 29 | + <plugin.enforcer.version>3.5.0</plugin.enforcer.version> |
| 30 | + <plugin.versions.version>2.16.1</plugin.versions.version> |
| 31 | + <plugin.compiler.version>3.13.0</plugin.compiler.version> |
32 | 32 | <plugin.license.version>1.9.0</plugin.license.version> |
33 | | - <plugin.release.version>2.2.2</plugin.release.version> |
| 33 | + <plugin.release.version>3.1.1</plugin.release.version> |
34 | 34 | <plugin.source.version>2.2.1</plugin.source.version> |
35 | | - <plugin.assembly.version>2.4.1</plugin.assembly.version> |
36 | | - <plugin.deploy.version>2.8.2</plugin.deploy.version> |
37 | | - <plugin.jar.version>2.5</plugin.jar.version> |
| 35 | + <plugin.assembly.version>3.7.1</plugin.assembly.version> |
| 36 | + <plugin.jar.version>3.4.2</plugin.jar.version> |
38 | 37 | <plugin.javadoc.version>2.9.1</plugin.javadoc.version> |
39 | | - <plugin.cobertura.version>2.5.2</plugin.cobertura.version> |
40 | | - <plugin.gpg.version>1.5</plugin.gpg.version> |
41 | | - <plugin.central-publishing.version>0.6.0</plugin.central-publishing.version> |
| 38 | + <plugin.cobertura.version>2.7</plugin.cobertura.version> |
| 39 | + <plugin.gpg.version>3.2.5</plugin.gpg.version> |
| 40 | + <plugin.central-publishing.version>0.7.0</plugin.central-publishing.version> |
42 | 41 | <plugin.maven-gpg.version>3.2.7</plugin.maven-gpg.version> |
43 | 42 |
|
44 | | - <junit.version>4.11</junit.version> |
| 43 | + <junit.version>4.13.2</junit.version> |
45 | 44 | <hamcrest.version>1.3</hamcrest.version> |
46 | | - <canl.version>2.6.0</canl.version> |
47 | | - <mockito.version>1.9.5</mockito.version> |
| 45 | + <canl.version>2.7.0</canl.version> |
| 46 | + <mockito.version>5.16.0</mockito.version> |
48 | 47 | <jcip.version>1.0</jcip.version> |
49 | | - <bc.version>1.58</bc.version> |
| 48 | + <bc.version>1.69</bc.version> |
| 49 | + |
| 50 | + <maven.compiler.release>17</maven.compiler.release> |
50 | 51 |
|
51 | 52 | <!-- properties --> |
52 | 53 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
60 | 61 |
|
61 | 62 | <developers> |
62 | 63 | <developer> |
63 | | - <id>andreac</id> |
64 | | - <name>Andrea Ceccanti</name> |
65 | | - <email>andrea.ceccanti@cnaf.infn.it</email> |
| 64 | + <id>vianello</id> |
| 65 | + <name>Enrico Vianello</name> |
| 66 | + <email>enrico.vianello@cnaf.infn.it</email> |
66 | 67 | <organization>INFN CNAF</organization> |
67 | 68 | <roles> |
68 | 69 | <role>Developer</role> |
69 | 70 | </roles> |
70 | 71 | </developer> |
71 | 72 | <developer> |
72 | | - <id>vventuri</id> |
73 | | - <name>Valerio Venturi</name> |
74 | | - <email>valerio.venturi@cnaf.infn.it</email> |
| 73 | + <id>giaco</id> |
| 74 | + <name>Francesco Giacomini</name> |
| 75 | + <email>francesco.giacomini@cnaf.infn.it</email> |
75 | 76 | <organization>INFN CNAF</organization> |
76 | 77 | <roles> |
77 | 78 | <role>Developer</role> |
78 | 79 | </roles> |
79 | 80 | </developer> |
80 | 81 | <developer> |
81 | | - <id>dandreotti</id> |
82 | | - <name>Daniele Andreotti</name> |
83 | | - <email>daniele.andreotti@cnaf.infn.it</email> |
| 82 | + <id>szotti</id> |
| 83 | + <name>Stefano Zotti</name> |
| 84 | + <email>stefano.zotti@cnaf.infn.it</email> |
84 | 85 | <organization>INFN CNAF</organization> |
85 | 86 | <roles> |
86 | 87 | <role>Developer</role> |
|
89 | 90 | </developers> |
90 | 91 |
|
91 | 92 | <build> |
92 | | - |
93 | 93 | <plugins> |
| 94 | + |
| 95 | + <plugin> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 98 | + <version>${plugin.enforcer.version}</version> |
| 99 | + <executions> |
| 100 | + <execution> |
| 101 | + <id>enforce-maven</id> |
| 102 | + <goals> |
| 103 | + <goal>enforce</goal> |
| 104 | + </goals> |
| 105 | + <configuration> |
| 106 | + <rules> |
| 107 | + <requireMavenVersion> |
| 108 | + <version>3.6.3</version> |
| 109 | + </requireMavenVersion> |
| 110 | + </rules> |
| 111 | + </configuration> |
| 112 | + </execution> |
| 113 | + </executions> |
| 114 | + </plugin> |
| 115 | + |
| 116 | + <plugin> |
| 117 | + <groupId>org.codehaus.mojo</groupId> |
| 118 | + <artifactId>versions-maven-plugin</artifactId> |
| 119 | + <version>${plugin.versions.version}</version> |
| 120 | + </plugin> |
| 121 | + |
94 | 122 | <plugin> |
95 | 123 | <groupId>org.apache.maven.plugins</groupId> |
96 | 124 | <artifactId>maven-compiler-plugin</artifactId> |
97 | 125 | <version>${plugin.compiler.version}</version> |
98 | 126 | <configuration> |
99 | | - <source>1.8</source> |
100 | | - <target>1.8</target> |
| 127 | + <release>17</release> |
101 | 128 | <showDeprecation>true</showDeprecation> |
102 | 129 | <showWarnings>true</showWarnings> |
103 | 130 | </configuration> |
|
134 | 161 | </configuration> |
135 | 162 | </plugin> |
136 | 163 |
|
137 | | - <plugin> |
138 | | - <groupId>org.apache.maven.plugins</groupId> |
139 | | - <artifactId>maven-javadoc-plugin</artifactId> |
140 | | - <version>${plugin.javadoc.version}</version> |
141 | | - <configuration> |
142 | | - <source>1.8</source> |
143 | | - <outputDirectory>${project.build.directory}/javadoc</outputDirectory> |
144 | | - <reportOutputDirectory>${project.reporting.outputDirectory}/javadoc</reportOutputDirectory> |
145 | | - </configuration> |
146 | | - <executions> |
147 | | - <execution> |
148 | | - <id>attach-javadocs</id> |
149 | | - <goals> |
150 | | - <goal>jar</goal> |
151 | | - </goals> |
152 | | - </execution> |
153 | | - </executions> |
154 | | - </plugin> |
155 | | - |
156 | | - <plugin> |
157 | | - <groupId>org.apache.maven.plugins</groupId> |
158 | | - <artifactId>maven-source-plugin</artifactId> |
159 | | - <version>${plugin.source.version}</version> |
160 | | - <executions> |
161 | | - <execution> |
162 | | - <id>attach-sources</id> |
163 | | - <goals> |
164 | | - <goal>jar-no-fork</goal> |
165 | | - </goals> |
166 | | - </execution> |
167 | | - </executions> |
168 | | - </plugin> |
169 | | - |
170 | 164 | <plugin> |
171 | 165 | <groupId>com.mycila.maven-license-plugin</groupId> |
172 | 166 | <artifactId>maven-license-plugin</artifactId> |
|
177 | 171 | <exclude>Jenkinsfile</exclude> |
178 | 172 | <exclude>.travis.yml</exclude> |
179 | 173 | <exclude>*.md</exclude> |
| 174 | + <exclude>.vscode/**</exclude> |
180 | 175 | <exclude>Makefile</exclude> |
181 | 176 | <exclude>AUTHORS</exclude> |
182 | 177 | <exclude>LICENSE</exclude> |
183 | 178 | <exclude>.gitignore</exclude> |
184 | 179 | <exclude>spec/**</exclude> |
185 | 180 | <exclude>src/test/resources/**</exclude> |
186 | 181 | <exclude>src/config/**</exclude> |
| 182 | + <exclude>src/test/resources/home/**</exclude> |
187 | 183 | <exclude>src/main/java/org/glite/voms/FQAN.java</exclude> |
188 | 184 | </excludes> |
189 | 185 | <useDefaultExcludes>true</useDefaultExcludes> |
|
209 | 205 | </configuration> |
210 | 206 | </plugin> |
211 | 207 |
|
212 | | - <plugin> |
213 | | - <groupId>org.apache.maven.plugins</groupId> |
214 | | - <artifactId>maven-deploy-plugin</artifactId> |
215 | | - <version>${plugin.deploy.version}</version> |
216 | | - </plugin> |
217 | | - |
218 | 208 | <plugin> |
219 | 209 | <groupId>org.apache.maven.plugins</groupId> |
220 | 210 | <artifactId>maven-jar-plugin</artifactId> |
|
240 | 230 |
|
241 | 231 | <dependency> |
242 | 232 | <groupId>org.hamcrest</groupId> |
243 | | - <artifactId>hamcrest-library</artifactId> |
| 233 | + <artifactId>hamcrest-core</artifactId> |
244 | 234 | <version>${hamcrest.version}</version> |
245 | 235 | <scope>test</scope> |
246 | 236 | </dependency> |
|
249 | 239 | <groupId>eu.eu-emi.security</groupId> |
250 | 240 | <artifactId>canl</artifactId> |
251 | 241 | <version>${canl.version}</version> |
| 242 | + <exclusions> |
| 243 | + <exclusion> |
| 244 | + <groupId>org.bouncycastle</groupId> |
| 245 | + <artifactId>bcpkix-jdk15on</artifactId> |
| 246 | + </exclusion> |
| 247 | + <exclusion> |
| 248 | + <groupId>org.bouncycastle</groupId> |
| 249 | + <artifactId>bcprov-jdk15on</artifactId> |
| 250 | + </exclusion> |
| 251 | + </exclusions> |
252 | 252 | </dependency> |
253 | 253 |
|
254 | 254 | <dependency> |
255 | | - <groupId>org.bouncycastle</groupId> |
256 | | - <artifactId>bcpkix-jdk15on</artifactId> |
257 | | - <version>${bc.version}</version> |
| 255 | + <groupId>org.bouncycastle</groupId> |
| 256 | + <artifactId>bcpkix-jdk15on</artifactId> |
| 257 | + <version>${bc.version}</version> |
258 | 258 | </dependency> |
259 | 259 |
|
260 | 260 | <dependency> |
261 | | - <groupId>org.bouncycastle</groupId> |
262 | | - <artifactId>bcprov-jdk15on</artifactId> |
263 | | - <version>${bc.version}</version> |
| 261 | + <groupId>org.bouncycastle</groupId> |
| 262 | + <artifactId>bcprov-jdk15on</artifactId> |
| 263 | + <version>${bc.version}</version> |
264 | 264 | </dependency> |
265 | 265 |
|
266 | 266 | <dependency> |
|
334 | 334 |
|
335 | 335 | <profile> |
336 | 336 | <id>central-staging</id> |
337 | | - <distributionManagement> |
338 | | - <snapshotRepository> |
339 | | - <id>central</id> |
340 | | - <name>Maven central snapshots</name> |
341 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
342 | | - </snapshotRepository> |
343 | | - |
344 | | - <repository> |
345 | | - <id>central</id> |
346 | | - <name>Maven central releases</name> |
347 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
348 | | - </repository> |
349 | | - </distributionManagement> |
350 | | - |
351 | 337 | <build> |
352 | 338 | <plugins> |
353 | 339 | <plugin> |
354 | 340 | <groupId>org.sonatype.central</groupId> |
355 | 341 | <artifactId>central-publishing-maven-plugin</artifactId> |
356 | 342 | <version>${plugin.central-publishing.version}</version> |
357 | 343 | <extensions>true</extensions> |
358 | | - <configuration> |
359 | | - <publishingServerId>central</publishingServerId> |
| 344 | + <configuration> |
| 345 | + <publishingServerId>central</publishingServerId> |
360 | 346 | </configuration> |
361 | 347 | </plugin> |
362 | 348 | <plugin> |
|
370 | 356 | <goals> |
371 | 357 | <goal>sign</goal> |
372 | 358 | </goals> |
| 359 | + <configuration> |
| 360 | + <gpgArguments> |
| 361 | + <arg>--pinentry-mode</arg> |
| 362 | + <arg>loopback</arg> |
| 363 | + </gpgArguments> |
| 364 | + </configuration> |
373 | 365 | </execution> |
374 | 366 | </executions> |
375 | 367 | </plugin> |
|
0 commit comments