Skip to content

Commit

Permalink
deps: fix dependency declarations, add parent pom
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Jan 13, 2020
1 parent 76c3cb2 commit b6b89d0
Show file tree
Hide file tree
Showing 4 changed files with 215 additions and 8 deletions.
8 changes: 4 additions & 4 deletions google-cloud-nio-examples/pom.xml
Expand Up @@ -2,17 +2,17 @@
<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>google-cloud-nio-examples</artifactId>
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-nio-examples:current} -->
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-nio:current} -->
<packaging>jar</packaging>
<name>Google Cloud NIO Examples</name>
<url>https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples</url>
<url>https://github.com/googleapis/java-storage-nio</url>
<description>
Demonstrates how to use the google-cloud-nio jar to add Google Cloud Storage functionality to legacy code.
</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-contrib</artifactId>
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-contrib:current} -->
<artifactId>google-cloud-nio-parent</artifactId>
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-nio:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-nio-examples</site.installationModule>
Expand Down
7 changes: 3 additions & 4 deletions google-cloud-nio/pom.xml
Expand Up @@ -5,14 +5,14 @@
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-nio:current} -->
<packaging>jar</packaging>
<name>Google Cloud NIO</name>
<url>https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio</url>
<url>https://github.com/googleapis/java-storage-nio</url>
<description>
FileSystemProvider for Java NIO to access Google Cloud Storage transparently.
</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-contrib</artifactId>
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-clients:current} -->
<artifactId>google-cloud-nio-parent</artifactId>
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-nio:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-nio</site.installationModule>
Expand All @@ -21,7 +21,6 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>1.102.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-storage:current} -->
</dependency>
<dependency>
<groupId>javax.inject</groupId>
Expand Down
204 changes: 204 additions & 0 deletions pom.xml
@@ -0,0 +1,204 @@
<?xml version='1.0' encoding='UTF-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-nio-parent</artifactId>
<packaging>pom</packaging>
<version>0.120.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-nio:current} -->
<name>Storage Parent</name>
<url>https://github.com/googleapis/java-storage-nio</url>
<description>
FileSystemProvider for Java NIO to access Google Cloud Storage transparently.
</description>

<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<version>0.4.0</version>
</parent>

<developers>
<developer>
<id>jart</id>
<name>Justine Tunney</name>
<email>jart@google.com</email>
<organization>Google</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>jean-philippe-martin</id>
<name>Jean-Philippe Martin</name>
<email>jpmartin@verily.com</email>
<organization>Verily</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
</developers>
<organization>
<name>Google LLC</name>
</organization>
<scm>
<connection>scm:git:git@github.com:googleapis/java-storage-nio.git</connection>
<developerConnection>scm:git:git@github.com:googleapis/java-storage-nio.git</developerConnection>
<url>https://github.com/googleapis/java-storage-nio</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<url>https://github.com/googleapis/java-storage-nio/issues</url>
<system>GitHub Issues</system>
</issueManagement>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<properties>
<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-storage-nio-parent</site.installationModule>
<junit.version>4.13</junit.version>
<guava.version>28.1-android</guava.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>1.103.0</version>
</dependency>
<dependency>
<groupId>com.google.auto.value</groupId>
<artifactId>auto-value</artifactId>
<scope>provided</scope> <!-- to leave out of the all-deps jar -->
<version>1.7</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-bom</artifactId>
<version>3.11.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
<version>${guava.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

<modules>
<module>google-cloud-nio</module>
</modules>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>dependency-info</report>
<report>team</report>
<report>ci-management</report>
<report>issue-management</report>
<report>licenses</report>
<report>scm</report>
<report>dependency-management</report>
<report>distribution-management</report>
<report>summary</report>
<report>modules</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<dependencyDetailsEnabled>true</dependencyDetailsEnabled>
<artifactId>${site.installationModule}</artifactId>
<packaging>jar</packaging>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<reportSets>
<reportSet>
<id>html</id>
<reports>
<report>aggregate</report>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<doclint>none</doclint>
<show>protected</show>
<nohelp>true</nohelp>
<outputDirectory>${project.build.directory}/javadoc</outputDirectory>
<groups>
<group>
<title>Test helpers packages</title>
<packages>com.google.cloud.testing</packages>
</group>
<group>
<title>SPI packages</title>
<packages>com.google.cloud.spi*</packages>
</group>
</groups>

<links>
<link>https://grpc.io/grpc-java/javadoc/</link>
<link>https://developers.google.com/protocol-buffers/docs/reference/java/</link>
<link>https://googleapis.dev/java/google-auth-library/latest/</link>
<link>https://googleapis.dev/java/gax/latest/</link>
<link>https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/</link>
</links>
</configuration>
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>include-samples</id>
<modules>
<module>samples</module>
<module>google-cloud-nio-examples</module>
</modules>
</profile>
</profiles>
</project>
4 changes: 4 additions & 0 deletions versions.txt
@@ -0,0 +1,4 @@
# Format:
# module:released-version:current-version

google-cloud-nio:0.120.0:0.120.1-alpha-SNAPSHOT

0 comments on commit b6b89d0

Please sign in to comment.