Skip to content

Commit

Permalink
add better example assembly descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
zaplatynski committed Mar 9, 2017
1 parent 1751f41 commit 3b422b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ In your `pom.xml` add this:
```
Inside the above mentioned `archive.xml` you need to specify the [Maven assembly plugin]
(http://maven.apache.org/plugins/maven-assembly-plugin/) descriptor to create a typical archive
file layout:
file layout for example:
```xml
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
Expand All @@ -59,7 +59,12 @@ file layout:
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
...
<fileSets>
<fileSet>
<directory>src/main/resources</directory>
<outputDirectory></outputDirectory>
</fileSet>
</fileSets>
</assembly>
```
See the [Maven assembly plugin documentation](http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html) for more information.
Expand Down

0 comments on commit 3b422b6

Please sign in to comment.