diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-05-12 05:40:43 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-05-12 05:40:43 +0200 |
commit | 3a997daf521b13a3e2792198708b6613464b5f75 (patch) | |
tree | f49a0d5bec7c261b278e1a89e7be2de5ad428f11 | |
parent | a82213778c8d953e81b7c50b2c8af729d1bacf4c (diff) |
Make publishable on OSSRH.
Change-Id: I40968ec6cd7894eed8088c45a76f652d921722fa
-rw-r--r-- | deployment/pom.xml | 1 | ||||
-rw-r--r-- | pom.xml | 124 | ||||
-rw-r--r-- | runtime/pom.xml | 1 |
3 files changed, 123 insertions, 3 deletions
diff --git a/deployment/pom.xml b/deployment/pom.xml index 7978272..4713b1a 100644 --- a/deployment/pom.xml +++ b/deployment/pom.xml @@ -9,6 +9,7 @@ <artifactId>quarkus-googlecloud-jsonlogging-parent</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> + <artifactId>quarkus-googlecloud-jsonlogging-deployment</artifactId> <name>Quarkus Google Cloud JSON Logging Extension - Deployment</name> @@ -5,10 +5,39 @@ <modelVersion>4.0.0</modelVersion> <groupId>eu.mulk.quarkus-googlecloud-jsonlogging</groupId> - <artifactId>quarkus-googlecloud-jsonlogging-parent</artifactId> <version>1.0.0-SNAPSHOT</version> + + <artifactId>quarkus-googlecloud-jsonlogging-parent</artifactId> <packaging>pom</packaging> + <name>Quarkus Google Cloud JSON Logging Extension - Parent</name> + <url>https://gerrit.benkard.de/plugins/gitiles/quarkus-googlecloud-jsonlogging</url> + <description> + A Quarkus extension that logs to standard output in a JSON format + compatible with Google Cloud Logging. + </description> + + <licenses> + <license> + <name>GNU Affero General Public License v3.0 or later</name> + <url>https://www.gnu.org/licenses/agpl-3.0.html</url> + </license> + </licenses> + + <developers> + <developer> + <name>Matthias Benkard</name> + <email>code@mulk.eu</email> + <organization>Matthias Benkard</organization> + <organizationUrl>https://matthias.benkard.de</organizationUrl> + </developer> + </developers> + + <scm> + <connection>scm:git:https://gerrit.benkard.de/quarkus-googlecloud-jsonlogging</connection> + <developerConnection>scm:git:ssh://gerrit.benkard.de:29418/quarkus-googlecloud-jsonlogging</developerConnection> + <url>https://gerrit.benkard.de/plugins/gitiles/quarkus-googlecloud-jsonlogging</url> + </scm> <modules> <module>deployment</module> @@ -24,11 +53,23 @@ <compiler-plugin.version>3.8.1</compiler-plugin.version> <failsafe-plugin.version>${surefire-plugin.version}</failsafe-plugin.version> - <quarkus.version>1.13.3.Final</quarkus.version> - <spotless-plugin.version>2.10.3</spotless-plugin.version> + <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> + <maven-javadoc-plugin.version>2.9.1</maven-javadoc-plugin.version> + <maven-source-plugin.version>2.2.1</maven-source-plugin.version> + <nexus-staging-plugin.version>1.6.8</nexus-staging-plugin.version> + <spotless-plugin.version>2.11.0</spotless-plugin.version> <surefire-plugin.version>3.0.0-M5</surefire-plugin.version> + + <quarkus.version>1.13.3.Final</quarkus.version> </properties> + <distributionManagement> + <snapshotRepository> + <id>ossrh</id> + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> + </snapshotRepository> + </distributionManagement> + <dependencyManagement> <dependencies> <dependency> @@ -42,13 +83,16 @@ </dependencyManagement> <build> + <pluginManagement> + <plugins> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-maven-plugin</artifactId> <version>${quarkus.version}</version> </plugin> + <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire-plugin.version}</version> @@ -60,6 +104,7 @@ </systemPropertyVariables> </configuration> </plugin> + <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>${failsafe-plugin.version}</version> @@ -71,14 +116,17 @@ </systemPropertyVariables> </configuration> </plugin> + <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${compiler-plugin.version}</version> </plugin> </plugins> + </pluginManagement> <plugins> + <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> @@ -96,7 +144,77 @@ </java> </configuration> </plugin> + + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>${nexus-staging-plugin.version}</version> + <extensions>true</extensions> + <configuration> + <serverId>ossrh</serverId> + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> + <autoReleaseAfterClose>true</autoReleaseAfterClose> + </configuration> + </plugin> + </plugins> </build> + <profiles> + + <profile> + <id>release</id> + + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>${maven-source-plugin.version}</version> + <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> + <version>${maven-javadoc-plugin.version}</version> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </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> + </execution> + </executions> + </plugin> + + </plugins> + </build> + </profile> + + </profiles> + </project> diff --git a/runtime/pom.xml b/runtime/pom.xml index f0f502a..f0d65ab 100644 --- a/runtime/pom.xml +++ b/runtime/pom.xml @@ -9,6 +9,7 @@ <artifactId>quarkus-googlecloud-jsonlogging-parent</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> + <artifactId>quarkus-googlecloud-jsonlogging</artifactId> <name>Quarkus Google Cloud JSON Logging Extension - Runtime</name> |