-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from telekom/maven_central
Test script for deployment to Maven central
- Loading branch information
Showing
10 changed files
with
176 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,14 @@ | |
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>de.telekom.phonenumber</groupId> | ||
<artifactId>normalizer</artifactId> | ||
<name>Phonenumber Normalizer</name> | ||
<description>Library to work with phonenumbers, especially to fix googles PhoneLib ignoring German Landline specifics.</description> | ||
<version>1.1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<licenses> | ||
<license> | ||
|
@@ -33,6 +33,26 @@ | |
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<developers> | ||
<developer> | ||
<name>Emil Thies</name> | ||
<email>[email protected]</email> | ||
<organization>Deutsche Telekom AG</organization> | ||
<organizationUrl>https://github.com/telekom</organizationUrl> | ||
</developer> | ||
<developer> | ||
<name>Jens Hellwig</name> | ||
<email>[email protected]</email> | ||
<organization>Deutsche Telekom AG</organization> | ||
<organizationUrl>https://github.com/telekom</organizationUrl> | ||
</developer> | ||
<developer> | ||
<name>Kai Kreuzer</name> | ||
<email>[email protected]</email> | ||
<organization>Deutsche Telekom AG</organization> | ||
<organizationUrl>https://github.com/telekom</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:https://github.com/telekom/phonenumber-normalizer.git</connection> | ||
|
@@ -120,15 +140,15 @@ | |
<version>2.203</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.codehaus.groovy</groupId> | ||
<artifactId>groovy-all</artifactId> | ||
<version>3.0.17</version> | ||
<scope>test</scope> | ||
<type>pom</type> | ||
<exclusions> | ||
<exclusion> | ||
<!-- Used Version 7.5 has https://devhub.checkmarx.com/cve-details/CVE-2022-4065/?utm_source=jetbrains&utm_medium=referral&utm_campaign=idea&utm_term=maven --> | ||
<dependency> | ||
<groupId>org.codehaus.groovy</groupId> | ||
<artifactId>groovy-all</artifactId> | ||
<version>3.0.17</version> | ||
<scope>test</scope> | ||
<type>pom</type> | ||
<exclusions> | ||
<exclusion> | ||
<!-- Used Version 7.5 has https://devhub.checkmarx.com/cve-details/CVE-2022-4065/?utm_source=jetbrains&utm_medium=referral&utm_campaign=idea&utm_term=maven --> | ||
<groupId>org.testng</groupId> | ||
<artifactId>testng</artifactId> | ||
</exclusion> | ||
|
@@ -164,7 +184,6 @@ | |
|
||
<build> | ||
<plugins> | ||
|
||
<!-- Configure JaCoCo --> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
|
@@ -214,17 +233,63 @@ | |
<year>2023</year> | ||
</properties> | ||
<licenseSets> | ||
<licenseSet> | ||
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header> | ||
<excludes> | ||
<exclude>**/README</exclude> | ||
<exclude>src/test/resources/**</exclude> | ||
<exclude>src/main/resources/**</exclude> | ||
</excludes> | ||
</licenseSet> | ||
<licenseSet> | ||
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header> | ||
<excludes> | ||
<exclude>**/README</exclude> | ||
<exclude>src/test/resources/**</exclude> | ||
<exclude>src/main/resources/**</exclude> | ||
</excludes> | ||
</licenseSet> | ||
</licenseSets> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.2.0</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadoc</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-source</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<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> | ||
<configuration> | ||
<gpgArguments> | ||
<arg>--pinentry-mode</arg> | ||
<arg>loopback</arg> | ||
</gpgArguments> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
|
||
<pluginManagement> | ||
|
@@ -299,4 +364,12 @@ | |
|
||
</pluginManagement> | ||
</build> | ||
</project> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>ossrh</id> | ||
<name>Central Repository OSSRH</name> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
</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
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
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
Oops, something went wrong.