mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-08 14:36:22 +01:00
bd3d0efedd
Move source code of all Meterpreter extensions to a common target directory during build, so that tests that apply to all extensions won't need to be updated when a new extension is added. Use this to apply the version compatibility checks to all extensions.
64 lines
2.2 KiB
XML
64 lines
2.2 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.metasploit</groupId>
|
|
<artifactId>Metasploit-JavaPayload-Compatibility-java16</artifactId>
|
|
<parent>
|
|
<groupId>com.metasploit</groupId>
|
|
<artifactId>Metasploit-JavaPayload-Compatibility-parent</artifactId>
|
|
<version>1-SNAPSHOT</version>
|
|
</parent>
|
|
<packaging>jar</packaging>
|
|
<name>JavaPayload Compatibility Checks (Java 1.6)</name>
|
|
<url>http://www.metasploit.com/</url>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-source</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<mkdir dir="${project.basedir}/target/generated-sources/copy/" />
|
|
<copy todir="${project.basedir}/target/generated-sources/copy">
|
|
<fileset dir="${project.basedir}/../../javapayload/src/main/java" includes="**/*.java" excludes="rmi/**" />
|
|
<fileset dir="${project.basedir}/../../meterpreter/meterpreter/src/main/java" includes="**/*.java"/>
|
|
<!-- Webcam_audio_record_V1_4 depends on Sun proprietary API -->
|
|
<fileset dir="${project.basedir}/../../meterpreter/meterpreter/target/extension-src" includes="**/*.java" excludes="**/webcam_audio_record_V1_4.java" />
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
<version>1.9</version>
|
|
<executions>
|
|
<execution>
|
|
<id>verify-java</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<signature>
|
|
<groupId>org.codehaus.mojo.signature</groupId>
|
|
<artifactId>java16</artifactId>
|
|
<version>1.0</version>
|
|
</signature>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|