Skip to content

Commit

Permalink
Merge pull request #10 from emorynlp/assembly
Browse files Browse the repository at this point in the history
Assembly
  • Loading branch information
jdchoi77 authored Aug 1, 2016
2 parents a93c6d6 + 2789f4b commit 6cbbbe7
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,24 @@
</programs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>assemble</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>src/assembly/bin.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build>
</project>
22 changes: 22 additions & 0 deletions cli/src/assembly/bin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<assembly>
<id>bin</id>
<formats>
<format>tar.gz</format>
<!-- handy for testing -->
<format>dir</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>target/appassembler/bin</directory>
</fileSet>
<fileSet>
<directory>../api/src/main/resources/edu/emory/mathcs/nlp/configuration</directory>
<outputDirectory>etc/config</outputDirectory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
</fileSets>
</assembly>

0 comments on commit 6cbbbe7

Please sign in to comment.