Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.dongliu.prettypb.maven;
 
 
 import java.io.File;
 import java.util.Set;

Phase:
generate-test-sources
Goal:
testCompile
RequiresDependencyResolution:
test
public final class ProtocTestCompileMojo extends AbstractProtocMojo {

    
The source directories containing the sources to be compiled.

Parameter:
default-value="${basedir}/src/test/proto"
Required:
    private File protoTestSourceRoot;

    
This is the directory into which the .java will be created.

Parameter:
default-value="${project.build.directory}/generated-test-sources/protoc"
Required:
    private File outputDirectory;
    @Override
    protected void attachFiles() {
                Arrays.asList("**/*.proto"), Collections.emptyList());
    }
    @Override
    protected Set<ArtifactgetDependencyArtifacts() {
        return .getDependencyArtifacts();
    }
    @Override
    protected File getOutputDirectory() {
        return ;
    }
    @Override
    protected File getProtoSourceRoot() {
        return ;
    }
New to GrepCode? Check out our FAQ X