|
27 | 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | 28 |
|
29 | 29 | --> |
30 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
31 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 30 | +<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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
32 | 31 | <modelVersion>4.0.0</modelVersion> |
33 | 32 |
|
34 | 33 | <groupId>engineering.swat</groupId> |
35 | 34 | <artifactId>java-watch</artifactId> |
36 | | - <version>0.0.1-SNAPSHOT</version> |
| 35 | + <version>0.5.0-RC5-SNAPSHOT</version> |
37 | 36 | <packaging>jar</packaging> |
| 37 | + |
| 38 | + <name>${project.groupId}:${project.artifactId}</name> |
| 39 | + <description>A java file watcher that works across platforms and supports recursion, single file watches, and tries to make sure no events are missed. Where possible it uses Java's NIO WatchService.</description> |
| 40 | + <url>https://github.com/SWAT-engineering/java-watch</url> |
| 41 | + |
38 | 42 | <licenses> |
39 | 43 | <license> |
40 | 44 | <name>BSD-2-Clause</name> |
|
43 | 47 | </license> |
44 | 48 | </licenses> |
45 | 49 |
|
| 50 | + <developers> |
| 51 | + <developer> |
| 52 | + <name>Davy Landman</name> |
| 53 | + |
| 54 | + <organization>swat.engineering</organization> |
| 55 | + <organizationUrl>https://www.swat.engineering</organizationUrl> |
| 56 | + </developer> |
| 57 | + <developer> |
| 58 | + <name>Sung-Shik Jongmans</name> |
| 59 | + |
| 60 | + <organization>swat.engineering</organization> |
| 61 | + <organizationUrl>https://www.swat.engineering</organizationUrl> |
| 62 | + </developer> |
| 63 | + </developers> |
| 64 | + |
| 65 | + <scm> |
| 66 | + <connection>scm:git:git://github.com/SWAT-engineering/java-watch.git</connection> |
| 67 | + < developerConnection>scm:git:ssh:// [email protected]/SWAT-engineering/java-watch.git</ developerConnection> |
| 68 | + <url>https://github.com/SWAT-engineering/java-watch/tree/main/</url> |
| 69 | + <tag>v0.5.0-RC3</tag> |
| 70 | + </scm> |
| 71 | + |
46 | 72 | <properties> |
47 | 73 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
48 | 74 | <checkerframework.version>3.42.0</checkerframework.version> |
|
54 | 80 |
|
55 | 81 | <build> |
56 | 82 | <plugins> |
57 | | - <plugin> |
| 83 | + <plugin> <!-- configure java compiler --> |
58 | 84 | <groupId>org.apache.maven.plugins</groupId> |
59 | 85 | <artifactId>maven-compiler-plugin</artifactId> |
60 | | - <version>3.10.1</version> |
| 86 | + <version>3.14.0</version> |
61 | 87 | <configuration> |
62 | 88 | <release>11</release> |
63 | 89 | <compilerArgument>-parameters</compilerArgument> |
64 | 90 | </configuration> |
65 | 91 | </plugin> |
66 | | - <plugin> |
67 | | - <groupId>org.apache.maven.plugins</groupId> |
68 | | - <artifactId>maven-source-plugin</artifactId> |
69 | | - <version>3.2.1</version> |
70 | | - <executions> |
71 | | - <execution> |
72 | | - <id>attach-sources</id> |
73 | | - <goals> |
74 | | - <goal>jar</goal> |
75 | | - </goals> |
76 | | - </execution> |
77 | | - </executions> |
78 | | - </plugin> |
79 | | - <plugin> |
| 92 | + <plugin> <!-- automate release commits --> |
80 | 93 | <groupId>org.apache.maven.plugins</groupId> |
81 | 94 | <artifactId>maven-release-plugin</artifactId> |
| 95 | + <version>3.1.1</version> |
82 | 96 | <configuration> |
83 | 97 | <tagNameFormat>v@{project.version}</tagNameFormat> |
| 98 | + <!-- do not use the build in release profile, we invoke it later --> |
| 99 | + <releaseProfiles /> |
84 | 100 | </configuration> |
85 | 101 | </plugin> |
86 | | - <plugin> |
87 | | - <groupId>org.apache.maven.plugins</groupId> |
88 | | - <artifactId>maven-javadoc-plugin</artifactId> |
89 | | - <version>3.4.0</version> |
90 | | - <configuration> |
91 | | - <additionalparam>-Xdoclint:none</additionalparam> |
92 | | - </configuration> |
93 | | - </plugin> |
94 | | - <plugin> |
| 102 | + <plugin> <!-- unit test integration --> |
95 | 103 | <groupId>org.apache.maven.plugins</groupId> |
96 | 104 | <artifactId>maven-surefire-plugin</artifactId> |
97 | | - <version>2.22.2</version> |
| 105 | + <version>3.5.3</version> |
98 | 106 | </plugin> |
99 | | - <plugin> |
| 107 | + <plugin> <!-- code coverage --> |
100 | 108 | <groupId>org.jacoco</groupId> |
101 | 109 | <artifactId>jacoco-maven-plugin</artifactId> |
102 | | - <version>0.8.8</version> |
| 110 | + <version>0.8.13</version> |
103 | 111 | <executions> |
104 | 112 | <execution> |
105 | 113 | <goals> |
|
115 | 123 | </execution> |
116 | 124 | </executions> |
117 | 125 | </plugin> |
118 | | - <plugin> |
| 126 | + <plugin> <!-- enforce license headers --> |
119 | 127 | <groupId>com.mycila</groupId> |
120 | 128 | <artifactId>license-maven-plugin</artifactId> |
121 | 129 | <!-- mvn license:format adds/updates all license headers --> |
122 | | - <version>4.6</version> |
| 130 | + <version>5.0.0</version> |
123 | 131 | <configuration> |
124 | 132 | <licenseSets> |
125 | 133 | <licenseSet> |
|
142 | 150 | </execution> |
143 | 151 | </executions> |
144 | 152 | </plugin> |
145 | | - <plugin> |
| 153 | + <plugin> <!-- enforce editor config on the files --> |
146 | 154 | <groupId>org.ec4j.maven</groupId> |
147 | 155 | <artifactId>editorconfig-maven-plugin</artifactId> |
148 | 156 | <version>0.1.3</version> |
|
157 | 165 | </execution> |
158 | 166 | </executions> |
159 | 167 | </plugin> |
| 168 | + <plugin> <!-- use a new version of maven --> |
| 169 | + <groupId>org.apache.maven.plugins</groupId> |
| 170 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 171 | + <version>3.5.0</version> |
| 172 | + <executions> |
| 173 | + <execution> |
| 174 | + <id>enforce-maven</id> |
| 175 | + <goals> |
| 176 | + <goal>enforce</goal> |
| 177 | + </goals> |
| 178 | + <configuration> |
| 179 | + <rules> |
| 180 | + <requireMavenVersion> |
| 181 | + <version>(3.9,)</version> |
| 182 | + </requireMavenVersion> |
| 183 | + </rules> |
| 184 | + </configuration> |
| 185 | + </execution> |
| 186 | + </executions> |
| 187 | + </plugin> |
160 | 188 | </plugins> |
161 | 189 | </build> |
162 | 190 |
|
|
197 | 225 | </dependencies> |
198 | 226 |
|
199 | 227 | <profiles> |
| 228 | + <profile> <!-- releasing to maven central --> |
| 229 | + <id>release</id> |
| 230 | + <build> |
| 231 | + <plugins> |
| 232 | + <plugin><!-- uploading to maven central--> |
| 233 | + <groupId>org.sonatype.central</groupId> |
| 234 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 235 | + <version>0.7.0</version> |
| 236 | + <extensions>true</extensions> |
| 237 | + <configuration> |
| 238 | + <publishingServerId>central</publishingServerId> |
| 239 | + </configuration> |
| 240 | + </plugin> |
| 241 | + <plugin> <!-- sign jar for maven central--> |
| 242 | + <groupId>org.apache.maven.plugins</groupId> |
| 243 | + <artifactId>maven-gpg-plugin</artifactId> |
| 244 | + <version>3.2.7</version> |
| 245 | + <executions> |
| 246 | + <execution> |
| 247 | + <id>sign-artifacts</id> |
| 248 | + <phase>verify</phase> |
| 249 | + <goals> |
| 250 | + <goal>sign</goal> |
| 251 | + </goals> |
| 252 | + </execution> |
| 253 | + </executions> |
| 254 | + </plugin> |
| 255 | + <plugin> <!-- generate java-doc --> |
| 256 | + <groupId>org.apache.maven.plugins</groupId> |
| 257 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 258 | + <version>3.11.2</version> |
| 259 | + <executions> |
| 260 | + <execution> |
| 261 | + <id>attach-javadocs</id> |
| 262 | + <goals> |
| 263 | + <goal>jar</goal> |
| 264 | + </goals> |
| 265 | + </execution> |
| 266 | + </executions> |
| 267 | + </plugin> |
| 268 | + <plugin> <!-- generate sources jar --> |
| 269 | + <groupId>org.apache.maven.plugins</groupId> |
| 270 | + <artifactId>maven-source-plugin</artifactId> |
| 271 | + <version>3.3.1</version> |
| 272 | + <executions> |
| 273 | + <execution> |
| 274 | + <id>attach-sources</id> |
| 275 | + <goals> |
| 276 | + <goal>jar-no-fork</goal> |
| 277 | + </goals> |
| 278 | + </execution> |
| 279 | + </executions> |
| 280 | + </plugin> |
| 281 | + </plugins> |
| 282 | + </build> |
| 283 | + </profile> |
| 284 | + |
| 285 | + |
200 | 286 | <profile> <!-- run with: mvn clean compile -P checker-framework --> |
201 | 287 | <id>checker-framework</id> |
202 | 288 | <build> |
|
205 | 291 | <!-- This plugin will set properties values using dependency information --> |
206 | 292 | <groupId>org.apache.maven.plugins</groupId> |
207 | 293 | <artifactId>maven-dependency-plugin</artifactId> |
| 294 | + <version>3.8.1</version> |
208 | 295 | <executions> |
209 | 296 | <execution> |
210 | 297 | <goals> |
|
216 | 303 | <plugin> |
217 | 304 | <groupId>org.apache.maven.plugins</groupId> |
218 | 305 | <artifactId>maven-compiler-plugin</artifactId> |
219 | | - <version>3.10.1</version> |
| 306 | + <version>3.14.0</version> |
220 | 307 | <configuration> |
221 | 308 | <fork>true</fork> |
222 | 309 | <release>11</release> |
|
0 commit comments