Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.0
Description
Steps to reproduce
1. Use the maven setting for DX Core project settings (not the settings for Magnolia staff) - https://wiki.magnolia-cms.com/display/DEV/Maven+setup#Mavensetup-DXCoreprojectsettings
2. Into your webapp pom add dependency to content-indexer 6.0
<dependency> <groupId>info.magnolia.solr</groupId> <artifactId>magnolia-content-indexer</artifactId> <version>6.0</version> </dependency>
Expected results
Project is build without error
Actual results
Build fails on getting the old com.sleepycat:je:jar:5.0.84
[ERROR] Failed to execute goal on project forge-community-sample: Could not resolve dependencies for project info.magnolia.forge:forge-community-sample:jar:1.0-SNAPSHOT: Failed to collect dependencies at info.magnolia.solr:magnolia-content-indexer:jar:6.0 -> edu.uci.ics:crawler4j:jar:4.4.0 -> com.sleepycat:je:jar:5.0.84: Failed to read artifact descriptor for com.sleepycat:je:jar:5.0.84: Could not transfer artifact com.sleepycat:je:pom:5.0.84 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [oracleReleases (http://download.oracle.com/maven, default, releases+snapshots)] -> [Help 1]
Workaround
<dependency> <groupId>info.magnolia.solr</groupId> <artifactId>magnolia-content-indexer</artifactId> <version>6.0</version> <exclusions> <exclusion> <groupId>com.sleepycat</groupId> <artifactId>je</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sleepycat</groupId> <artifactId>je</artifactId> <version>18.3.12</version> </dependency>
Development notes
The old com.sleepycat:je:jar:5.0.84 version is resolved from edu.uci.ics:crawler4j:jar:4.4.0, but it actually never gets into webapp because content-indexer module has newer dependency to je lib https://git.magnolia-cms.com/projects/ENTERPRISE/repos/solr-search-provider/browse/magnolia-content-indexer/pom.xml#46 , but maven still tries to get it during the build.
Checklists
Attachments
Issue Links
- mentioned in
-
Page Loading...