WALA/com.ibm.wala.cast.test/pom.xml

83 lines
2.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.ibm.wala</groupId>
<artifactId>WALA</artifactId>
2018-08-22 19:01:19 +00:00
<version>1.5.1-SNAPSHOT</version>
</parent>
<artifactId>com.ibm.wala.cast.test</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
2017-06-28 16:42:49 +00:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<executable>make</executable>
2017-06-28 16:42:49 +00:00
<arguments>
2017-08-06 23:33:40 +00:00
<argument>--quiet</argument>
<argument>default</argument>
<argument>main</argument>
2017-06-28 16:42:49 +00:00
</arguments>
<workingDirectory>${basedir}/harness-src/c</workingDirectory>
2017-06-28 16:42:49 +00:00
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
2017-06-29 09:07:29 +00:00
<execution>
<id>test-native</id>
<phase>test</phase>
<configuration>
2018-01-20 17:40:10 +00:00
<executable>${basedir}/../com.ibm.wala.cast/target/classes/libcast/smoke_main</executable>
2017-06-29 09:07:29 +00:00
<arguments>
2017-06-28 22:28:19 +00:00
<argument>${project.build.outputDirectory}:${basedir}/../com.ibm.wala.cast/target/classes:${basedir}/../com.ibm.wala.core/target/classes:${basedir}/../com.ibm.wala.util/target/classes</argument>
2017-06-29 09:07:29 +00:00
</arguments>
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
2017-06-28 16:42:49 +00:00
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>test</id>
<phase>test</phase>
<configuration>
<testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory>
2017-06-24 22:11:43 +00:00
<argLine>-Djava.library.path=${project.build.outputDirectory} -ea</argLine>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
2017-06-28 16:42:49 +00:00
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
</dependency>
</dependencies>
</project>