diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-01-10 15:10:05 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-01-10 15:10:05 +0000 |
| commit | 14c546d1d7067294d5a0e1aced7b21ee61430a7d (patch) | |
| tree | 12b352483578f428085b02ec4a04be15ca1152d5 /pom.xml | |
| parent | 0ccd5a4d92043b31af952d8bfd920696fda68a48 (diff) | |
Add CLI
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 45 |
1 files changed, 45 insertions, 0 deletions
@@ -39,6 +39,12 @@ <version>3.10.0</version> <scope>compile</scope> </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> </dependencies> <build> <plugins> @@ -51,6 +57,45 @@ <target>1.8</target> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.6</version> + <configuration> + <archive> + <manifest> + <addClasspath>true</addClasspath> + <mainClass>org.zwobble.couscous.cli.CouscousCli</mainClass> + </manifest> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>2.4.2</version> + <configuration> + <createDependencyReducedPom>false</createDependencyReducedPom> + <filters> + <filter> + <artifact>*:*</artifact> + <excludes> + <exclude>META-INF/*.SF</exclude> + <exclude>META-INF/*.DSA</exclude> + <exclude>META-INF/*.RSA</exclude> + </excludes> + </filter> + </filters> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> </project> |
