import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.argeo.ArgeoMonitor;
+import org.argeo.jcr.JcrMonitor;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
import org.argeo.slc.aether.ArtifactIdComparator;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.ArtifactIndexer;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.slc.repo.RepoUtils;
+import org.eclipse.aether.artifact.Artifact;
+import org.eclipse.aether.artifact.DefaultArtifact;
import org.osgi.framework.Version;
-import org.sonatype.aether.artifact.Artifact;
-import org.sonatype.aether.util.artifact.DefaultArtifact;
/**
* Generates binaries-, sources- and sdk-version.pom artifacts for a given
* indexed.
*/
public static void processGroupNode(Node groupNode, String version,
- ArgeoMonitor monitor) throws RepositoryException {
+ JcrMonitor monitor) throws RepositoryException {
// TODO set artifactsBase based on group node
GenerateBinaries gb = new GenerateBinaries();
String groupId = groupNode.getProperty(SlcNames.SLC_GROUP_BASE_ID)
/** Only builds local indexes. Does not change anything in the local Session */
public static GenerateBinaries preProcessGroupNode(Node groupNode,
- ArgeoMonitor monitor) throws RepositoryException {
+ JcrMonitor monitor) throws RepositoryException {
// TODO set artifactsBase based on group node
GenerateBinaries gb = new GenerateBinaries();
String groupId = groupNode.getProperty(SlcNames.SLC_GROUP_BASE_ID)
* methods build the binaries {@code Set<Artifact>} and other indexes. It
* does not impact the
*/
- protected void internalPreProcessing(Node groupNode, ArgeoMonitor monitor)
+ protected void internalPreProcessing(Node groupNode, JcrMonitor monitor)
throws RepositoryException {
if (monitor != null)
monitor.subTask("Pre processing group " + groupId);
}
/** Does the real job : writes JCR META-DATA and generates binaries */
- protected void internalProcessing(Node groupNode, ArgeoMonitor monitor)
+ protected void internalProcessing(Node groupNode, JcrMonitor monitor)
throws RepositoryException {
if (monitor != null)
monitor.subTask("Processing group " + groupId);