@Component(role=BuildInfoRecorder.class) public class BuildInfoRecorder extends org.apache.maven.execution.AbstractExecutionListener implements org.jfrog.build.extractor.BuildInfoExtractor<org.apache.maven.execution.ExecutionEvent>
| Constructor and Description |
|---|
BuildInfoRecorder() |
| Modifier and Type | Method and Description |
|---|---|
void |
artifactResolved(org.apache.maven.artifact.Artifact artifact)
The repository listener invokes this method with each artifact being resolved by Maven.
|
org.jfrog.build.extractor.ci.BuildInfo |
extract(org.apache.maven.execution.ExecutionEvent event) |
void |
forkedProjectFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
forkedProjectStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
forkedProjectSucceeded(org.apache.maven.execution.ExecutionEvent event) |
void |
forkFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
forkStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
forkSucceeded(org.apache.maven.execution.ExecutionEvent event) |
ResolutionHelper |
getResolutionHelper() |
java.lang.String |
getTargetRepository(java.lang.String deployPath) |
void |
mojoFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
mojoSkipped(org.apache.maven.execution.ExecutionEvent event) |
void |
mojoStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
mojoSucceeded(org.apache.maven.execution.ExecutionEvent event) |
void |
projectDiscoveryStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
projectFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
projectSkipped(org.apache.maven.execution.ExecutionEvent event) |
void |
projectStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
projectSucceeded(org.apache.maven.execution.ExecutionEvent event) |
void |
sessionEnded(org.apache.maven.execution.ExecutionEvent event) |
void |
sessionStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
setConfiguration(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration conf) |
void |
setDependencyParentsMaps(java.util.Map<java.lang.String,java.lang.String[][]> dependencyParentsMaps) |
void |
setListenerToWrap(org.apache.maven.execution.ExecutionListener executionListener) |
void |
setModuleRepo(org.jfrog.build.extractor.builder.ModuleBuilder module) |
public void setListenerToWrap(org.apache.maven.execution.ExecutionListener executionListener)
public void setConfiguration(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration conf)
public void setDependencyParentsMaps(java.util.Map<java.lang.String,java.lang.String[][]> dependencyParentsMaps)
public void artifactResolved(org.apache.maven.artifact.Artifact artifact)
artifact - The artifact being resolved by Maven.public void projectDiscoveryStarted(org.apache.maven.execution.ExecutionEvent event)
projectDiscoveryStarted in interface org.apache.maven.execution.ExecutionListenerprojectDiscoveryStarted in class org.apache.maven.execution.AbstractExecutionListenerpublic void sessionStarted(org.apache.maven.execution.ExecutionEvent event)
sessionStarted in interface org.apache.maven.execution.ExecutionListenersessionStarted in class org.apache.maven.execution.AbstractExecutionListenerpublic void sessionEnded(org.apache.maven.execution.ExecutionEvent event)
sessionEnded in interface org.apache.maven.execution.ExecutionListenersessionEnded in class org.apache.maven.execution.AbstractExecutionListenerpublic void projectSkipped(org.apache.maven.execution.ExecutionEvent event)
projectSkipped in interface org.apache.maven.execution.ExecutionListenerprojectSkipped in class org.apache.maven.execution.AbstractExecutionListenerpublic void projectStarted(org.apache.maven.execution.ExecutionEvent event)
projectStarted in interface org.apache.maven.execution.ExecutionListenerprojectStarted in class org.apache.maven.execution.AbstractExecutionListenerpublic void projectSucceeded(org.apache.maven.execution.ExecutionEvent event)
projectSucceeded in interface org.apache.maven.execution.ExecutionListenerprojectSucceeded in class org.apache.maven.execution.AbstractExecutionListenerpublic void projectFailed(org.apache.maven.execution.ExecutionEvent event)
projectFailed in interface org.apache.maven.execution.ExecutionListenerprojectFailed in class org.apache.maven.execution.AbstractExecutionListenerpublic void forkStarted(org.apache.maven.execution.ExecutionEvent event)
forkStarted in interface org.apache.maven.execution.ExecutionListenerforkStarted in class org.apache.maven.execution.AbstractExecutionListenerpublic void forkSucceeded(org.apache.maven.execution.ExecutionEvent event)
forkSucceeded in interface org.apache.maven.execution.ExecutionListenerforkSucceeded in class org.apache.maven.execution.AbstractExecutionListenerpublic void forkFailed(org.apache.maven.execution.ExecutionEvent event)
forkFailed in interface org.apache.maven.execution.ExecutionListenerforkFailed in class org.apache.maven.execution.AbstractExecutionListenerpublic void forkedProjectStarted(org.apache.maven.execution.ExecutionEvent event)
forkedProjectStarted in interface org.apache.maven.execution.ExecutionListenerforkedProjectStarted in class org.apache.maven.execution.AbstractExecutionListenerpublic void forkedProjectSucceeded(org.apache.maven.execution.ExecutionEvent event)
forkedProjectSucceeded in interface org.apache.maven.execution.ExecutionListenerforkedProjectSucceeded in class org.apache.maven.execution.AbstractExecutionListenerpublic void forkedProjectFailed(org.apache.maven.execution.ExecutionEvent event)
forkedProjectFailed in interface org.apache.maven.execution.ExecutionListenerforkedProjectFailed in class org.apache.maven.execution.AbstractExecutionListenerpublic void mojoSkipped(org.apache.maven.execution.ExecutionEvent event)
mojoSkipped in interface org.apache.maven.execution.ExecutionListenermojoSkipped in class org.apache.maven.execution.AbstractExecutionListenerpublic void mojoStarted(org.apache.maven.execution.ExecutionEvent event)
mojoStarted in interface org.apache.maven.execution.ExecutionListenermojoStarted in class org.apache.maven.execution.AbstractExecutionListenerpublic void mojoSucceeded(org.apache.maven.execution.ExecutionEvent event)
mojoSucceeded in interface org.apache.maven.execution.ExecutionListenermojoSucceeded in class org.apache.maven.execution.AbstractExecutionListenerpublic void mojoFailed(org.apache.maven.execution.ExecutionEvent event)
mojoFailed in interface org.apache.maven.execution.ExecutionListenermojoFailed in class org.apache.maven.execution.AbstractExecutionListenerpublic java.lang.String getTargetRepository(java.lang.String deployPath)
deployPath - the full path string to extract the repo frompublic void setModuleRepo(org.jfrog.build.extractor.builder.ModuleBuilder module)
public org.jfrog.build.extractor.ci.BuildInfo extract(org.apache.maven.execution.ExecutionEvent event)
extract in interface org.jfrog.build.extractor.BuildInfoExtractor<org.apache.maven.execution.ExecutionEvent>public ResolutionHelper getResolutionHelper()