Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (81 sloc) 3.41 KB
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.codeartisans</groupId>
<artifactId>codebox</artifactId>
<packaging>pom</packaging>
<version>0.1.0-SNAPSHOT</version>
<name>${artifactId}</name>
<url>http://codeartisans.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<modules>
<module>core</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>mkdir-target</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>mkdir</executable>
<workingDirectory>${project.basedir}</workingDirectory>
<arguments>
<argument>-p</argument>
<argument>target</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>tar-overlay</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>tar</executable>
<workingDirectory>${project.basedir}</workingDirectory>
<arguments>
<argument>pczfv</argument>
<argument>target/${project.artifactId}-${project.version}-overlay.tar.gz</argument>
<argument>overlay</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/${project.artifactId}-${project.version}-overlay.tar.gz</file>
<type>tar.gz</type>
<classifier>overlay</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>