Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-44

ShrinkRes 1.0.0-X: Update Aether to 1.13.1

    XMLWordPrintable

    Details

    • Type: Component Upgrade
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0-beta-7
    • Fix Version/s: None
    • Component/s: maven
    • Labels:
      None

      Description

      Aether should be updated to the latest version, as it was done in upstream.

      This will make packaging of ShrinkWrap Maven resolver in Fedora much easier.

      Due to Aether Maven repository changes, a fix for Maven Repository types is required (
      https://gist.github.com/1362504):

      aused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at org.jboss.arquillian.container.test.impl.client.deployment.AnnotationDeploymentScenarioGenerator.invoke(AnnotationDeploymentScenarioGenerator.java:156)
      	... 48 more
      Caused by: java.lang.RuntimeException: Could not create new descriptor instance
      	at org.jboss.shrinkwrap.resolver.api.DependencyBuilderInstantiator.createFromUserView(DependencyBuilderInstantiator.java:101)
      	at org.jboss.shrinkwrap.resolver.api.DependencyResolvers.use(DependencyResolvers.java:39)
      	at org.scalabox.lift.helloworld.HelloWorldTest$.deployment(HelloWorldTest.scala:93)
      	at org.scalabox.lift.helloworld.HelloWorldTest.deployment(HelloWorldTest.scala)
      	... 53 more
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      	at org.jboss.shrinkwrap.resolver.api.DependencyBuilderInstantiator.createFromUserView(DependencyBuilderInstantiator.java:96)
      	... 56 more
      Caused by: java.lang.IllegalArgumentException: No manager available for local repository /Users/g/.m2/repository of type enhanced using the available factories EnhancedLocalRepositoryManagerFactory, SimpleLocalRepositoryManagerFactory
      	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.newLocalRepositoryManager(DefaultRepositorySystem.java:454)
      	at org.jboss.shrinkwrap.resolver.impl.maven.MavenManagerBuilder.localRepositoryManager(MavenManagerBuilder.java:106)
      	at org.jboss.shrinkwrap.resolver.impl.maven.MavenRepositorySystem.getSession(MavenRepositorySystem.java:79)
      	at org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl.<init>(MavenBuilderImpl.java:110)
      	... 61 more
      Caused by: org.sonatype.aether.repository.NoLocalRepositoryManagerException: No manager available for local repository /Users/g/.m2/repository of type enhanced using the available factories EnhancedLocalRepositoryManagerFactory, SimpleLocalRepositoryManagerFactory
      	at org.sonatype.aether.impl.internal.DefaultLocalRepositoryProvider.newLocalRepositoryManager(DefaultLocalRepositoryProvider.java:139)
      	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.newLocalRepositoryManager(DefaultRepositorySystem.java:450)
      

        Attachments

          Activity

            People

            Assignee:
            kpiwko Karel Piwko
            Reporter:
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: