4 Replies Latest reply on Oct 22, 2015 7:04 AM by Miha Vitorovič

    Shrinkwrap and timestmaped snapshots

    Miha Vitorovič Newbie

      Hi all,

       

      I'm trying to build a war containing some snapshots. The repository contains timestamped snapshots, but the shrinkwrap resolver is not picking them up. It is searching for non-timestamped snapshots through all known repositories.

       

              final File[] libraries = Maven.resolver().loadPomFromFile("pom.xml", "jboss").importRuntimeDependencies()
                                                          .resolve().withTransitivity().asFile();
      

       

      And running tests say:

      Oct 22, 2015 9:07:05 AM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
      WARNING: Failed downloading org/openepics/names-client/maven-metadata.xml from http://gwteventservice.googlecode.com/svn/maven/repository-snapshots/. Reason: 
      org.eclipse.aether.transfer.MetadataNotFoundException: Could not find metadata org.openepics:names-client/maven-metadata.xml in gwteventservice-snapshots (http://gwteventservice.googlecode.com/svn/maven/repository-snapshots/)
      (etc...)
      

       

      Any help on what to do is greatly appreciated.

       

      Br, Miha