Package org.apache.ivy.plugins.latest

Examples of org.apache.ivy.plugins.latest.ArtifactInfo


                    && parent.getResolvedId().equals(dd.getParentRevisionId())) {
                return Collections.singleton(node);
            }
        }
        try {
            ArtifactInfo latest = getStrategy().findLatest(toArtifactInfo(conflicts), null);
            if (latest != null) {
                return Collections.singleton(((IvyNodeArtifactInfo) latest).getNode());
            } else {
                return conflicts;
            }
View Full Code Here


                && parent.getResolvedId().equals(dd.getParentRevisionId())) {
                return Collections.singleton(node);
            }
        }
        try {
          ArtifactInfo latest = getStrategy().findLatest(toArtifactInfo(conflicts), null);
          if (latest != null) {
              return Collections.singleton(((IvyNodeArtifactInfo)latest).getNode());
          } else {
              return conflicts;
          }
View Full Code Here

        Collections.shuffle(shuffled);
        ArtifactInfo[] shuffledRevs = (ArtifactInfo[]) shuffled
                .toArray(new ArtifactInfo[revs.length]);

        OsgiLatestStrategy latestRevisionStrategy = new OsgiLatestStrategy();
        ArtifactInfo latest = latestRevisionStrategy.findLatest(shuffledRevs, new Date());
        assertNotNull(latest);
        assertEquals("2.0", latest.getRevision());
    }
View Full Code Here

TOP

Related Classes of org.apache.ivy.plugins.latest.ArtifactInfo

Copyright © 2018 www.massapicom. 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.