mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#112 Making @Inject et al. available for processor tests
This commit is contained in:
parent
6b28c161e9
commit
05b2e49364
@ -74,6 +74,11 @@
|
|||||||
<artifactId>guava</artifactId>
|
<artifactId>guava</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>javax.inject</groupId>
|
||||||
|
<artifactId>javax.inject</artifactId>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -80,7 +80,7 @@ public abstract class MapperTestBase {
|
|||||||
private DiagnosticCollector<JavaFileObject> diagnostics;
|
private DiagnosticCollector<JavaFileObject> diagnostics;
|
||||||
|
|
||||||
public MapperTestBase() {
|
public MapperTestBase() {
|
||||||
this.libraries = Arrays.asList( "mapstruct.jar", "guava.jar" );
|
this.libraries = Arrays.asList( "mapstruct.jar", "guava.jar", "javax.inject.jar" );
|
||||||
}
|
}
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user