[JBoss JIRA] (SHRINKRES-302) shrinkwrap fails to resolve com.github.docker-java:docker-java:3.1.5
by Karel Piwko (Jira)
[ https://issues.redhat.com/browse/SHRINKRES-302?page=com.atlassian.jira.pl... ]
Karel Piwko commented on SHRINKRES-302:
---------------------------------------
I think the problem is that this plugin is not included in SWR bootstrap:
https://github.com/trustin/os-maven-plugin#issues-with-eclipse-m2e-or-oth...
I think you should be able to set the property prior executing resolver via {code}System.setProperty{code} as a workaround.
> shrinkwrap fails to resolve com.github.docker-java:docker-java:3.1.5
> --------------------------------------------------------------------
>
> Key: SHRINKRES-302
> URL: https://issues.redhat.com/browse/SHRINKRES-302
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Reporter: Max Andersen
> Priority: Blocker
>
> trying to resolve "com.github.docker-java:docker-java:3.1.5" you get:
> {code:java}
> Feb 03, 2020 11:38:28 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
> WARNING: Failed downloading io/netty/netty-transport-native-unix-common/4.1.31.Final/netty-transport-native-unix-common-4.1.31.Final-$%7Bos.detected.name%7D-$%7Bos.detected.arch%7D.jar from https://jcenter.bintray.com/. Reason:
> org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-transport-native-unix-common:jar:${os.detected.name}-${os.detected.arch}:4.1.31.Final in jcenter (https://jcenter.bintray.com/)
> Feb 03, 2020 11:38:28 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
> WARNING: Failed downloading io/netty/netty-tcnative/2.0.19.Final/netty-tcnative-2.0.19.Final-$%7Bos.detected.classifier%7D.jar from https://jcenter.bintray.com/. Reason:
> org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-tcnative:jar:${os.detected.classifier}:2.0.19.Final in jcenter (https://jcenter.bintray.com/)
> Feb 03, 2020 11:38:32 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
> WARNING: Failed downloading io/netty/netty-tcnative/2.0.19.Final/netty-tcnative-2.0.19.Final-$%7Bos.detected.classifier%7D.jar from https://repo.maven.apache.org/maven2/. Reason:
> org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-tcnative:jar:${os.detected.classifier}:2.0.19.Final in central (https://repo.maven.apache.org/maven2)
> Feb 03, 2020 11:38:32 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
> WARNING: Failed downloading io/netty/netty-transport-native-unix-common/4.1.31.Final/netty-transport-native-unix-common-4.1.31.Final-$%7Bos.detected.name%7D-$%7Bos.detected.arch%7D.jar from https://repo.maven.apache.org/maven2/. Reason:
> org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-transport-native-unix-common:jar:${os.detected.name}-${os.detected.arch}:4.1.31.Final in central (https://repo.maven.apache.org/maven2)
> {code}
> it works using acegi to resolve and plain maven so not sure why it fails in mavenresolver - should ${os.detected.arch} be set somewhere to work?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (SHRINKRES-302) shrinkwrap fails to resolve com.github.docker-java:docker-java:3.1.5
by Max Andersen (Jira)
Max Andersen created SHRINKRES-302:
--------------------------------------
Summary: shrinkwrap fails to resolve com.github.docker-java:docker-java:3.1.5
Key: SHRINKRES-302
URL: https://issues.redhat.com/browse/SHRINKRES-302
Project: ShrinkWrap Resolvers
Issue Type: Bug
Reporter: Max Andersen
trying to resolve "com.github.docker-java:docker-java:3.1.5" you get:
{code:java}
Feb 03, 2020 11:38:28 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
WARNING: Failed downloading io/netty/netty-transport-native-unix-common/4.1.31.Final/netty-transport-native-unix-common-4.1.31.Final-$%7Bos.detected.name%7D-$%7Bos.detected.arch%7D.jar from https://jcenter.bintray.com/. Reason:
org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-transport-native-unix-common:jar:${os.detected.name}-${os.detected.arch}:4.1.31.Final in jcenter (https://jcenter.bintray.com/)
Feb 03, 2020 11:38:28 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
WARNING: Failed downloading io/netty/netty-tcnative/2.0.19.Final/netty-tcnative-2.0.19.Final-$%7Bos.detected.classifier%7D.jar from https://jcenter.bintray.com/. Reason:
org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-tcnative:jar:${os.detected.classifier}:2.0.19.Final in jcenter (https://jcenter.bintray.com/)
Feb 03, 2020 11:38:32 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
WARNING: Failed downloading io/netty/netty-tcnative/2.0.19.Final/netty-tcnative-2.0.19.Final-$%7Bos.detected.classifier%7D.jar from https://repo.maven.apache.org/maven2/. Reason:
org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-tcnative:jar:${os.detected.classifier}:2.0.19.Final in central (https://repo.maven.apache.org/maven2)
Feb 03, 2020 11:38:32 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
WARNING: Failed downloading io/netty/netty-transport-native-unix-common/4.1.31.Final/netty-transport-native-unix-common-4.1.31.Final-$%7Bos.detected.name%7D-$%7Bos.detected.arch%7D.jar from https://repo.maven.apache.org/maven2/. Reason:
org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-transport-native-unix-common:jar:${os.detected.name}-${os.detected.arch}:4.1.31.Final in central (https://repo.maven.apache.org/maven2)
{code}
it works using acegi to resolve and plain maven so not sure why it fails in mavenresolver - should ${os.detected.arch} be set somewhere to work?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months