Add release plugin configuration

We need to enable all of the OS-specific profiles so the version numbers
of all the modules are bumped.

In turn this means we need to avoid calling the verify target during
release:prepare, as we can't build all the modules on any platform.

Similarly, we can't actually call the deploy target during
release:perform. We instead call `mvn -Prelease deploy` on each
supported operating system/architecture manually.
master
Graham 5 years ago
parent 4e517fdb7f
commit 0dc4b20643
  1. 9
      pom.xml

@ -90,6 +90,15 @@
</java> </java>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<releaseProfiles>release,mac,unix,windows</releaseProfiles>
<preparationGoals>clean</preparationGoals>
<goals />
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>

Loading…
Cancel
Save