import org.argeo.jcr.JcrUtils;
import org.argeo.slc.CategoryNameVersion;
import org.argeo.slc.NameVersion;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.CategoryNameVersion;
import org.argeo.slc.NameVersion;
- Artifact artifact = new DefaultArtifact(nv.getCategory(),
- nv.getName() + ".source", "jar", nv.getVersion());
+ Artifact artifact = new DefaultArtifact(nv.getCategory(), nv.getName() + ".source", "jar",
+ nv.getVersion());
String path = MavenConventionsUtils.artifactPath("/", artifact);
if (!javaSession.itemExists(path))
log.warn("No source available for " + nv);
String path = MavenConventionsUtils.artifactPath("/", artifact);
if (!javaSession.itemExists(path))
log.warn("No source available for " + nv);
- protected void processNameVersion(Session javaSession,
- NameVersion nameVersion) throws RepositoryException {
+ protected void processNameVersion(Session javaSession, NameVersion nameVersion) throws RepositoryException {
if (log.isTraceEnabled())
log.trace("Check " + nameVersion + "...");
if (!(nameVersion instanceof CategoryNameVersion))
throw new SlcException("Unsupported type " + nameVersion.getClass());
CategoryNameVersion nv = (CategoryNameVersion) nameVersion;
if (log.isTraceEnabled())
log.trace("Check " + nameVersion + "...");
if (!(nameVersion instanceof CategoryNameVersion))
throw new SlcException("Unsupported type " + nameVersion.getClass());
CategoryNameVersion nv = (CategoryNameVersion) nameVersion;
- Artifact artifact = new DefaultArtifact(nv.getCategory(), nv.getName(),
- "jar", nv.getVersion());
+ Artifact artifact = new DefaultArtifact(nv.getCategory(), nv.getName(), "jar", nv.getVersion());
String path = MavenConventionsUtils.artifactPath("/", artifact);
if (!javaSession.itemExists(path)) {
if (nv instanceof BndWrapper) {
String path = MavenConventionsUtils.artifactPath("/", artifact);
if (!javaSession.itemExists(path)) {
if (nv instanceof BndWrapper) {