| Class and Description |
|---|
| BaseMavenCompiler
Run maven with https://maven.apache.org/ref/3.3.9/maven-embedder/xref/index.html
to use Takari plugins like a black box
MavenCompiler compiler = new DefaultMavenCompiler();
or
MavenCompiler compiler = MavenCompilerFactory.getCompiler(Decorator.LOG_OUTPUT_AFTER);
WorkspaceCompilationInfo info = new WorkspaceCompilationInfo(tmp);
CompilationRequest req = new DefaultCompilationRequest(mavenRepo, info,new String[]{MavenArgs.COMPILE},new HashMap<>(), Boolean.TRUE );
CompilationResponse res = compiler.compileSync(req);
|
| Class and Description |
|---|
| BaseMavenCompiler
Run maven with https://maven.apache.org/ref/3.3.9/maven-embedder/xref/index.html
to use Takari plugins like a black box
MavenCompiler compiler = new DefaultMavenCompiler();
or
MavenCompiler compiler = MavenCompilerFactory.getCompiler(Decorator.LOG_OUTPUT_AFTER);
WorkspaceCompilationInfo info = new WorkspaceCompilationInfo(tmp);
CompilationRequest req = new DefaultCompilationRequest(mavenRepo, info,new String[]{MavenArgs.COMPILE},new HashMap<>(), Boolean.TRUE );
CompilationResponse res = compiler.compileSync(req);
|
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.