metainf
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.immutables</groupId>
<artifactId>metainf</artifactId>
<version>2.11.6</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>immutables</artifactId>
<groupId>org.immutables</groupId>
<version>2.11.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>metainf</artifactId>
<name>${project.groupId}.${project.artifactId}</name>
<description>Simple, but superior to others, META-INF/service file generator</description>
<url>https://github.com/immutables/immutables/tree/metainf</url>
<build>
<plugins>
<plugin>
<groupId>org.immutables.tools</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<shadedArtifactAttached>false</shadedArtifactAttached>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>org.immutables:metainf</include>
<include>org.immutables:generator</include>
<include>com.google.guava:guava</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.google.common</pattern>
<shadedPattern>org.immutables.metainf.internal.$guava$</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.thirdparty</pattern>
<shadedPattern>org.immutables.metainf.internal.$thirdparty$</shadedPattern>
</relocation>
<relocation>
<pattern>org.immutables.metainf.processor</pattern>
<shadedPattern>org.immutables.metainf.internal.$processor$</shadedPattern>
</relocation>
<relocation>
<pattern>org.immutables.generator</pattern>
<shadedPattern>org.immutables.metainf.internal.$generator$</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>org.immutables:metainf</artifact>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.generator</exclude>
</excludes>
</filter>
<filter>
<artifact>com.google.guava:guava</artifact>
<excludes>
<exclude>META-INF/maven/**</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer />
</transformers>
</configuration>
</execution>
<execution>
<id>annotations</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<shadedArtifactAttached>true</shadedArtifactAttached>
<minimizeJar>false</minimizeJar>
<createSourcesJar>true</createSourcesJar>
<shadedClassifierName>annotations</shadedClassifierName>
<artifactSet>
<includes>
<include>org.immutables:metainf</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>org.immutables:metainf</artifact>
<includes>
<include>org/immutables/metainf/*</include>
</includes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jdk16</id>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<fork>true</fork>
<compilerArgs>
<arg>-J--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.immutables</groupId>
<artifactId>generator-processor</artifactId>
<version>2.11.6</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>trees</artifactId>
<groupId>org.immutables</groupId>
</exclusion>
<exclusion>
<artifactId>parboiled-java</artifactId>
<groupId>org.parboiled</groupId>
</exclusion>
</exclusions>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.immutables</groupId>
<artifactId>metainf</artifactId>
<version>2.7.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.immutables</groupId>
<artifactId>testing</artifactId>
<version>2.11.6</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit-jupiter-api</artifactId>
<groupId>org.junit.jupiter</groupId>
</exclusion>
<exclusion>
<artifactId>junit-jupiter-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
</exclusion>
<exclusion>
<artifactId>junit-jupiter-params</artifactId>
<groupId>org.junit.jupiter</groupId>
</exclusion>
<exclusion>
<artifactId>junit-vintage-engine</artifactId>
<groupId>org.junit.vintage</groupId>
</exclusion>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
<exclusion>
<artifactId>hamcrest-library</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
<exclusion>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>