Created
December 9, 2013 23:58
-
-
Save Dykam/7883321 to your computer and use it in GitHub Desktop.
Template for debug maven module. Put it in a subfolder of the main maven module, supply the params, and execute mvn install on it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId><!--groupId--></groupId> | |
<artifactId><!--artifactId-->Debug</artifactId> | |
<version><!--version--></version> | |
<packaging>pom</packaging> | |
<modules> | |
<module>..</module> | |
</modules> | |
<dependencies> | |
<dependency> | |
<groupId><!--groupId--></groupId> | |
<artifactId><!--artifactId--></artifactId> | |
<version><!--version--></version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<version>2.8</version> | |
<executions> | |
<execution> | |
<id>copy</id> | |
<phase>package</phase> | |
<goals> | |
<goal>copy</goal> | |
</goals> | |
<configuration> | |
<artifactItems> | |
<artifactItem> | |
<groupId><!--groupId--></groupId> | |
<artifactId><!--artifactId--></artifactId> | |
<type>jar</type> | |
<overWrite>true</overWrite> | |
<outputDirectory><!--outputdirectory--></outputDirectory> | |
<destFileName><!--artifactId-->.jar</destFileName> | |
</artifactItem> | |
</artifactItems> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment