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>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
@ -80,7 +80,7 @@ public abstract class MapperTestBase {
|
||||
private DiagnosticCollector<JavaFileObject> diagnostics;
|
||||
|
||||
public MapperTestBase() {
|
||||
this.libraries = Arrays.asList( "mapstruct.jar", "guava.jar" );
|
||||
this.libraries = Arrays.asList( "mapstruct.jar", "guava.jar", "javax.inject.jar" );
|
||||
}
|
||||
|
||||
@BeforeClass
|
||||
|
Loading…
x
Reference in New Issue
Block a user