Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- dist-assembly.xml -->
- <?xml version='1.0' encoding='UTF-8'?>
- <assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
- <id>distr</id>
- <formats>
- <format>zip</format>
- </formats>
- <dependencySets>
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>lib</outputDirectory>
- </dependencySet>
- </dependencySets>
- <fileSets>
- <fileSet>
- <directory>${project.basedir}/bin</directory>
- <includes>
- <include>*.sh</include>
- </includes>
- <fileMode>755</fileMode>
- <outputDirectory>bin</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>${project.basedir}/bin</directory>
- <excludes>
- <exclude>*.sh</exclude>
- </excludes>
- <outputDirectory>bin</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>${project.build.directory}/filtered-resources</directory>
- <outputDirectory>config</outputDirectory>
- <excludes>
- <exclude>META-INF/**</exclude>
- </excludes>
- </fileSet>
- </fileSets>
- <files>
- <file>
- <source>${project.build.directory}/${project.build.finalName}-classes.jar</source>
- <destName>vertigows-resolver-ws.jar</destName>
- <outputDirectory>bin</outputDirectory>
- </file>
- </files>
- </assembly>
- <!-- pom.xml -->
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>assembly/distr-assembly.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement