soot
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>soot</artifactId>
<version>4.6.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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>org.soot-oss</groupId>
<artifactId>soot</artifactId>
<name>Soot - a J*va Optimization Framework</name>
<version>4.6.0</version>
<description>A Java Optimization Framework</description>
<url>https://soot-oss.github.io/soot</url>
<organization>
<name>Soot OSS</name>
<url>https://soot-oss.org/</url>
</organization>
<licenses>
<license>
<name>GNU LESSER GENERAL PUBLIC LICENSE 2.1</name>
<url>https://www.gnu.org/licenses/lgpl-2.1.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Manuel Benz</name>
<email>manuel.benz@codeshield.de</email>
<organization>CodeShield GmbH</organization>
<organizationUrl>https://codeshield.de/</organizationUrl>
</developer>
<developer>
<name>Eric Bodden</name>
<email>eric.bodden@uni-paderborn.de</email>
<organization>University of Paderborn</organization>
<organizationUrl>https://www.hni.uni-paderborn.de/en/software-engineering/</organizationUrl>
</developer>
<developer>
<name>Andreas Dann</name>
<email>andreas.dann@codeshield.de</email>
<organization>CodeShield GmbH</organization>
<organizationUrl>https://codeshield.de/</organizationUrl>
</developer>
<developer>
<name>Steven Arzt</name>
<email>steven.arzt@sit.fraunhofer.de</email>
<organization>Fraunhofer SIT</organization>
<organizationUrl>https://www.sit.fraunhofer.de/en/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:soot-oss/soot.git</connection>
<developerConnection>scm:git:git@github.com:soot-oss/soot.git</developerConnection>
<url>https://github.com/soot-oss/soot</url>
</scm>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<xml-maven-plugin.version>1.1.0</xml-maven-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<build-helper-maven-plugin.version>3.5.0</build-helper-maven-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
<maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
<maven-nexus-staging-plugin.version>1.7.0</maven-nexus-staging-plugin.version>
<maven-gpg-plugin.version>3.2.6</maven-gpg-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version>
<checkstyle.version>8.18</checkstyle.version>
<checkstyle.dir.path>${basedir}/codingstyle</checkstyle.dir.path>
<checkstyle.file.path>${checkstyle.dir.path}/soot_checkstyle_checks.xml</checkstyle.file.path>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<licence-check.failOnMissingHeader>true</licence-check.failOnMissingHeader>
<testcase.groups.excluded>categories.Java9Test,categories.Java11Test</testcase.groups.excluded>
<asm.version>9.7</asm.version>
</properties>
<build>
<finalName>sootclasses-trunk</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<version>${xml-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<!-- make soot singletons -->
<transformationSet>
<outputDir>${basedir}/src/main/generated/singletons/soot/</outputDir>
<dir>${basedir}/src/main/xml/singletons</dir>
<includes>
<include>singletons.xml</include>
</includes>
<stylesheet>${basedir}/src/main/xml/singletons/make-singletons.xsl</stylesheet>
<fileMappers>
<fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
<targetName>Singletons.java</targetName>
</fileMapper>
</fileMappers>
</transformationSet>
<!-- make soot options -->
<transformationSet>
<outputDir>${basedir}/src/main/generated/options/soot/options/</outputDir>
<dir>${basedir}/src/main/xml/options/</dir>
<includes>
<include>soot_options.xml</include>
</includes>
<stylesheet>${basedir}/src/main/xml/options/make-soot-options.xsl</stylesheet>
<fileMappers>
<fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
<targetName>Options.java</targetName>
</fileMapper>
</fileMappers>
</transformationSet>
<transformationSet>
<outputDir>${basedir}/src/main/generated/options/soot/</outputDir>
<dir>${basedir}/src/main/xml/options/</dir>
<includes>
<include>soot_options.xml</include>
</includes>
<stylesheet>${basedir}/src/main/xml/options/ant-task.xsl</stylesheet>
<fileMappers>
<fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
<targetName>AntTask.java</targetName>
</fileMapper>
</fileMappers>
</transformationSet>
<transformationSet>
<outputDir>${basedir}/eclipse/ca.mcgill.sable.soot/src/ca/mcgill/sable/soot/ui/</outputDir>
<dir>${basedir}/src/main/xml/options/</dir>
<includes>
<include>soot_options.xml</include>
</includes>
<stylesheet>${basedir}/src/main/xml/options/phase_options_dialog.xsl</stylesheet>
<fileMappers>
<fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
<targetName>PhaseOptionsDialog.java</targetName>
</fileMapper>
</fileMappers>
</transformationSet>
<transformationSet>
<outputDir>${basedir}/doc/</outputDir>
<dir>${basedir}/src/main/xml/options/</dir>
<includes>
<include>soot_options.xml</include>
</includes>
<stylesheet>${basedir}/src/main/xml/options/soot_options.xsl</stylesheet>
<fileMappers>
<fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
<targetName>soot_options.html</targetName>
</fileMapper>
</fileMappers>
</transformationSet>
</transformationSets>
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>9.8.0-8</version>
</dependency>
</dependencies>
</plugin>
<!-- copy the soot_options.css -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<executions>
<execution>
<id>copy options.css to doc directory</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/doc</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/xml/options/</directory>
<includes>
<include>soot_options.css</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>add system-test target resources</id>
<phase>generate-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/systemTest-target-classes</outputDirectory>
<resources>
<resource>
<directory>src/systemTest/targets-resources</directory>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>add system test resources</id>
<phase>generate-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/systemTest-classes</outputDirectory>
<resources>
<resource>
<directory>src/systemTest/resources</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>add generated sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/src/main/generated/singletons</source>
<source>${basedir}/src/main/generated/sablecc</source>
<source>${basedir}/src/main/generated/options</source>
<source>${basedir}/src/main/generated/jastadd</source>
<source>${basedir}/src/main/generated/protobuf</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
<executions>
<execution>
<id>compile system test targets</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compileSourceRoots>${project.basedir}/src/systemTest/targets</compileSourceRoots>
<testIncludes>
<testInclude>**/*.java</testInclude>
</testIncludes>
<outputDirectory>${project.build.directory}/systemTest-target-classes</outputDirectory>
</configuration>
</execution>
<execution>
<id>compile-system-tests</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compileSourceRoots>${project.basedir}/src/systemTest/java</compileSourceRoots>
<testIncludes>
<testInclude>**/*.java</testInclude>
</testIncludes>
<outputDirectory>${project.build.directory}/systemTest-classes</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>${maven-surefire-plugin.version}</version>
</dependency>
</dependencies>
<configuration>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
<excludedGroups>${testcase.groups.excluded}</excludedGroups>
<argLine>
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.regex=ALL-UNNAMED
--add-opens=java.base/java.util.stream=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
</argLine>
</configuration>
<executions>
<execution>
<id>System-tests</id>
<goals>
<goal>test
</goal>
</goals>
<configuration>
<testClassesDirectory>${project.build.directory}/systemTest-classes</testClassesDirectory>
<testSourceDirectory>${project.basedir}/src/systemTest/java</testSourceDirectory>
<trimStackTrace>false</trimStackTrace>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
</configuration>
</execution>
<execution>
<id>default-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>soot.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>stylecheck</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<propertyExpansion>config_loc=${checkstyle.dir.path}</propertyExpansion>
<configLocation>${checkstyle.file.path}</configLocation>
<encoding>UTF-8</encoding>
<logViolationsToConsole>true</logViolationsToConsole>
<failOnViolation>${checkstyle.failOnViolation}</failOnViolation>
<violationSeverity>warning</violationSeverity>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.20</version>
<configuration>
<failOnMissingHeader>${licence-check.failOnMissingHeader}</failOnMissingHeader>
<failOnNotUptodateHeader>${licence-check.failOnMissingHeader}</failOnNotUptodateHeader>
<inceptionYear>1997</inceptionYear>
<addJavaLicenseAfterPackage>true</addJavaLicenseAfterPackage>
<licenseName>lgpl_v2_1</licenseName>
<organizationName>Raja Vallée-Rai and others</organizationName>
<roots>
<root>src/main/java</root>
<root>src/test/java</root>
<root>src/it</root>
<root>src/systemTest/java</root>
<root>src/systemTest/targets</root>
</roots>
</configuration>
<executions>
<execution>
<id>license-check</id>
<goals>
<goal>check-file-header</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>soot.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<failOnError>false</failOnError>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.17.0</version>
</dependency>
<dependency>
<groupId>org.smali</groupId>
<artifactId>dexlib2</artifactId>
<version>2.5.2</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${asm.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>${asm.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-util</artifactId>
<version>${asm.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>${asm.version}</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.30.2-GA</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
<version>1.1.3.4d_b4_min</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.15</version>
<scope>provided</scope>
</dependency>
<!-- Local dependencies -->
<dependency>
<groupId>de.upb.cs.swt</groupId>
<artifactId>axml</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>ca.mcgill.sable</groupId>
<artifactId>polyglot</artifactId>
<version>2006</version>
</dependency>
<!-- Published from the github repo -->
<!-- Built by http://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/ -->
<dependency>
<groupId>de.upb.cs.swt</groupId>
<artifactId>heros</artifactId>
<version>1.2.3</version>
</dependency>
<!-- Uploaded to http://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/
from the nightly build server -->
<dependency>
<groupId>ca.mcgill.sable</groupId>
<artifactId>jasmin</artifactId>
<version>3.0.3</version>
</dependency>
<!-- Logging dependencies -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.16</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.16</version>
<scope>test</scope>
</dependency>
<!-- Testing dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.6.0</version> <!-- or higher, correspondning to powermock-version -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
<version>2.0.9</version> <!-- or higher -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>2.0.9</version> <!-- or higher -->
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.android/android -->
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>4.1.1.4</version>
<scope>test</scope>
</dependency>
<!-- add dependencies to javax.annotation to build soot on jdk 11 -->
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.2</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>4.0.5</version>
</dependency>
<!-- Dotnet Dependencies -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.25.5</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>3.25.5</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>sonatype-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>Java8</id>
<properties>
<testcase.groups.excluded>categories.Java9Test,categories.Java11Test</testcase.groups.excluded>
</properties>
</profile>
<profile>
<id>Java9</id>
<properties>
<testcase.groups.excluded>categories.Java11Test</testcase.groups.excluded>
</properties>
</profile>
<profile>
<id>Java11</id>
<properties>
<testcase.groups.excluded></testcase.groups.excluded>
</properties>
</profile>
<profile>
<id>deploy</id>
<activation>
<property>
<name>deploy</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${maven-nexus-staging-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- This is necessary for gpg to not try to use the pinentry programs -->
<gpgArguments>
<arg>--batch</arg>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>simple-command</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>