Maven Central: org.sonatype:maven-policy-demo:1.0.0

maven-policy-demo

1.0.0

pkg:maven/org.sonatype/maven-policy-demo@1.0.0

Used in:0 components

Overview

Description

A simple demo project that Sonatype employees can use to demo policy (and possibly other) features for MAVEN. It does not do anything of use and should not be used in production by anyone ever.

Snippets

Dependency Snippet

<dependency>
    <groupId>org.sonatype</groupId>
    <artifactId>maven-policy-demo</artifactId>
    <version>1.0.0</version>
</dependency>

Maven POM File

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2011-present Sonatype, Inc. All rights reserved.
  ~ Includes the third-party code listed at http://links.sonatype.com/products/clm/attributions.
  ~ "Sonatype" is a trademark of Sonatype, Inc.
  -->

<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>org.sonatype</groupId>
    <artifactId>maven-policy-demo</artifactId>
    <version>1.0.0</version>

<name>${project.groupId}:${project.artifactId}</name>
    <description>A simple demo project that Sonatype employees can use to demo policy (and possibly other) features for MAVEN. It does not do anything of use and should not be used in production by anyone ever.</description>
    <url>https://github.com/sonatype/maven-policy-demo</url>
    <licenses>
        <license>
            <name>Eclipse Public License 2.0</name>
            <url>https://www.eclipse.org/legal/epl-2.0/</url>
        </license>
    </licenses>
    <developers>
        <developer>
            <name>Hi-Expedition</name>
            <email>hi-expedition-team@sonatype.com</email>
            <url>http://www.sonatype.com</url>
            <organization>Sonatype</organization>
            <organizationUrl>http://www.sonatype.com</organizationUrl>
        </developer>
    </developers>
    <scm>
        <connection>scm:git:git://github.com/sonatype/maven-policy-demo.git</connection>
        <developerConnection>scm:git:ssh://github.com:sonatype/maven-policy-demo.git</developerConnection>
        <url>http://github.com/sonatype/maven-policy-demo/tree/master</url>
    </scm>

<properties>
        <maven.compiler.source>17</maven.compiler.source>
        <maven.compiler.target>17</maven.compiler.target>
        <maven.compiler.plugin.version>3.10.1</maven.compiler.plugin.version>
        <nexus.staging.maven.plugin.version>1.6.13</nexus.staging.maven.plugin.version>
    </properties>

<distributionManagement>
        <repository>
            <id>forge-releases</id>
            <name>Sonatype Forge Releases</name>
            <url>http://repository.sonatype.org/content/repositories/releases</url>
        </repository>
        <snapshotRepository>
            <id>forge-snapshots</id>
            <name>Sonatype Forge Snapshot</name>
            <url>http://repository.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>

<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${maven.compiler.plugin.version}</version>
                <configuration>
                    <target>17</target>
                    <source>17</source>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.2.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.9.1</version>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>3.0.1</version>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>${nexus.staging.maven.plugin.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>rso</serverId>
                    <nexusUrl>https://repository.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>false</autoReleaseAfterClose>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

Metadata

Age:3 years ago

Licenses:

Organization

org.sonatype

External Resources

Project URL

Source Control

Known Contributors

Hi-Expedition