All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mysema.maven.apt.TestAnnotationProcessorMojo Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
/*
 * 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