Skip to content

Commit

Permalink
Released 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tbee committed Apr 20, 2021
1 parent 609dced commit c35cacb
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 76 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>miglayout-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>miglayout-demo</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>miglayout-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ideutil/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>miglayout-ideutil</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion javafx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>miglayout-javafx</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion nbm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
154 changes: 86 additions & 68 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<packaging>pom</packaging>
<name>MiGLayout</name>
<description>MiGLayout - Java Layout Manager for Swing, SWT and JavaFX</description>
Expand All @@ -35,13 +35,18 @@
</dependency>
</dependencies>

<!--<distributionManagement>-->
<!--<repository>-->
<!--<id>nexus</id>-->
<!--<name>Nexus Staging Repo</name>-->
<!--<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
<!--</repository>-->
<!--</distributionManagement>-->
<!-- https://blog.sonatype.com/2010/01/how-to-generate-pgp-signatures-with-maven/ -->
<!-- https://central.sonatype.org/pages/apache-maven.html -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<profiles>
<profile>
Expand Down Expand Up @@ -92,70 +97,19 @@
<version>2.8.1</version>
</plugin>

<!-- include a javadoc jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<!--<configuration>-->
<!--<additionalparam>${javadoc.opts}</additionalparam>-->
<!--</configuration>-->
</execution>
</executions>
</plugin>

<!-- include a sourcecode jar -->
<!-- autoversion submodules -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<!--<phase>verify</phase>-->
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>

<!-- autoversion submodules -->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-release-plugin</artifactId>-->
<!--<version>2.5.3</version>-->
<!--<configuration>-->
<!--<autoVersionSubmodules>true</autoVersionSubmodules>-->
<!--<useReleaseProfile>false</useReleaseProfile>-->
<!--<releaseProfiles>release</releaseProfiles>-->
<!--<goals>deploy</goals>-->
<!--</configuration>-->
<!--</plugin>-->

<!-- sign the artifacts: this should be done by Sonatype's OSS parent pom during a normal mvn release-->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-gpg-plugin</artifactId>-->
<!--<version>1.6</version>-->
<!--<executions>-->
<!--<execution>-->
<!--<id>sign-artifacts</id>-->
<!--<phase>verify</phase>-->
<!--<goals>-->
<!--<goal>sign</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand Down Expand Up @@ -214,6 +168,70 @@
</execution>
</executions>
</plugin>

<!-- attach source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- attach javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
</plugin>

<!-- sign the jars files; the credentials are in .m2/settings.xml, the
key itself is shown by the gpg list-keys command -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>deploy</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- deploy using the special nexus-staging deploy plugin -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<!-- in case of release problems without reason
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
-->
</configuration>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion swing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>miglayout-swing</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion swt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-parent</artifactId>
<version>5.3-SNAPSHOT</version>
<version>5.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>miglayout-swt</artifactId>
Expand Down

0 comments on commit c35cacb

Please sign in to comment.