SLC_, SLC_ADDRESS, SLC_AGENTS, SLC_AGGREGATED_STATUS, SLC_ARTIFACT_CLASSIFIER, SLC_ARTIFACT_EXTENSION, SLC_ARTIFACT_ID, SLC_ARTIFACT_VERSION, SLC_AS_STRING, SLC_BUNDLE_VERSION, SLC_CATEGORY, SLC_COMPLETED, SLC_ERROR_MESSAGE, SLC_EXECUTION_SPECS, SLC_FLOW, SLC_GROUP_BASE_ID, SLC_GROUP_ID, SLC_IS_CONSTANT, SLC_IS_HIDDEN, SLC_IS_IMMUTABLE, SLC_ISSUES, SLC_LOG, SLC_MAJOR, SLC_MANIFEST, SLC_MESSAGE, SLC_METADATA, SLC_MICRO, SLC_MINOR, SLC_MODULES, SLC_MY_RESULTS, SLC_NAME, SLC_OPTIONAL, SLC_ORIGIN, SLC_PROCESSES, SLC_PROXY, SLC_QUALIFIER, SLC_RESULT_PART, SLC_RESULTS, SLC_RPM_ARCH, SLC_RPM_ARCHIVE_SIZE, SLC_RPM_RELEASE, SLC_RPM_VERSION, SLC_SPEC, SLC_STARTED, SLC_STATUS, SLC_SUCCESS, SLC_SUMMARY, SLC_SYMBOLIC_NAME, SLC_SYSTEM, SLC_TAG, SLC_TEST_CASE, SLC_TEST_CASE_TYPE, SLC_TIMESTAMP, SLC_TYPE, SLC_URL, SLC_USES, SLC_UUID, SLC_VALUE, SLC_VERSION, SLC_VM
Constructor and Description |
---|
GenerateBinaries() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<org.eclipse.aether.artifact.Artifact> |
getBinaries() |
org.eclipse.aether.artifact.Artifact |
getHighestArtifactVersion() |
protected void |
internalPreProcessing(Node groupNode,
org.argeo.jcr.JcrMonitor monitor)
Browse all children of a Node considered as a folder that follows Aether
conventions i.e that has Aether's artifact base as children.
|
protected void |
internalProcessing(Node groupNode,
org.argeo.jcr.JcrMonitor monitor)
Does the real job : writes JCR META-DATA and generates binaries
|
protected void |
preProcessBundleArtifact(Node bundleNode) |
static GenerateBinaries |
preProcessGroupNode(Node groupNode,
org.argeo.jcr.JcrMonitor monitor)
Only builds local indexes.
|
static void |
processGroupNode(Node groupNode,
java.lang.String version,
org.argeo.jcr.JcrMonitor monitor)
Generates binaries-, sources- and sdk-version.pom artifacts for the given
version (or the highest of all children version if none is precised).
|
void |
run() |
void |
setArtifactBasePath(java.lang.String artifactBasePath) |
void |
setArtifactIndexer(ArtifactIndexer artifactIndexer) |
void |
setCredentials(Credentials credentials) |
void |
setExcludedSuffixes(java.util.List<java.lang.String> excludedSuffixes) |
void |
setGroupId(java.lang.String groupId) |
void |
setParentPomCoordinates(java.lang.String parentPomCoordinates) |
void |
setRepository(Repository repository) |
void |
setVersion(java.lang.String version) |
void |
setWorkspace(java.lang.String workspace) |
public void run()
run
in interface java.lang.Runnable
public static void processGroupNode(Node groupNode, java.lang.String version, org.argeo.jcr.JcrMonitor monitor) throws RepositoryException
RepositoryException
public static GenerateBinaries preProcessGroupNode(Node groupNode, org.argeo.jcr.JcrMonitor monitor) throws RepositoryException
RepositoryException
public java.util.Set<org.eclipse.aether.artifact.Artifact> getBinaries()
public org.eclipse.aether.artifact.Artifact getHighestArtifactVersion() throws RepositoryException
RepositoryException
protected void internalPreProcessing(Node groupNode, org.argeo.jcr.JcrMonitor monitor) throws RepositoryException
Set<Artifact>
and other indexes. It
does not impact theRepositoryException
protected void internalProcessing(Node groupNode, org.argeo.jcr.JcrMonitor monitor) throws RepositoryException
RepositoryException
protected void preProcessBundleArtifact(Node bundleNode) throws RepositoryException
RepositoryException
public void setRepository(Repository repository)
public void setCredentials(Credentials credentials)
public void setWorkspace(java.lang.String workspace)
public void setGroupId(java.lang.String groupId)
public void setParentPomCoordinates(java.lang.String parentPomCoordinates)
public void setArtifactBasePath(java.lang.String artifactBasePath)
public void setVersion(java.lang.String version)
public void setExcludedSuffixes(java.util.List<java.lang.String> excludedSuffixes)
public void setArtifactIndexer(ArtifactIndexer artifactIndexer)
Copyright © 2007–2020. All rights reserved.