You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Heuer (Jira)" <ji...@apache.org> on 2020/06/28 05:13:00 UTC
[jira] [Commented] (MSHADE-372) Shade plugin dependencies not
resolvable from snapshot repository
[ https://issues.apache.org/jira/browse/MSHADE-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17147211#comment-17147211 ]
Michael Heuer commented on MSHADE-372:
--------------------------------------
See e.g.
[https://amplab.cs.berkeley.edu/jenkins/job/cannoli/HADOOP_VERSION=2.7.5,SCALA_VERSION=2.11,SPARK_VERSION=2.4.6,label=ubuntu/lastBuild/console]
[https://amplab.cs.berkeley.edu/jenkins/job/cannoli/HADOOP_VERSION=2.7.5,SCALA_VERSION=2.12,SPARK_VERSION=2.4.6,label=ubuntu/2032/console]
> Shade plugin dependencies not resolvable from snapshot repository
> -----------------------------------------------------------------
>
> Key: MSHADE-372
> URL: https://issues.apache.org/jira/browse/MSHADE-372
> Project: Maven Shade Plugin
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Michael Heuer
> Priority: Major
>
> Given
> {code:xml}
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-shade-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.bdgenomics.adam</groupId>
> <artifactId>adam-shade-spark2_${scala.version.prefix}</artifactId>
> <version>${adam.version}</version>
> </dependency>
> </dependencies>
> {code}
> With a snapshot version (e.g. 0.32.0-SNAPSHOT) resolution of this dependency appears to be looking in the wrong snapshot repository
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade (default) on project cannoli-assembly-spark2_2.12: Execution default of goal org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade failed: Plugin org.apache.maven.plugins:maven-shade-plugin:3.2.0 or one of its dependencies could not be resolved: Failure to find org.bdgenomics.adam:adam-shade-spark2_2.12:jar:0.32.0-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [Help 1]
> {code}
> org.bdgenomics.adam:adam-shade-spark2_${scala.version.prefix}:0.32.0-SNAPSHOT is in fact present in the Sonatype snapshots repository
> https://oss.sonatype.org/content/repositories/snapshots/org/bdgenomics/adam/adam-shade-spark2_2.12/0.32.0-SNAPSHOT/
> This snapshot repository is included in our parent pom via oss-parent
> {code:xml}
> <parent>
> <groupId>org.sonatype.oss</groupId>
> <artifactId>oss-parent</artifactId>
> <version>9</version>
> </parent>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)