generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 👷 ci add s3 rest service to image build * ♻️ pom mv release information to modules * ♻️ pom rearrange plugins * ✨ pom add needed information for maven release * ✨ pom init maven release * 👷 ci add maven release configuration * 👷 pom disable javadoc linting * 👷 pom javadoc linting only validate not require * 🐛 fix javadoc
- Loading branch information
Showing
5 changed files
with
163 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,10 @@ | |
|
||
<groupId>de.muenchen.refarch</groupId> | ||
<artifactId>refarch-gateway</artifactId> | ||
<name>refarch-gateway</name> | ||
<description>Ready to use RefArch gateway based on Spring Cloud Gateway</description> | ||
<version>1.1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<name>refarch-gateway</name> | ||
|
||
<properties> | ||
<!-- Compilation --> | ||
|
@@ -139,13 +140,7 @@ | |
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine> | ||
</configuration> | ||
</plugin> | ||
<!-- Build --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
|
@@ -159,6 +154,14 @@ | |
</annotationProcessorPaths> | ||
</configuration> | ||
</plugin> | ||
<!-- Testing --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
|
@@ -214,4 +217,23 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<scm> | ||
<url>https://github.com/it-at-m/refarch.git</url> | ||
<connection>scm:git:https://github.com/it-at-m/refarch.git</connection> | ||
<developerConnection>scm:git:https://github.com/it-at-m/refarch.git</developerConnection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
<licenses> | ||
<license> | ||
<name>MIT</name> | ||
</license> | ||
</licenses> | ||
<developers> | ||
<developer> | ||
<organization>it@M</organization> | ||
<email>[email protected]</email> | ||
<url>https://github.com/it-at-m</url> | ||
</developer> | ||
</developers> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,10 @@ | |
|
||
<groupId>de.muenchen.refarch</groupId> | ||
<artifactId>refarch-integrations</artifactId> | ||
<name>refarch-integrations</name> | ||
<description>Collection of different ready to use RefArch integrations</description> | ||
<version>1.1.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
<name>refarch-integrations</name> | ||
|
||
<modules> | ||
<module>refarch-s3-integration</module> | ||
|
@@ -37,6 +38,11 @@ | |
<spotless-maven-plugin.version>2.34.0</spotless-maven-plugin.version> | ||
<itm-java-codeformat.version>1.0.10</itm-java-codeformat.version> | ||
|
||
<!-- Release --> | ||
<central-publishing-maven-plugin.version>0.5.0</central-publishing-maven-plugin.version> | ||
<maven-release-plugin.version>3.1.1</maven-release-plugin.version> | ||
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version> | ||
|
||
<!-- Testing --> | ||
<jacoco.version>0.8.12</jacoco.version> | ||
|
||
|
@@ -112,13 +118,7 @@ | |
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine> | ||
</configuration> | ||
</plugin> | ||
<!-- Build --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
|
@@ -144,6 +144,41 @@ | |
</annotationProcessorPaths> | ||
</configuration> | ||
</plugin> | ||
<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> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<configuration> | ||
<doclint>accessibility,html,reference,syntax</doclint> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- Testing --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
|
@@ -163,6 +198,18 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- Release --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>${maven-release-plugin.version}</version> | ||
<configuration> | ||
<autoVersionSubmodules>true</autoVersionSubmodules> | ||
<useReleaseProfile>false</useReleaseProfile> | ||
<releaseProfiles>release</releaseProfiles> | ||
<goals>deploy</goals> | ||
</configuration> | ||
</plugin> | ||
|
||
<!-- Codeformatter Spotless --> | ||
<plugin> | ||
|
@@ -199,4 +246,70 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<!-- Central Portal Publishing Plugin --> | ||
<plugin> | ||
<groupId>org.sonatype.central</groupId> | ||
<artifactId>central-publishing-maven-plugin</artifactId> | ||
<version>${central-publishing-maven-plugin.version}</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<autoPublish>true</autoPublish> | ||
<deploymentName>${project.groupId}:${project.artifactId}:${project.version}</deploymentName> | ||
<excludeArtifacts> | ||
<!-- Exclude services --> | ||
<artifact>refarch-s3-integration-rest-service</artifact> | ||
</excludeArtifacts> | ||
</configuration> | ||
</plugin> | ||
<!-- GPG plugin --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>${maven-gpg-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
<configuration> | ||
<!-- Prevent `gpg` from using pinentry programs --> | ||
<gpgArguments> | ||
<arg>--pinentry-mode</arg> | ||
<arg>loopback</arg> | ||
</gpgArguments> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
|
||
<scm> | ||
<url>https://github.com/it-at-m/refarch.git</url> | ||
<connection>scm:git:https://github.com/it-at-m/refarch.git</connection> | ||
<developerConnection>scm:git:https://github.com/it-at-m/refarch.git</developerConnection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
<licenses> | ||
<license> | ||
<name>MIT</name> | ||
</license> | ||
</licenses> | ||
<developers> | ||
<developer> | ||
<organization>it@M</organization> | ||
<email>[email protected]</email> | ||
<url>https://github.com/it-at-m</url> | ||
</developer> | ||
</developers> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters