Package org.sonatype.nexus.proxy.maven

Examples of org.sonatype.nexus.proxy.maven.MavenRepository.retrieveItem()


    MavenRepository publicRepo = repositoryRegistry.getRepositoryWithFacet("public", MavenGroupRepository.class);

    ResourceStoreRequest req =
        new ResourceStoreRequest("/org/apache/maven/apache-maven/3.0-beta-1/apache-maven-3.0-beta-1.pom");

    StorageFileItem pomItem = (StorageFileItem) publicRepo.retrieveItem(req);

    ModelSource pomSource = new FileItemModelSource(pomItem);

    List<MavenRepository> participants =
        Arrays.asList(pomItem.getRepositoryItemUid().getRepository().adaptToFacet(MavenRepository.class));
View Full Code Here


              req.getRequestContext().setParentContext(context);

              log.debug("Checking for release counterpart in repository '{}' and path '{}'",
                  mrepository.getId(), req.toString());

              final StorageItem item = mrepository.retrieveItem(false, req);

              releaseTimestamp = item.getCreated();

              break;
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.