logo Plexus :: Component Metadata (Maven Plugin)

A Maven plugin to generate Plexus Components descriptors from source javadoc tags and Java 5 class annotations.

homepage: codehaus-plexus.github.io
fresh index:
last release: 4 weeks ago, first release: 1 decade ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org


Display vulnerabilities (snyk): Vulnerability check

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:
plexus-component-metadata:generate-metadata (phase: process-classes)

Generates a Plexus {@code components.xml} component descriptor file from source (javadoc) or class annotations and manually crafted descriptor files.

plexus-component-metadata:generate-test-metadata (phase: process-test-classes)

Generates a Plexus {@code components.xml} component descriptor file from test source (javadoc) or test class annotations and manually crafted descriptor files.

plexus-component-metadata:merge-metadata (phase: process-classes)

Merges a set of Plexus descriptors into one descriptor file.

Often used code snippets:

<plugin>
  <groupId>org.codehaus.plexus</groupId>
  <artifactId>plexus-component-metadata</artifactId>
  <executions>
    <execution>
      <goals>
        <goal>generate-metadata</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<plugin>
  <groupId>org.codehaus.plexus</groupId>
  <artifactId>plexus-component-metadata</artifactId>
  <executions>
    <execution>
      <phase>process-classes</phase>
      <goals>
        <goal>generate-metadata</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<plugin>
  <groupId>org.codehaus.plexus</groupId>
  <artifactId>plexus-component-metadata</artifactId>
  <version>1.7.1</version>
  <executions>
    <execution>
      <goals>
        <goal>generate-metadata</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<plugin>
  <groupId>org.codehaus.plexus</groupId>
  <artifactId>plexus-component-metadata</artifactId>
  <version>1.5.5</version>
  <executions>
    <execution>
      <goals>
        <goal>generate-metadata</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<plugin>
  <groupId>org.codehaus.plexus</groupId>
  <artifactId>plexus-component-metadata</artifactId>
  <executions>
    <execution>
      <id>process-classes</id>
      <goals>
        <goal>generate-metadata</goal>
      </goals>
    </execution>
    <execution>
      <id>process-test-classes</id>
      <goals>
        <goal>generate-test-metadata</goal>
      </goals>
    </execution>
  </executions>
</plugin>

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