Browse Source

Mandlil maven update (#3884)

* update pom project name

* [maven-release-plugin] prepare release v9.0.9

* [maven-release-plugin] prepare for next development iteration

* Update java-unit-test.yml

Skip GPG Signing
pull/3885/head
mandlil 5 months ago
committed by GitHub
parent
commit
528a831ce8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
7 changed files with 48 additions and 50 deletions
  1. +1
    -1
      .github/workflows/java-unit-test.yml
  2. +5
    -4
      java/carrier/pom.xml
  3. +6
    -5
      java/demo/pom.xml
  4. +5
    -4
      java/geocoder/pom.xml
  5. +4
    -3
      java/internal/prefixmapper/pom.xml
  6. +3
    -2
      java/libphonenumber/pom.xml
  7. +24
    -31
      java/pom.xml

+ 1
- 1
.github/workflows/java-unit-test.yml View File

@ -28,7 +28,7 @@ jobs:
# it's safe to remove the first line entirely.
- name: Test Build Tools with Maven
run: |
mvn install -P github-actions -DskipTests=true -Dmaven.javadoc.skip=true -B -V
mvn install -P github-actions -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true -B -V
mvn -P github-actions test
- name: Test Java API with Ant
run: |


+ 5
- 4
java/carrier/pom.xml View File

@ -2,14 +2,15 @@
<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>
<artifactId>carrier</artifactId>
<version>2.9-SNAPSHOT</version>
<version>2.10-SNAPSHOT</version>
<packaging>jar</packaging>
<name>carrier</name>
<url>https://github.com/google/libphonenumber/</url>
<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</parent>
<build>
@ -81,12 +82,12 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>prefixmapper</artifactId>
<version>3.9-SNAPSHOT</version>
<version>3.10-SNAPSHOT</version>
</dependency>
</dependencies>


+ 6
- 5
java/demo/pom.xml View File

@ -3,13 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>demo</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
<packaging>war</packaging>
<name>demo</name>
<url>https://github.com/google/libphonenumber/</url>
<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</parent>
<properties>
@ -68,17 +69,17 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>geocoder</artifactId>
<version>3.9-SNAPSHOT</version>
<version>3.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>carrier</artifactId>
<version>2.9-SNAPSHOT</version>
<version>2.10-SNAPSHOT</version>
</dependency>
</dependencies>


+ 5
- 4
java/geocoder/pom.xml View File

@ -2,14 +2,15 @@
<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>
<artifactId>geocoder</artifactId>
<version>3.9-SNAPSHOT</version>
<version>3.10-SNAPSHOT</version>
<packaging>jar</packaging>
<name>geocoder</name>
<url>https://github.com/google/libphonenumber/</url>
<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</parent>
<build>
@ -91,12 +92,12 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>prefixmapper</artifactId>
<version>3.9-SNAPSHOT</version>
<version>3.10-SNAPSHOT</version>
</dependency>
</dependencies>


+ 4
- 3
java/internal/prefixmapper/pom.xml View File

@ -2,14 +2,15 @@
<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>
<artifactId>prefixmapper</artifactId>
<version>3.9-SNAPSHOT</version>
<version>3.10-SNAPSHOT</version>
<packaging>jar</packaging>
<name>prefixmapper</name>
<url>https://github.com/google/libphonenumber/</url>
<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@ -83,7 +84,7 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</dependency>
</dependencies>


+ 3
- 2
java/libphonenumber/pom.xml View File

@ -2,14 +2,15 @@
<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>
<artifactId>libphonenumber</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
<packaging>jar</packaging>
<name>libphonenumber</name>
<url>https://github.com/google/libphonenumber/</url>
<parent>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
</parent>
<build>


+ 24
- 31
java/pom.xml View File

@ -3,8 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber-parent</artifactId>
<version>9.0.9-SNAPSHOT</version>
<version>9.0.10-SNAPSHOT</version>
<packaging>pom</packaging>
<name>libphonenumber-parent</name>
<url>https://github.com/google/libphonenumber/</url>
<description>
@ -166,6 +167,28 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<gpgArguments>
<arg>--batch</arg>
<arg>--yes</arg>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
@ -178,36 +201,6 @@
</plugins>
</build>
<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>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- Until 08. Dec 2016, this pom worked with maven-release-plugin at 2.2.1
and default SCM dependencies. On 11. Jan, 2017 that was no longer the
case, presumably because the default SCM version changed (cannot find


Loading…
Cancel
Save