Skip to content

Commit

Permalink
Improved pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
eugener committed Apr 16, 2023
1 parent 89ac843 commit b668ac2
Showing 1 changed file with 86 additions and 37 deletions.
123 changes: 86 additions & 37 deletions swingbits/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,29 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.oxbow</groupId>
<artifactId>swingbits</artifactId>
<version>1.2.1</version>
<version>1.3.0</version>

<name>Oxbow Project</name>
<description>A collection of useful components and utilities for Java Swing Toolkit</description>
<url>https://github.com/eugener/oxbow</url>
<inceptionYear>2010</inceptionYear>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>11</maven.compiler.release>
</properties>

<licenses>
<license>
<name>The 3-Clause BSD License</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<name>Eugene Ryzhikov</name>
<email>[email protected]</email>
<roles>
<role>author</role>
<role>developer</role>
Expand All @@ -29,7 +37,7 @@
<url>https://github.com/eugener/oxbow</url>
<connection>scm:git:https://github.com/eugener/oxbow.git</connection>
<developerConnection>scm:git:[email protected]:eugener/oxbow.git</developerConnection>
<tag>swingbits-1.2.0</tag>
<tag>swingbits-1.3.0</tag>
</scm>

<distributionManagement>
Expand Down Expand Up @@ -71,41 +79,12 @@
</repository>
</repositories>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -115,7 +94,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.2</version>
<version>2.22.2</version>
<configuration>
<includes>
<include>TableFilterTest.java</include>
Expand All @@ -135,7 +114,7 @@
</execution>
</executions>
</plugin>
<!-- <plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
Expand All @@ -145,12 +124,82 @@
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<doclint>none</doclint>
</configuration>
</execution>
</executions>
</plugin>-->
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>publication</id>
<properties>
<altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository>
</properties>
<build>
<defaultGoal>deploy</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit b668ac2

Please sign in to comment.