Closed dding3 closed 3 years ago
wrong in the dllib pom, the spark.version should be replaced https://oss.sonatype.org/content/repositories/snapshots/com/intel/analytics/bigdl/bigdl-dllib-spark_2.4.6/0.14.0-SNAPSHOT/bigdl-dllib-spark_2.4.6-0.14.0-20211019.031709-6.pom
<parent>
<artifactId>bigdl-parent-spark_${spark.version}</artifactId>
<groupId>com.intel.analytics.bigdl</groupId>
<version>0.14.0-SNAPSHOT</version>
</parent>
will check with Le
We have published new dependencies. Please pull newly artifact mvn package -U
.
Thanks for the support. The issue has been fixed.
add below lines to a brand new project pom.xml:
and when using "mvn clean package", there is error:
_Downloading from sonatype: https://oss.sonatype.org/content/groups/public/com/intel/analytics/bigdl/bigdl-dllib-spark_2.4.6/0.14.0-SNAPSHOT/maven-metadata.xml Downloaded from sonatype: https://oss.sonatype.org/content/groups/public/com/intel/analytics/bigdl/bigdl-dllib-spark_2.4.6/0.14.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 1.8 kB/s) Downloading from sonatype: https://oss.sonatype.org/content/groups/public/com/intel/analytics/bigdl/bigdl-parent-spark_$%7Bspark.version%7D/0.14.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype: https://oss.sonatype.org/content/groups/public/com/intel/analytics/bigdl/**bigdl-parent-spark_$%7Bspark.version%7D**/0.14.0-SNAPSHOT/**bigdl-parent-spark_$%7Bspark.version%7D**-0.14.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.272 s [INFO] Finished at: 2021-10-15T01:39:33-07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project groupByTest: Could not resolve dependencies for project org.apache.spark:groupByTest:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.intel.analytics.bigdl:bigdl-dllib-spark_2.4.6:jar:0.14.0-SNAPSHOT: Failed to read artifact descriptor for com.intel.analytics.bigdl:bigdl-dllib-spark2.4.6:jar:0.14.0-SNAPSHOT: Could not find artifact com.intel.analytics.bigdl:bigdl-parent-spark${spark.version}:pom:0.14.0-SNAPSHOT in sonatype (https://oss.sonatype.org/content/groups/public/) -> [Help 1]_
Seems like ${spark.version} in artifact id is not parsed in parent.pom