assembly.xml
【官网地址】:http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
<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"> <id/> <formats/> <includeBaseDirectory/> <baseDirectory/> <includeSiteDirectory/> <containerDescriptorHandlers> <containerDescriptorHandler> <handlerName/> <configuration/> </containerDescriptorHandler> </containerDescriptorHandlers> <moduleSets> <moduleSet> <useAllReactorProjects/> <includeSubModules/> <includes/> <excludes/> <sources> <useDefaultExcludes/> <outputDirectory/> <includes/> <excludes/> <fileMode/> <directoryMode/> <fileSets> <fileSet> <useDefaultExcludes/> <outputDirectory/> <includes/> <excludes/> <fileMode/> <directoryMode/> <directory/> <lineEnding/> <filtered/> </fileSet> </fileSets> <includeModuleDirectory/> <excludeSubModuleDirectories/> <outputDirectoryMapping/> </sources> <binaries> <outputDirectory/> <includes/> <excludes/> <fileMode/> <directoryMode/> <attachmentClassifier/> <includeDependencies/> <dependencySets> <dependencySet> <outputDirectory/> <includes/> <excludes/> <fileMode/> <directoryMode/> <useStrictFiltering/> <outputFileNameMapping/> <unpack/> <unpackOptions> <includes/> <excludes/> <filtered/> <lineEnding/> <useDefaultExcludes/> <encoding/> </unpackOptions> <scope/> <useProjectArtifact/> <useProjectAttachments/> <useTransitiveDependencies/> <useTransitiveFiltering/> </dependencySet> </dependencySets> <unpack/> <unpackOptions> <includes/> <excludes/> <filtered/> <lineEnding/> <useDefaultExcludes/> <encoding/> </unpackOptions> <outputFileNameMapping/> </binaries> </moduleSet> </moduleSets> <fileSets> <fileSet> <useDefaultExcludes/> <outputDirectory/> <includes/> <excludes/> <fileMode/> <directoryMode/> <directory/> <lineEnding/> <filtered/> </fileSet> </fileSets> <files> <file> <source/> <outputDirectory/> <destName/> <fileMode/> <lineEnding/> <filtered/> </file> </files> <dependencySets> <dependencySet> <outputDirectory/> <includes/> <excludes/> <fileMode/> <directoryMode/> <useStrictFiltering/> <outputFileNameMapping/> <unpack/> <unpackOptions> <includes/> <excludes/> <filtered/> <lineEnding/> <useDefaultExcludes/> <encoding/> </unpackOptions> <scope/> <useProjectArtifact/> <useProjectAttachments/> <useTransitiveDependencies/> <useTransitiveFiltering/> </dependencySet> </dependencySets> <repositories> <repository> <outputDirectory/> <includes/> <excludes/> <fileMode/> <directoryMode/> <includeMetadata/> <groupVersionAlignments> <groupVersionAlignment> <id/> <version/> <excludes/> </groupVersionAlignment> </groupVersionAlignments> <scope/> </repository> </repositories> <componentDescriptors/> </assembly>
如果文章对您有所帮助,可以点一下推荐