summaryrefslogtreecommitdiff
path: root/contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/TestAbstractThriftMojo.java
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/TestAbstractThriftMojo.java')
-rw-r--r--contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/TestAbstractThriftMojo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/TestAbstractThriftMojo.java b/contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/TestAbstractThriftMojo.java
index c1176712d..7c90a990e 100644
--- a/contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/TestAbstractThriftMojo.java
+++ b/contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/TestAbstractThriftMojo.java
@@ -59,7 +59,7 @@ public class TestAbstractThriftMojo {
// used by other tests. It's used here to represent a dependency of the project maven is building,
// one that is contributing .thrift IDL files as well as any other artifacts.
final Iterable<File> classpathElementFiles = Lists.newArrayList(
- new File("src/test/resources/dependency-jar-test/SharedIdl.jar")
+ new File("target/SharedIdl.jar")
);
final Set<File> thriftDirectories = mojo.makeThriftPathFromJars(temporaryThriftFileDirectory, classpathElementFiles);
@@ -70,7 +70,7 @@ public class TestAbstractThriftMojo {
// means it points to the directory containing the "idl" hierarchy rather than to the idl directory
// itself.
final Set<File> expected = Sets.newHashSet(
- new File(testRootDir, "src/test/resources/dependency-jar-test/SharedIdl.jar")
+ new File(testRootDir, "target/SharedIdl.jar")
);
assertEquals("makeThriftPathFromJars should return thrift IDL base path from within JAR", expected, thriftDirectories);