aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Zajc <marko@zajc.eu.org>2023-08-08 23:53:14 +0200
committerMarko Zajc <marko@zajc.eu.org>2023-08-08 23:53:14 +0200
commitfcc746106441ab776246688db6e902e449fcbf93 (patch)
treebe75eabb5690eaf352c727032fc3e97a4685e3f7
parent989329e74f02296be258c358ee1566bcaa8c603c (diff)
Update the pom
-rw-r--r--pom.xml92
-rw-r--r--versions-ruleset.xml10
2 files changed, 36 insertions, 66 deletions
diff --git a/pom.xml b/pom.xml
index c7cbe8a..b566aa7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,6 @@
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 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">
2 <modelVersion>4.0.0</modelVersion> 4 <modelVersion>4.0.0</modelVersion>
3 5
4 <groupId>org.eu.zajc</groupId> 6 <groupId>org.eu.zajc</groupId>
@@ -51,41 +53,14 @@
51 53
52 <build> 54 <build>
53 <plugins> 55 <plugins>
54 <!-- Javadoc -->
55 <plugin>
56 <artifactId>maven-javadoc-plugin</artifactId>
57 <version>3.4.0</version>
58 <executions>
59 <execution>
60 <id>attach-javadocs</id>
61 <goals>
62 <goal>jar</goal>
63 </goals>
64 </execution>
65 </executions>
66 <configuration>
67 <doclint>all,-missing</doclint>
68 </configuration>
69 </plugin>
70
71 <!-- Version checker -->
72 <plugin>
73 <groupId>org.codehaus.mojo</groupId>
74 <artifactId>versions-maven-plugin</artifactId>
75 <version>2.11.0</version>
76 <configuration>
77 <rulesUri>file://${project.basedir}/versions-ruleset.xml</rulesUri>
78 </configuration>
79 </plugin>
80 56
81 <!-- Version enforcer --> 57 <!-- Version enforcer -->
82 <plugin> 58 <plugin>
83 <groupId>org.apache.maven.plugins</groupId> 59 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-enforcer-plugin</artifactId> 60 <artifactId>maven-enforcer-plugin</artifactId>
85 <version>3.1.0</version> 61 <version>3.3.0</version>
86 <executions> 62 <executions>
87 <execution> 63 <execution>
88 <id>enforce-maven</id>
89 <goals> 64 <goals>
90 <goal>enforce</goal> 65 <goal>enforce</goal>
91 </goals> 66 </goals>
@@ -100,35 +75,32 @@
100 </executions> 75 </executions>
101 </plugin> 76 </plugin>
102 77
103 <!-- Redefined --> 78 <!-- Javadoc -->
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-compiler-plugin</artifactId>
107 <version>3.10.1</version>
108 </plugin>
109
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-clean-plugin</artifactId>
113 <version>3.2.0</version>
114 </plugin>
115
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-jar-plugin</artifactId>
119 <version>3.2.2</version>
120 </plugin>
121
122 <plugin> 79 <plugin>
123 <groupId>org.apache.maven.plugins</groupId> 80 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-deploy-plugin</artifactId> 81 <artifactId>maven-javadoc-plugin</artifactId>
125 <version>2.8.2</version> 82 <version>3.5.0</version>
83 <executions>
84 <execution>
85 <phase>verify</phase>
86 <goals>
87 <goal>jar</goal>
88 </goals>
89 </execution>
90 </executions>
91 <configuration>
92 <doclint>all,-missing</doclint>
93 </configuration>
126 </plugin> 94 </plugin>
127 95
96 <!-- Version checker -->
128 <plugin> 97 <plugin>
129 <groupId>org.apache.maven.plugins</groupId> 98 <groupId>org.codehaus.mojo</groupId>
130 <artifactId>maven-install-plugin</artifactId> 99 <artifactId>versions-maven-plugin</artifactId>
131 <version>2.5.2</version> 100 <version>2.16.0</version>
101 <configuration>
102 <rulesUri>file://${project.basedir}/versions-ruleset.xml</rulesUri>
103 </configuration>
132 </plugin> 104 </plugin>
133 105
134 </plugins> 106 </plugins>
@@ -144,10 +116,9 @@
144 <plugin> 116 <plugin>
145 <groupId>org.apache.maven.plugins</groupId> 117 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-source-plugin</artifactId> 118 <artifactId>maven-source-plugin</artifactId>
147 <version>3.2.1</version> 119 <version>3.3.0</version>
148 <executions> 120 <executions>
149 <execution> 121 <execution>
150 <id>attach-sources</id>
151 <goals> 122 <goals>
152 <goal>jar</goal> 123 <goal>jar</goal>
153 </goals> 124 </goals>
@@ -159,10 +130,9 @@
159 <plugin> 130 <plugin>
160 <groupId>org.apache.maven.plugins</groupId> 131 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-gpg-plugin</artifactId> 132 <artifactId>maven-gpg-plugin</artifactId>
162 <version>3.0.1</version> 133 <version>3.1.0</version>
163 <executions> 134 <executions>
164 <execution> 135 <execution>
165 <id>sign-artifacts</id>
166 <phase>verify</phase> 136 <phase>verify</phase>
167 <goals> 137 <goals>
168 <goal>sign</goal> 138 <goal>sign</goal>
@@ -178,13 +148,15 @@
178 <version>1.6.13</version> 148 <version>1.6.13</version>
179 <extensions>true</extensions> 149 <extensions>true</extensions>
180 <configuration> 150 <configuration>
181 <serverId>ossrh</serverId> 151 <serverId>${nexus.serverid}</serverId>
182 <nexusUrl>https://oss.sonatype.org/</nexusUrl> 152 <nexusUrl>${nexus.url}</nexusUrl>
183 <autoReleaseAfterClose>false</autoReleaseAfterClose> 153 <autoReleaseAfterClose>false</autoReleaseAfterClose>
184 </configuration> 154 </configuration>
185 </plugin> 155 </plugin>
156
186 </plugins> 157 </plugins>
187 </build> 158 </build>
188 </profile> 159 </profile>
189 </profiles> 160 </profiles>
190</project> \ No newline at end of file 161
162</project>
diff --git a/versions-ruleset.xml b/versions-ruleset.xml
index 85e109d..4d59c85 100644
--- a/versions-ruleset.xml
+++ b/versions-ruleset.xml
@@ -6,12 +6,10 @@
6 <rules> 6 <rules>
7 <rule groupId="*"> 7 <rule groupId="*">
8 <ignoreVersions> 8 <ignoreVersions>
9 <ignoreVersion type="regex">.*(-|\.)(beta|alpha|RC|M)[\.-]?\d+$</ignoreVersion> 9 <ignoreVersion type="regex">.*-alpha\d$</ignoreVersion>
10 </ignoreVersions> 10 <ignoreVersion type="regex">.*-beta\d$</ignoreVersion>
11 </rule> 11 <ignoreVersion type="regex">.*[-\.]M\d$</ignoreVersion>
12 <rule groupId="commons-net"> 12 <ignoreVersion type="regex">.*-RC\d$</ignoreVersion>
13 <ignoreVersions>
14 <ignoreVersion type="regex">^2003\d{4}.\d{6}$</ignoreVersion>
15 </ignoreVersions> 13 </ignoreVersions>
16 </rule> 14 </rule>
17 </rules> 15 </rules>