assembly.xml 1.26 KB
<?xml version="1.0" encoding="GBK"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1">
    <id>ear</id>
    <baseDirectory></baseDirectory>
    <formats>
        <format>zip</format>
    </formats>
   
    <fileSets>
        <fileSet>
            <directory>../web/target/${project-name}-web-1.0-SNAPSHOT</directory>
            <outputDirectory>web.ear/${project-name}-bundle-war.war</outputDirectory>
			<includes>
                <include>**/**</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>src/main</directory>
            <outputDirectory>web.ear/META-INF</outputDirectory>
			<includes>
                <include>application.xml</include>
                <include>jboss-deployment-structure.xml</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>src/main</directory>
            <outputDirectory></outputDirectory>
			<includes>
                <include>bin/**</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>src/main</directory>
            <outputDirectory></outputDirectory>
			<includes>
                <include>conf/**</include>
            </includes>
        </fileSet>
    </fileSets>
</assembly>