mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Add new processor suite that ignores the maven procesor plugin
The maven-processor-plugin does not take classpath dependencies during the processing
This commit is contained in:
parent
45abe9e35b
commit
252af70bae
@ -26,6 +26,7 @@ import org.mapstruct.itest.testutil.runner.ProcessorSuiteRunner;
|
||||
* @author Filip Hrisafov
|
||||
*/
|
||||
@RunWith( ProcessorSuiteRunner.class )
|
||||
@ProcessorSuite( baseDir = "autoValueBuilderTest" )
|
||||
@ProcessorSuite(baseDir = "autoValueBuilderTest",
|
||||
processorTypes = ProcessorSuite.ProcessorType.ALL_WITHOUT_PROCESSOR_PLUGIN)
|
||||
public class AutoValueBuilderTest {
|
||||
}
|
||||
|
@ -26,6 +26,7 @@ import org.mapstruct.itest.testutil.runner.ProcessorSuiteRunner;
|
||||
* @author Filip Hrisafov
|
||||
*/
|
||||
@RunWith( ProcessorSuiteRunner.class )
|
||||
@ProcessorSuite( baseDir = "freeBuilderBuilderTest" )
|
||||
@ProcessorSuite( baseDir = "freeBuilderBuilderTest",
|
||||
processorTypes = ProcessorSuite.ProcessorType.ALL_WITHOUT_PROCESSOR_PLUGIN)
|
||||
public class FreeBuilderBuilderTest {
|
||||
}
|
||||
|
@ -26,6 +26,7 @@ import org.mapstruct.itest.testutil.runner.ProcessorSuiteRunner;
|
||||
* @author Filip Hrisafov
|
||||
*/
|
||||
@RunWith( ProcessorSuiteRunner.class )
|
||||
@ProcessorSuite( baseDir = "immutablesBuilderTest" )
|
||||
@ProcessorSuite( baseDir = "immutablesBuilderTest",
|
||||
processorTypes = ProcessorSuite.ProcessorType.ALL_WITHOUT_PROCESSOR_PLUGIN)
|
||||
public class ImmutablesBuilderTest {
|
||||
}
|
||||
|
@ -26,6 +26,7 @@ import org.mapstruct.itest.testutil.runner.ProcessorSuiteRunner;
|
||||
* @author Eric Martineau
|
||||
*/
|
||||
@RunWith( ProcessorSuiteRunner.class )
|
||||
@ProcessorSuite( baseDir = "lombokBuilderTest" )
|
||||
@ProcessorSuite( baseDir = "lombokBuilderTest",
|
||||
processorTypes = ProcessorSuite.ProcessorType.ALL_WITHOUT_PROCESSOR_PLUGIN)
|
||||
public class LombokBuilderTest {
|
||||
}
|
||||
|
@ -96,6 +96,12 @@ public @interface ProcessorSuite {
|
||||
*/
|
||||
PROCESSOR_PLUGIN_JAVA_8( null, null, "1.8" ),
|
||||
|
||||
/**
|
||||
* Use all processing variants, but without the maven-procesor-plugin
|
||||
*/
|
||||
ALL_WITHOUT_PROCESSOR_PLUGIN(ORACLE_JAVA_6, ORACLE_JAVA_7, ORACLE_JAVA_8, ORACLE_JAVA_9, ECLIPSE_JDT_JAVA_6,
|
||||
ECLIPSE_JDT_JAVA_7, ECLIPSE_JDT_JAVA_8),
|
||||
|
||||
/**
|
||||
* Use all available processing variants
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user