[
https://issues.apache.org/jira/browse/MENFORCER-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460712#comment-17460712
]
Michael Osipov commented on MENFORCER-407:
------------------------------------------
The error is quite obvious, did you actually look at it?
https://search.maven.org/artifact/net.sf.ehcache/sizeof-agent and
{noformat}
Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed
to collect dependencies at
fr.pilato.elasticsearch.crawler:fscrawler-tika:jar:2.9-SNAPSHOT ->
org.apache.tika:tika-parser-scientific-module:jar:2.1.0 ->
edu.ucar:netcdf4:jar:4.5.5 -> edu.ucar:cdm:jar:4.5.5 ->
net.sf.ehcache:ehcache-core:jar:2.6.2 -> net.sf.ehcache:sizeof-agent:jar:1.0.1
{noformat}
{noformat}
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not
transfer artifact net.sf.ehcache:sizeof-agent:pom:1.0.1 from/to
maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories:
[mvmsearch (http://www.mvnsearch.org/maven2/, default, releases+snapshots),
Oracle (http://download.oracle.com/maven, default, releases+snapshots),
terracotta-snapshots (http://www.terracotta.org/download/reflector/snapshots,
default, snapshots), terracotta-releases
(http://www.terracotta.org/download/reflector/releases, default, releases),
jboss-releases (http://repository.jboss.org/nexus/content/groups/public-jboss,
default, releases), Java.net Maven 2 (http://download.java.net/maven/2,
default, releases)]
{noformat}
> Enforcer 3.0.0 breaks with Maven 3.8.4
> --------------------------------------
>
> Key: MENFORCER-407
> URL: https://issues.apache.org/jira/browse/MENFORCER-407
> Project: Maven Enforcer Plugin
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 3.0.0
> Reporter: David Pilato
> Priority: Major
> Fix For: waiting-for-feedback
>
> Attachments: enforcer-3.0.0.log, enforcer.3.0.0-M3.log
>
>
> Here is the situation. I'm trying to [upgrade enforcer from 3.0.0-M3 to
> 3.0.0|https://github.com/dadoonet/fscrawler/pull/1214].
>
> Everything worked well on my laptop with Maven 3.5.3. So I looked at the
> version used by Github actions and saw that it's using Maven 3.8.4.
> As soon as I upgraded my local version of Maven to 3.8.4, I started to hit
> the same exact issue. It seems to try to pull
> net.sf.ehcache:sizeof-agent:1.0.1.
> If I revert Enforcer to 3.0.0-M3 with Maven 3.8.4, I can run without any
> issue mvn enforcer:enforce.
> So I suspect that the combination of both upgrades is triggering something.
> I noted also that 3.0.0 now tries to enforce as well dependencies marked as
> provided. Might be the reason of this.
> I attached the full logs when running with 3.0.0 and 3.0.0-M3.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)