module-info
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.dmlloyd.module-info</groupId>
<artifactId>module-info</artifactId>
<version>2.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>smallrye-build-parent</artifactId>
<groupId>io.smallrye</groupId>
<version>47</version>
<relativePath>../pom.xml/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.dmlloyd.module-info</groupId>
<artifactId>module-info</artifactId>
<packaging>maven-plugin</packaging>
<name>Module Info Generator</name>
<version>2.2</version>
<description>A utility for writing module-info.class files based on YAML and automatic input</description>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>io.github.dmlloyd.moduleinfo.ModuleInfoCreator</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>${version.org.apache.maven.plugins.site-plugin}</version>
<configuration>
<relativizeDecorationLinks>false</relativizeDecorationLinks>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>shade-it</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.ow2.asm:*</include>
<include>com.beust:jcommander</include>
<include>org.yaml:snakeyaml</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>org.ow2.asm:*</artifact>
<excludes>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>com.beust:jcommander</artifact>
<excludes>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>org.yaml:snakeyaml</artifact>
<excludes>
<exclude>module-info.class</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>io.github.dmlloyd.moduleinfo.org.objectweb.asm</shadedPattern>
</relocation>
<relocation>
<pattern>com.beust.jcommander</pattern>
<shadedPattern>io.github.dmlloyd.moduleinfo.com.beust.jcommander</shadedPattern>
</relocation>
<relocation>
<pattern>org.yaml.snakeyaml</pattern>
<shadedPattern>io.github.dmlloyd.moduleinfo.org.yaml.snakeyaml</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.9</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>${version.org.apache.maven.plugins.plugin}</version>
<executions>
<execution>
<id>default-descriptor</id>
<goals>
<goal>descriptor</goal>
</goals>
<configuration>
<goalPrefix>module-info</goalPrefix>
</configuration>
</execution>
<execution>
<id>help-goal</id>
<goals>
<goal>helpmojo</goal>
</goals>
<configuration>
<helpPackageName>io.github.dmlloyd.moduleinfo</helpPackageName>
<goalPrefix>module-info</goalPrefix>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.9</version>
</dependency>
</dependencies>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>bootstrap</id>
<build>
<plugins>
<plugin>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<id>module-info</id>
<phase>process-classes</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<addExports>false</addExports>
</configuration>
</execution>
<execution>
<id>re-add-missing</id>
<phase>package</phase>
<goals>
<goal>re-add</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.9.11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>
<version>3.4.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.15.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>4.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
<version>3.9.11</version>
<scope>provided</scope>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>${version.org.apache.maven.plugins.plugin}</version>
</plugin>
</plugins>
</reporting>
<properties>
<version.org.apache.maven.shared.maven-filtering>3.4.0</version.org.apache.maven.shared.maven-filtering>
<version.org.apache.maven.plugins.site-plugin>3.21.0</version.org.apache.maven.plugins.site-plugin>
<maven.compiler.source>1.8</maven.compiler.source>
<version.com.beust.jcommander>1.82</version.com.beust.jcommander>
<version.org.apache.maven.plugins.plugin>3.15.2</version.org.apache.maven.plugins.plugin>
<version.org.apache.maven>3.9.11</version.org.apache.maven>
<version.org.ow2.asm>9.9</version.org.ow2.asm>
<version.org.yaml.snakeyaml>2.5</version.org.yaml.snakeyaml>
<version.junit.junit>4.11</version.junit.junit>
<maven.compiler.target>1.8</maven.compiler.target>
<version.org.apache.maven.maven-plugin>2.2.1</version.org.apache.maven.maven-plugin>
<version.org.apache.maven.plugins.maven-dependency-plugin>2.6</version.org.apache.maven.plugins.maven-dependency-plugin>
<version.org.apache.maven.plugin-tools>3.15.2</version.org.apache.maven.plugin-tools>
<version.org.codehaus.plexus.plexus-utils>4.0.2</version.org.codehaus.plexus.plexus-utils>
</properties>
</project>