Custom WildFly Module Assembly Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 20: Line 20:
         <file>
         <file>
             <source>./src/main/resources/module.xml</source>
             <source>./src/main/resources/module.xml</source>
             <outputDirectory>io/novaordis/example-eap/module/main</outputDirectory>
             <outputDirectory>io/novaordis/example-eap-module/main</outputDirectory>
             <filtered>true</filtered>
             <filtered>true</filtered>
         </file>
         </file>
Line 27: Line 27:
     <dependencySets>
     <dependencySets>
         <dependencySet>
         <dependencySet>
             <outputDirectory>io/novaordis/example-eap/module/main</outputDirectory>
             <outputDirectory>io/novaordis/example-eap-module/main</outputDirectory>
             <useTransitiveDependencies>false</useTransitiveDependencies>
             <useTransitiveDependencies>false</useTransitiveDependencies>
         </dependencySet>
         </dependencySet>

Latest revision as of 15:12, 23 February 2017

Internal

Example

<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          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>eap-module</id>

    <formats>
        <format>zip</format>
    </formats>

    <includeBaseDirectory>false</includeBaseDirectory>

    <files>
        <file>
            <source>./src/main/resources/module.xml</source>
            <outputDirectory>io/novaordis/example-eap-module/main</outputDirectory>
            <filtered>true</filtered>
        </file>
    </files>

    <dependencySets>
        <dependencySet>
            <outputDirectory>io/novaordis/example-eap-module/main</outputDirectory>
            <useTransitiveDependencies>false</useTransitiveDependencies>
        </dependencySet>
    </dependencySets>

</assembly>