Show
hide
<?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>bugvm-parent</artifactId>
<groupId>com.bugvm</groupId>
<version>1.1.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>bugvm-dist-compiler</artifactId>
<name>BugVM Distribution Compiler</name>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>create-license-txt</id>
<phase>prepare-package</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<transformers>
<transformer>
<mainClass>com.bugvm.compiler.AppCompiler</mainClass>
</transformer>
<transformer />
<transformer>
<resource>META-INF/LICENSE.txt</resource>
<file>${project.build.directory}/LICENSE.txt</file>
</transformer>
<transformer>
<addHeader>false</addHeader>
</transformer>
</transformers>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/LICENSE.txt</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/maven/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<bugvm.version>${project.version}</bugvm.version>
<bugvmdir>${basedir}/../../bugvm</bugvmdir>
</properties>
</project>
|