logo Provided dependencies maven-plugin

homepage:
fresh index:
last release: 6 years ago, first release: 9 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
provided-dependencies:attach-signatures (phase: verify)

Attach GPG signature files, if they exist for the generated POM files.

provided-dependencies:generate (phase: prepare-package)

Generate {@code *-dependencies} and {@code *-compile} POM files.

Often used code snippets:

<plugin>
  <groupId>org.sonatype.plugins</groupId>
  <artifactId>provided-dependencies-maven-plugin</artifactId>
  <version>1.5</version>
  <executions>
    <execution>
      <id>generate-dependency-poms</id>
      <phase>process-resources</phase>
      <goals>
        <goal>generate</goal>
      </goals>
    </execution>
    <execution>
      <id>attach-signatures</id>
      <phase>verify</phase>
      <goals>
        <goal>attach-signatures</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<plugin>
  <groupId>org.sonatype.plugins</groupId>
  <artifactId>provided-dependencies-maven-plugin</artifactId>
  <version>1.4</version>
  <executions>
    <execution>
      <phase>process-resources</phase>
      <goals>
        <goal>generate</goal>
      </goals>
    </execution>
  </executions>
</plugin>

© Jiri Pinkas 2015 - 2018. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.