public class BuilderExecution extends Object
Constructor and Description |
---|
BuilderExecution(File projectBasedir,
Class<?> builderType,
String goal) |
public static BuilderExecution builderExecution(File projectBasedir, Class<?> builder, String goal)
public static BuilderExecution builderExecution(File projectBasedir, Class<?> builder)
public BuilderExecution withProperty(String name, String value)
public BuilderExecution withConfiguration(String name, String value)
public BuilderExecution withCompileSourceRoot(File compileSourceRoot)
public BuilderExecution withTestCompileSourceRoot(File compileSourceRoot)
public BuilderExecution withConfiguration(String name, Collection<String> values)
public BuilderExecutionResult execute() throws BuilderExecutionException
BuilderExecutionException
public BuilderExecution withConfigurationXml(String name, String xml) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
public BuilderExecution withInputDirectory(String name, File location) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
public BuilderExecution withInputDirectory(String name, File location, Collection<String> includes) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
public BuilderExecution withParameterValue(String parameter, Object value)
public BuilderExecution withDependency(String coords, File content)
public BuilderExecution withTransitiveDependency(String coords, File content)
public BuilderExecution withEnforcerConfig(EnforcerConfig enforcerConfig)
public static IArtifactMetadata newArtifactMetadata(String coords)
coords
- The artifact coordinates in the format
<groupId>:<artifactId>:[[<type>]:<classifier>]:<version>
, must not be null
.public static IArtifactResources newArtifactResources(String coords, URL... resources)
Copyright © 2021. All rights reserved.