Skip to content

Instantly share code, notes, and snippets.

@albertus82
Created May 4, 2020 06:46
Show Gist options
  • Save albertus82/7a55ba52d761245952d8796bb036aedc to your computer and use it in GitHub Desktop.
Save albertus82/7a55ba52d761245952d8796bb036aedc to your computer and use it in GitHub Desktop.
Controllo aggiornamenti dipendenze
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>default</id>
<phase>verify</phase>
<goals>
<goal>display-property-updates</goal>
<goal>display-dependency-updates</goal>
</goals>
</execution>
<execution>
<id>exclude-major</id>
<phase>verify</phase>
<goals>
<goal>display-property-updates</goal>
<goal>display-dependency-updates</goal>
</goals>
<configuration>
<allowAnyUpdates>false</allowAnyUpdates>
<allowMajorUpdates>false</allowMajorUpdates>
</configuration>
</execution>
<execution>
<id>patch-only</id>
<phase>verify</phase>
<goals>
<goal>display-property-updates</goal>
<goal>display-dependency-updates</goal>
</goals>
<configuration>
<allowAnyUpdates>false</allowAnyUpdates>
<allowMajorUpdates>false</allowMajorUpdates>
<allowMinorUpdates>false</allowMinorUpdates>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment