You can simply define the maven-surefire-plugin version in the pluginManagement section of your pom or better at pom.
<build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.3</version> </plugin> ... </plugin> </pluginManagmenet> </build>
If you do not already have a company, your assembly will not play, which means that if you change the version of your maven, your assembly will use a different version of the plugin, which is true for all plugins. In addition, it is best to determine the version of the plugins in the assembly. No need to update Maven. You can if you have problems with Maven, but not for plugins.
khmarbaise
source share