composer-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>composer-parent</artifactId>
<version>0.1.9</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Sonatype Nexus (TM) Open Source Version
Copyright (c) 2018-present Sonatype, Inc.
All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
Eclipse Foundation. All other trademarks are the property of their respective owners.
-->
<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>
<parent>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-plugins</artifactId>
<version>3.71.0-06</version>
</parent>
<artifactId>composer-parent</artifactId>
<version>0.1.9</version>
<packaging>pom</packaging>
<name>${project.groupId}:${project.artifactId}-parent</name>
<inceptionYear>2018</inceptionYear>
<modules>
<module>nexus-repository-composer</module>
<module>nexus-repository-composer-it</module>
</modules>
<scm>
<developerConnection>scm:git:git@github.com:sonatype-nexus-community/nexus-repository-composer.git</developerConnection>
<tag>composer-parent-0.1.9</tag>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<nxrm-version>3.71.0-06</nxrm-version>
</properties>
<repositories>
<!-- ensure we can find the parent pom when starting from an empty local .m2 repository -->
<repository>
<id>rso-public-grid</id>
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>rso</serverId>
<nexusUrl>https://repository.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<!--
Ensure use of Java 8, as required by NXRM
-->
<requireJavaVersion>
<version>[1.8,18)</version>
</requireJavaVersion>
<!--
Require Maven 3.3.3+
-->
<requireMavenVersion>
<version>[3.3.3,)</version>
</requireMavenVersion>
<requireNoRepositories>
<allowedRepositories>rso-public-grid</allowedRepositories>
</requireNoRepositories>
</rules>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<!-- Something in the pom hierarchy overrides the default 'pushChanges == true', so we reset that here. -->
<pushChanges>true</pushChanges>
<releaseProfiles>gpg-sign</releaseProfiles>
<!--
CI build runs out of memory during release, with error like this:
Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project nexus-repository-base: Maven execution failed, exit code: '137' -> [Help 1]
TODO: Investigate increasing available memory for the CI build
-->
<arguments>-DskipTests</arguments>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>gpg-sign</id>
<!--
only sign during deploy phase
-->
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>