Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Commit

Permalink
chore: fix artifact names (#10)
Browse files Browse the repository at this point in the history
* chore: fix artifact names

artifact names in pom.xml files should not contain cloud-

* chore: fix dependency test
  • Loading branch information
chingor13 authored Jul 23, 2020
1 parent 83cb5b3 commit 35adf87
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions google-analytics-admin-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<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>com.google.cloud</groupId>
<artifactId>google-cloud-analytics-admin-bom</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-analytics-admin:current} -->
<artifactId>google-analytics-admin-bom</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-analytics-admin:current} -->
<packaging>pom</packaging>
<parent>
<groupId>com.google.cloud</groupId>
Expand Down
2 changes: 1 addition & 1 deletion google-analytics-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>allows you to manage Google Analytics accounts and properties.</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-analytics-admin-parent</artifactId>
<artifactId>google-analytics-admin-parent</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-analytics-admin:current} -->
</parent>
<properties>
Expand Down
6 changes: 3 additions & 3 deletions grpc-google-analytics-admin-v1alpha/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<description>GRPC library for grpc-google-analytics-admin-v1alpha</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-analytics-admin-parent</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-analytics-admin:current} -->
<artifactId>google-analytics-admin-parent</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-analytics-admin:current} -->
</parent>
<dependencies>
<dependency>
Expand All @@ -31,7 +31,7 @@
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-analytics-admin-v1alpha</artifactId>
<artifactId>proto-google-analytics-admin-v1alpha</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
13 changes: 8 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<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>com.google.cloud</groupId>
<artifactId>google-cloud-analytics-admin-parent</artifactId>
<artifactId>google-analytics-admin-parent</artifactId>
<packaging>pom</packaging>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-analytics-admin:current} -->
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-analytics-admin:current} -->
<name>Google Analytics Admin Parent</name>
<url>https://github.com/googleapis/java-analytics-admin</url>
<description>
Expand Down Expand Up @@ -62,7 +62,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<github.global.server>github</github.global.server>
<site.installationModule>google-cloud-analytics-admin-parent</site.installationModule>
<site.installationModule>google-analytics-admin-parent</site.installationModule>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -100,7 +100,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredUnusedDeclaredDependencies>org.objenesis:objenesis</ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>org.objenesis:objenesis</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>javax.annotation:javax.annotation-api</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
</plugins>
Expand All @@ -111,7 +114,7 @@
<module>google-analytics-admin</module>
<module>proto-google-analytics-admin-v1alpha</module>
<module>grpc-google-analytics-admin-v1alpha</module>
<module>google-cloud-analytics-admin-bom</module>
<module>google-analytics-admin-bom</module>
</modules>

<reporting>
Expand Down
4 changes: 2 additions & 2 deletions proto-google-analytics-admin-v1alpha/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<description>PROTO library for proto-google-analytics-admin-v1alpha</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-analytics-admin-parent</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-analytics-admin:current} -->
<artifactId>google-analytics-admin-parent</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-analytics-admin:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<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>com.google.cloud</groupId>
<artifactId>google-cloud-analytics-admin-samples</artifactId>
<artifactId>google-analytics-admin-samples</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- This artifact should not be released -->
<packaging>pom</packaging>
<name>Google Analytics Admin Samples Parent</name>
Expand Down

0 comments on commit 35adf87

Please sign in to comment.