1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-11-26 17:41:08 +01:00

Use Android API Scents from Maven Central

While at it, change it to the scents from API Level 1, so that we can
claim it works on really every Android device :)
This commit is contained in:
Michael Schierl 2013-09-06 18:29:21 +02:00
parent 315922f15b
commit 316f330a90
4 changed files with 3 additions and 85 deletions

View File

@ -1,81 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.metasploit</groupId>
<artifactId>android-api3-scents</artifactId>
<version>1.5_r4</version>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.artifactId}-${project.version}.signature</file>
<type>signature</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- regenerate the .signature file like this: -->
<!-- mvn -Dandroid.sdk.path=... -P regenerate package -->
<id>regenerate</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.9</version>
<executions>
<execution>
<id>regenerate</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
<configuration>
<javaHomeClassPath>
<javaHomeClassPath>${android.sdk.path}/platforms/android-3/android.jar</javaHomeClassPath>
</javaHomeClassPath>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy todir="${project.basedir}"
file="${project.basedir}/target/${project.artifactId}-${project.version}.signature" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -71,9 +71,9 @@
</goals> </goals>
<configuration> <configuration>
<signature> <signature>
<groupId>com.metasploit</groupId> <groupId>net.sf.androidscents.signature</groupId>
<artifactId>android-api3-scents</artifactId> <artifactId>android-api-level-1</artifactId>
<version>1.5_r4</version> <version>1.0_r2</version>
</signature> </signature>
</configuration> </configuration>
</execution> </execution>

View File

@ -54,7 +54,6 @@
<module>java14</module> <module>java14</module>
<module>java13</module> <module>java13</module>
<module>java12</module> <module>java12</module>
<module>android-api3-scents</module>
<module>android-api3</module> <module>android-api3</module>
</modules> </modules>
</project> </project>