package-info-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.bohnman</groupId> <artifactId>package-info-maven-plugin</artifactId> <version>1.1.0</version> </dependency>
<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Package Info Maven Plugin</name> <url>https://github.com/bohnman/package-info-maven-plugin</url> <description>Maven plugin that automatically generates package-info.java files based on a template.</description> <groupId>com.github.bohnman</groupId> <artifactId>package-info-maven-plugin</artifactId> <version>1.1.0</version> <packaging>maven-plugin</packaging> <properties> <java.version>1.8</java.version> <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> <maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version> <maven-plugin-annotations.version>3.4</maven-plugin-annotations.version> <maven-plugin-plugin.version>3.4</maven-plugin-plugin.version> <maven-source-plugin.version>3.0.1</maven-source-plugin.version> <maven.version>3.3.9</maven.version> <nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version> <plexus-build-api.version>0.0.7</plexus-build-api.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <licenses> <license> <name>BSD License</name> <url>https://raw.githubusercontent.com/bohnman/package-info-maven-plugin/master/LICENSE.md</url> </license> </licenses> <developers> <developer> <name>Ryan Bohn</name> </developer> </developers> <scm> <connection>scm:git:git://github.com/bohnman/package-info-maven-plugin.git</connection> <developerConnection>scm:git:ssh://github.com:bohnman/package-info-maven-plugin.git</developerConnection> <url>https://github.com/bohnman/package-info-maven-plugin/tree/master</url> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <prerequisites> <maven>[3.0,]</maven> </prerequisites> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.version}</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>${maven-plugin-annotations.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-build-api</artifactId> <version>${plexus-build-api.version}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <profiles> <profile> <id>sign</id> <activation> <property> <name>sign</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${maven-plugin-plugin.version}</version> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</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>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</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>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${maven-plugin-plugin.version}</version> </plugin> </plugins> </reporting> </project>