| <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.api</groupId> | |
| <artifactId>gapic-generator-java-root</artifactId> | |
| <packaging>pom</packaging> | |
| <!-- We do not release this root pom. No modules should depend on this --> | |
| <version>0.1.0-SNAPSHOT</version> | |
| <properties> | |
| <clirr.skip>true</clirr.skip> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| </properties> | |
| <modules> | |
| <module>gapic-generator-java-pom-parent</module> | |
| <module>api-common-java</module> | |
| <module>gax-java</module> | |
| <module>gapic-generator-java</module> | |
| <module>java-common-protos</module> | |
| <module>java-iam</module> | |
| <module>java-core</module> | |
| <module>gapic-generator-java-bom</module> | |
| <module>java-shared-dependencies</module> | |
| </modules> | |
| <!-- Do not deploy the aggregator POM --> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>com.coveo</groupId> | |
| <artifactId>fmt-maven-plugin</artifactId> | |
| <version>2.9</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-deploy-plugin</artifactId> | |
| <version>3.1.1</version> | |
| <configuration> | |
| <skip>true</skip> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <distributionManagement> | |
| <snapshotRepository> | |
| <id>sonatype-nexus-snapshots</id> | |
| <url>https://google.oss.sonatype.org/content/repositories/snapshots</url> | |
| </snapshotRepository> | |
| <repository> | |
| <id>sonatype-nexus-staging</id> | |
| <url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url> | |
| </repository> | |
| </distributionManagement> | |
| <profiles> | |
| <profile> | |
| <!-- profile for nexus-staging:release invocation --> | |
| <id>release-staging-repository</id> | |
| <activation> | |
| <property> | |
| <!-- The root project not using nexus-staging-maven-plugin when signing --> | |
| <name>!gpg.executable</name> | |
| </property> | |
| </activation> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <!-- The root project runs nexus-staging:release task --> | |
| <groupId>org.sonatype.plugins</groupId> | |
| <artifactId>nexus-staging-maven-plugin</artifactId> | |
| <version>1.6.13</version> | |
| <extensions>true</extensions> | |
| <configuration> | |
| <serverId>sonatype-nexus-staging</serverId> | |
| <nexusUrl>https://google.oss.sonatype.org/</nexusUrl> | |
| <autoReleaseAfterClose>false</autoReleaseAfterClose> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>full-project-coverage</id> | |
| <activation> | |
| <property> | |
| <name>enableFullTestCoverage</name> | |
| </property> | |
| </activation> | |
| <modules> | |
| <module>showcase</module> | |
| </modules> | |
| </profile> | |
| <profile> | |
| <id>activate-showcase-coverage</id> | |
| <activation> | |
| <property> | |
| <name>enableShowcaseTestCoverage</name> | |
| </property> | |
| </activation> | |
| <modules> | |
| <module>showcase</module> | |
| <module>coverage-report</module> | |
| </modules> | |
| <properties> | |
| <sonar.coverage.jacoco.xmlReportPaths>${maven.multiModuleProjectDirectory}/coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> | |
| </properties> | |
| </profile> | |
| </profiles> | |
| </project> |