<?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>roaster-parent</artifactId> | |
<groupId>org.jboss.forge.roaster</groupId> | |
<version>2.18.7.Final</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>roaster-jdt</artifactId> | |
<name>Forge Roaster - JDT Implementation</name> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-shade-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<minimizeJar>true</minimizeJar> | |
<createSourcesJar>true</createSourcesJar> | |
<artifactSet> | |
<excludes> | |
<exclude>org.jboss.forge.roaster:roaster-api</exclude> | |
</excludes> | |
</artifactSet> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
<relocations> | |
<relocation> | |
<pattern>org.eclipse</pattern> | |
<shadedPattern>org.jboss.forge.roaster._shade.org.eclipse</shadedPattern> | |
<excludes> | |
<exclude>org.eclipse.jdt.core.prefs</exclude> | |
</excludes> | |
</relocation> | |
<relocation> | |
<pattern>org.osgi</pattern> | |
<shadedPattern>org.jboss.forge.roaster._shade.org.osgi</shadedPattern> | |
</relocation> | |
</relocations> | |
<transformers> | |
<transformer /> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.jboss.forge.roaster</groupId> | |
<artifactId>roaster-api</artifactId> | |
<version>2.18.7.Final</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
<exclusions> | |
<exclusion> | |
<artifactId>hamcrest-core</artifactId> | |
<groupId>org.hamcrest</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
</project> | |