summaryrefslogtreecommitdiffstats
path: root/testutil
diff options
context:
space:
mode:
Diffstat (limited to 'testutil')
-rw-r--r--testutil/pom.xml6
-rw-r--r--testutil/src/main/java/com/yahoo/test/ManualClock.java2
2 files changed, 7 insertions, 1 deletions
diff --git a/testutil/pom.xml b/testutil/pom.xml
index 5c6aa1881f7..f3bc9cb2212 100644
--- a/testutil/pom.xml
+++ b/testutil/pom.xml
@@ -27,6 +27,12 @@
<classifier>no_aop</classifier>
</dependency>
<dependency>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>annotations</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<scope>compile</scope>
diff --git a/testutil/src/main/java/com/yahoo/test/ManualClock.java b/testutil/src/main/java/com/yahoo/test/ManualClock.java
index f5fe1ea466a..d946101412d 100644
--- a/testutil/src/main/java/com/yahoo/test/ManualClock.java
+++ b/testutil/src/main/java/com/yahoo/test/ManualClock.java
@@ -1,7 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.test;
-import com.google.inject.Inject;
+import com.yahoo.component.annotation.Inject;
import java.time.Clock;
import java.time.Instant;
import java.time.LocalDateTime;