Examples of GAV


Examples of org.kie.builder.GAV

        return "META-INF/maven/" + groupId + "/" + artifactId + "/pom.properties";
    }   
   
    public static GAV fromPropertiesString(String string) {
        Properties props = new Properties();
        GAV gav = null;
        try {
            props.load( new StringReader( string ) );
            String groupId = props.getProperty( "groupId" );
            String artifactId = props.getProperty( "artifactId" );
            String version = props.getProperty( "version" );           
View Full Code Here

Examples of org.sonatype.nexus.artifact.Gav

                        if ( request.getInfos() != null )
                        {
                            String repoFile = f.getAbsolutePath().substring(
                                request.getIndexingContext().getRepository().getAbsolutePath().length() + 1 );

                            Gav gav = gavCalculator.pathToGav( repoFile.replace( '\\', '/' ) );

                            if ( gav != null )
                            {
                                String uinfo = AbstractIndexCreator.getGAV( gav.getGroupId(), //
                                    gav.getArtifactId(),
                                    gav.getBaseVersion(),
                                    gav.getClassifier() );

                                if ( request.getInfos().contains( uinfo ) )
                                {
                                    continue; // skip already indexed file
                                }
View Full Code Here

Examples of org.sonatype.nexus.proxy.maven.gav.Gav

      if (item instanceof StorageFileItem
          && !item.getRepositoryItemUid().getPath().endsWith(".pom")) {
        return;
      }
      try {
        Gav gav = this.gavCalculator.pathToGav(item.getPath());
 
        // make sure we've really got a POM file
        if (gav != null && !gav.isHash() && !gav.isSignature()
            && gav.getExtension().equals("pom")) {
          // and then calculate the artifact usage
          calculateArtifactUsage((StorageFileItem) item);
        }
      }
      catch (Exception e) {
View Full Code Here

Examples of org.sonatype.nexus.proxy.maven.gav.Gav

  @Override
  public Metadata retrieveGAVMetadata(ArtifactStoreRequest request)
      throws IOException
  {
    try {
      Gav gav = getGavForRequest(request);

      return readOrCreateGAVMetadata(request, gav);
    }
    catch (Exception e) {
      throw createIOExceptionWithCause(e.getMessage(), e);
View Full Code Here

Examples of org.springframework.roo.project.GAV

        final String coordinates = StringUtils.join(
                Arrays.asList(groupId, artifactId, version),
                MavenUtils.COORDINATE_SEPARATOR);

        // Invoke
        final GAV gav = converter.convertFromText(coordinates, GAV.class, null);

        // Check
        assertEquals(groupId, gav.getGroupId());
        assertEquals(artifactId, gav.getArtifactId());
        assertEquals(version, gav.getVersion());
    }
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.