<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd">

    <fileSets>
        <fileSet>
            <directory>src/assembly/static/bin</directory>
            <outputDirectory>/bin</outputDirectory>
            <includes>
                <include>gremlin.sh</include>
                <include>gremlin.bat</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>src/assembly/static/ext</directory>
            <outputDirectory>/ext</outputDirectory>
        </fileSet>
    </fileSets>

    <files>
        <file>
            <source>src/assembly/static/conf/log4j.properties</source>
            <outputDirectory>/conf</outputDirectory>
        </file>
    </files>

    <dependencySets>
        <dependencySet>
            <outputDirectory>/lib</outputDirectory>
            <unpack>false</unpack>
            <scope>runtime</scope>
            <useProjectArtifact>false</useProjectArtifact>
            <excludes>
                <exclude>${project.groupId}:titan-site:zip:htdocs:${project.version}</exclude>
                <exclude>${project.groupId}:titan-all:pom:${project.version}</exclude>
            </excludes>
        </dependencySet>
    </dependencySets>
</component>

<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd">

    <fileSets>
        <fileSet>
            <directory>src/assembly/static/bin</directory>
            <outputDirectory>/bin</outputDirectory>
            <includes>
                <include>gremlin.sh</include>
                <include>gremlin.bat</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>src/assembly/static/ext</directory>
            <outputDirectory>/ext</outputDirectory>
        </fileSet>
    </fileSets>

    <files>
        <file>
            <source>src/assembly/static/conf/log4j.properties</source>
            <outputDirectory>/conf</outputDirectory>
        </file>
    </files>

    <dependencySets>
        <dependencySet>
            <outputDirectory>/lib</outputDirectory>
            <unpack>false</unpack>
            <scope>runtime</scope>
            <useProjectArtifact>false</useProjectArtifact>
            <includes>
                <include>*:*:jar:*</include>
            </includes>
        </dependencySet>
    </dependencySets>
</component>

Edit maven assembly to remove cause of a warning
Edit maven assembly to remove cause of a warning

Assembly warns if an exclude pattern in one of its descriptor files
has no matches.  I inverted the body of the exclude and made it an
include with an identical effect.  No warning now.
