|
| 1 | +<assembly |
| 2 | + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.0.0.1-SNAPSHOT" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.0.0.1-SNAPSHOT http://maven.apache.org/xsd/assembly-1.0.0.1-SNAPSHOT.xsd"> |
| 5 | + <id>bin</id> |
| 6 | + <formats> |
| 7 | + <format>zip</format> |
| 8 | + </formats> |
| 9 | + <includeBaseDirectory>false</includeBaseDirectory> |
| 10 | + <fileSets> |
| 11 | + <!-- Copy DataSheet HTML files --> |
| 12 | + <fileSet> |
| 13 | + <directory>${project.basedir}</directory> |
| 14 | + <outputDirectory>/${project.name}</outputDirectory> |
| 15 | + <includes> |
| 16 | + <include>DataSheet*.html</include> |
| 17 | + </includes> |
| 18 | + <filtered>true</filtered> |
| 19 | + </fileSet> |
| 20 | + <!-- Copy XML resources --> |
| 21 | + <fileSet> |
| 22 | + <directory>${project.basedir}/src/main/conf</directory> |
| 23 | + <outputDirectory>/${project.name}</outputDirectory> |
| 24 | + <includes> |
| 25 | + <include>**/*.xml</include> |
| 26 | + </includes> |
| 27 | + <filtered>true</filtered> |
| 28 | + </fileSet> |
| 29 | + <!-- Copy other ressources --> |
| 30 | + <fileSet> |
| 31 | + <directory>${project.basedir}/src/main/conf</directory> |
| 32 | + <outputDirectory>/${project.name}</outputDirectory> |
| 33 | + <excludes> |
| 34 | + <exclude>**/*.xml</exclude> |
| 35 | + </excludes> |
| 36 | + <filtered>false</filtered> |
| 37 | + </fileSet> |
| 38 | + <!-- Copy module's jar file --> |
| 39 | + <fileSet> |
| 40 | + <directory>${project.build.directory}</directory> |
| 41 | + <outputDirectory>${project.name}/lib</outputDirectory> |
| 42 | + <includes> |
| 43 | + <include>${project.artifactId}-${project.version}.jar</include> |
| 44 | + </includes> |
| 45 | + </fileSet> |
| 46 | + <!-- Copy java dependencies needed by the module --> |
| 47 | + <fileSet> |
| 48 | + <directory>${project.build.directory}/lib</directory> |
| 49 | + <outputDirectory>${project.name}/lib</outputDirectory> |
| 50 | + <includes> |
| 51 | + <include>*.jar</include> |
| 52 | + </includes> |
| 53 | + </fileSet> |
| 54 | + </fileSets> |
| 55 | +</assembly> |
0 commit comments