Skip to content

Commit

Permalink
cleanup release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mtf90 committed Oct 27, 2023
1 parent 921ff80 commit 919984d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 33 deletions.
7 changes: 0 additions & 7 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,6 @@ limitations under the License.
</profile>
<profile>
<id>bundles</id>
<activation>
<property>
<name>automatalib.release</name>
<value>true</value>
</property>
</activation>

<!--
Additionally specify source-classified dependencies for building source assemblies.
Again, sorted alphabetically/hierarchical to allow for a better check for completeness using a file explorer
Expand Down
32 changes: 6 additions & 26 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -708,12 +708,13 @@ limitations under the License.
<artifactId>maven-release-plugin</artifactId>
<version>${release-plugin.version}</version>
<configuration>
<arguments>-Dautomatalib.release=true</arguments>
<preparationProfiles>code-analysis</preparationProfiles>
<!-- Perform an install into the local repository, otherwise the javadoc plugin and archetype integration tests will fail -->
<preparationGoals>clean install site</preparationGoals>
<releaseProfiles>release,sign-artifacts,bundles,!examples</releaseProfiles>
<goals>deploy site site:stage scm-publish:publish-scm</goals>
<!-- Automatically use the parent version for all submodules, do not prompt for each one -->
<autoVersionSubmodules>true</autoVersionSubmodules>
<!-- Perform an install into the local repository, otherwise the javadoc plugin and archetype integration tests will fail -->
<preparationGoals>clean install site -Pcode-analysis</preparationGoals>
<tagNameFormat>automatalib-@{version}</tagNameFormat>
</configuration>
</plugin>
Expand Down Expand Up @@ -1008,12 +1009,6 @@ limitations under the License.
<profile>
<!-- enables building of JavaDoc- and source JARs as well as bundled artifacts in 'distribution' module -->
<id>bundles</id>
<activation>
<property>
<name>automatalib.release</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -1046,12 +1041,6 @@ limitations under the License.
<profile>
<!-- enables the signing of artifacts using gpg -->
<id>sign-artifacts</id>
<activation>
<property>
<name>automatalib.release</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -1093,12 +1082,6 @@ limitations under the License.
<profile>
<!-- set certain configurations when performing a release -->
<id>release</id>
<activation>
<property>
<name>automatalib.release</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -1177,12 +1160,9 @@ limitations under the License.
</profile>
<profile>
<id>examples</id>
<!-- don't include examples in a release -->
<!-- define in a module so that we can disable the profile during a release -->
<activation>
<property>
<name>automatalib.release</name>
<value>!true</value>
</property>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>examples</module>
Expand Down

0 comments on commit 919984d

Please sign in to comment.