assemblies.dependencies.xml Maven / Gradle / Ivy
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> <id>artifact-with-dependencies</id> <includeBaseDirectory>false</includeBaseDirectory> <dependencySets> <dependencySet> <useProjectArtifact>false</useProjectArtifact> <scope>runtime</scope> <fileMode>0644</fileMode> </dependencySet> </dependencySets> <!-- Add a classpath file, too. Doesn't harm when not existent --> <fileSets> <fileSet> <includes> <include>classpath</include> </includes> <directory>${project.build.directory}/</directory> <outputDirectory>.</outputDirectory> <fileMode>0644</fileMode> </fileSet> </fileSets> </assembly>