build/plugin-agent-assembly.xml (88 lines of code) (raw):

<?xml version="1.0"?> <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0 https://maven.apache.org/xsd/assembly-2.2.0.xsd"> <id>plugin-agent-assembly</id> <includeBaseDirectory>false</includeBaseDirectory> <formats> <format>dir</format> <format>zip</format> </formats> <files> <file> <source>../deploy-runner-agent/teamcity-plugin.xml</source> <outputDirectory>/</outputDirectory> </file> </files> <moduleSets> <moduleSet> <useAllReactorProjects>true</useAllReactorProjects> <includes> <include>jetbrains.buildServer.deployer:deploy-runner-agent</include> </includes> <excludes> <exclude>jetbrains.buildServer.deployer:deploy-runner-agent-smb</exclude> </excludes> <binaries> <outputDirectory>lib</outputDirectory> <unpack>false</unpack> <dependencySets> <dependencySet> <includes> <include>*</include> </includes> <excludes> <exclude>jcifs:jcifs</exclude> <exclude>com.hierynomus:smbj</exclude> <exclude>*:*:*:sources</exclude> <exclude>org.codehaus.cargo:cargo-core-api-container</exclude> <exclude>org.codehaus.cargo:cargo-core-api-generic</exclude> <exclude>org.codehaus.cargo:cargo-core-api-module</exclude> <exclude>org.codehaus.cargo:cargo-core-api-util</exclude> <!-- <exclude>org.codehaus.cargo:*</exclude>--> <exclude>net.java.dev.jna:*</exclude> <exclude>org.jboss.spec.javax.rmi:*</exclude> <exclude>jaxen:jaxen</exclude> <exclude>jdom:jdom</exclude> <!-- <exclude>org.jdom:jdom2</exclude>--> <!-- Excluded until we upgrade to jdom2 --> <exclude>*:bcprov-jdk15on</exclude> <exclude>org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec</exclude> <exclude>com.kohlschutter.junixsocket:junixsocket-core:pom</exclude> <!-- leads to path traversal issue on unpack --> </excludes> </dependencySet> </dependencySets> </binaries> </moduleSet> <moduleSet> <useAllReactorProjects>true</useAllReactorProjects> <includes> <include>jetbrains.buildServer.deployer:deploy-runner-agent-smb</include> </includes> <binaries> <outputDirectory>smbLib</outputDirectory> <unpack>false</unpack> <dependencySets> <dependencySet> <includes> <include>jcifs:jcifs</include> </includes> </dependencySet> </dependencySets> </binaries> </moduleSet> <moduleSet> <useAllReactorProjects>true</useAllReactorProjects> <includes> <include>jetbrains.buildServer.deployer:deploy-runner-agent-smb2</include> </includes> <binaries> <outputDirectory>smb2Lib</outputDirectory> <unpack>false</unpack> <dependencySets> <dependencySet> <includes> <include>com.hierynomus:smbj</include> </includes> </dependencySet> </dependencySets> </binaries> </moduleSet> </moduleSets> </assembly>