Powered by:
SourceForge.net Built by Maven
Sponsored by:
AlphaCSP

AssemblyMojo Supported FileSets

Below you can find a list and examples of the supported FilesSets for Assembly Plugin

fileSetDir Contains source file system directory
fileSetExt Contains a list of external artifacts
fileSetDep Contains list of internal artifacts identified by deployment type or artifact id

AssemblyMojo Configuration - fileSetDir

Here you can see an AssemblyMojo Configuration - fileSetDir example:

<fileSetDir>
     <id>Install</id>
     <source>src/main/install/</source>
     <destination>/install</destination>
     <includes>
         <include>*</include>
     </includes>
     <platforms>
         <platform>Windows</platform>
         <platform>Solaris</platform>
     </platforms>
 </fileSetDir>

AssemblyMojo Configuration - fileSetExt

Here you can see an AssemblyMojo Configuration - fileSetExt example:

<fileSetExt>
     <id>jars-desktop-res</id>
     <artifacts>
         <externalArtifact>
             <groupId>ilog.jviews</groupId>
             <artifactId>graphics-framework</artifactId>
         </externalArtifact>
         <externalArtifact>
             <groupId>org.w3c</groupId>
             <artifactId>svgdom</artifactId>
         </externalArtifact>
     </artifacts>
     <destination>runtime/MDC/tomcat/vms/desktop/res</destination>
     <sign/>
 </fileSetExt> ]]> </source>

AssemblyMojo Configuration - fileSetDep

Here you can see an AssemblyMojo Configuration - fileSetDep example:

<fileSetDep>
    <id>SharedDep</id>
    <groupIdPrefix>${groupId}</groupIdPrefix>
    <deploymentType>shared</deploymentType>
    <destination>runtime/MDC/tomcat/shared/lib</destination>
</fileSetDep>

AssemblyMojo Configuration - kits

Here you can see an AssemblyMojo Configuration - Kits example:

<kits>
    <kit>
        <rootDir>package/vt</rootDir>
        <fileSetIds>
            <fileSetId>Install</fileSetId>
            <fileSetId>SqlFiles</fileSetId>
            <fileSetId>jars-desktop-res</fileSetId>
            <fileSetId>jars-webinf-lib</fileSetId>
            <fileSetId>SharedDep</fileSetId>
            <fileSetId>ServerDep</fileSetId>
            <fileSetId>GuiDep</fileSetId>
        </fileSetIds>
    </kit>
 </kits>