com.mysema.maven.apt.TestAnnotationProcessorMojo Maven / Gradle / Ivy
/*
* Copyright (c) 2009 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.maven.apt;
import java.io.File;
/**
* TestAnnotationProcessorMojo calls APT processors for code generation
*
* @goal test-process
* @phase generate-sources
* @requiresDependencyResolution test
*/
public class TestAnnotationProcessorMojo extends AbstractProcessorMojo {
/**
* @parameter expression="${project.build.testSourceDirectory}" required=true
*/
protected File sourceDirectory;
@Override
protected File getSourceDirectory() {
return sourceDirectory;
}
@Override
protected boolean isForTest(){
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy