Prepare of dep update versions
This commit is contained in:
parent
9933a0c3eb
commit
980e40af65
1 changed files with 75 additions and 2 deletions
77
pom.xml
77
pom.xml
|
|
@ -476,12 +476,12 @@
|
|||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>42.7.5</version>
|
||||
<version>42.7.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mariadb.jdbc</groupId>
|
||||
<artifactId>mariadb-java-client</artifactId>
|
||||
<version>3.0.8</version>
|
||||
<version>3.5.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
|
|
@ -571,6 +571,11 @@
|
|||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>versions-maven-plugin</artifactId>
|
||||
<version>2.16.2</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
|
@ -599,5 +604,73 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>mvn-versions-check</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>versions-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>run-plugin-updates</id>
|
||||
<goals>
|
||||
<goal>display-plugin-updates</goal>
|
||||
</goals>
|
||||
<phase>initialize</phase>
|
||||
<configuration>
|
||||
<outputFile>target/versions-plugin-updates.txt</outputFile>
|
||||
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>run-dependency-updates</id>
|
||||
<goals>
|
||||
<goal>display-dependency-updates</goal>
|
||||
</goals>
|
||||
<phase>initialize</phase>
|
||||
<configuration>
|
||||
<outputFile>target/versions-dependency-updates.txt</outputFile>
|
||||
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>mvn-versions-check</id>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<phase>initialize</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<echo>Loading version output.</echo>
|
||||
<loadfile property="versions_plugins" srcFile="target/versions-plugin-updates.txt" encoding="UTF-8" />
|
||||
<loadfile property="versions_dependency" srcFile="target/versions-dependency-updates.txt" encoding="UTF-8" />
|
||||
<echo>Checking for plugin updates.</echo>
|
||||
<fail message="Out of date plugin detected.">
|
||||
<condition>
|
||||
<contains string="${versions_plugins}" substring="->" />
|
||||
</condition>
|
||||
</fail>
|
||||
<echo>Checking for dependency updates.</echo>
|
||||
<fail message="Out of date dependency detected.">
|
||||
<condition>
|
||||
<contains string="${versions_dependency}" substring="->" />
|
||||
</condition>
|
||||
</fail>
|
||||
<echo>No pending updates found.</echo>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
Loading…
Add table
Add a link
Reference in a new issue