Showing results for 
Search instead for 
Did you mean: 

wro4j is throwing version conflict for java 11 with 2105

0 Kudos

I am using here wro4j to minimize the js, and we are using the hybris store front : but we are getting this kind of build error in our local :

Build Error :

[artifact:mvn] [ERROR] Failed to execute goal on project *****storefront: Could not resolve dependencies for project de.hybris.platform:*****storefront:jar:

Failed to collect dependencies for de.hybris.platform:*****storefront:jar:

Could not resolve version conflict among


-> org.webjars.npm:jshint:jar:2.11.0

-> org.webjars.npm:minimatch:jar:[3.0.2,3.1),


-> org.webjars.npm:jshint:jar:2.11.0

-> org.webjars.npm:cli:jar:[1.0.0,1.1)

-> org.webjars.npm:glob:jar:[7.1.1,8)

-> org.webjars.npm:minimatch:jar:[3.1.1,4)] -> [Help 1]

[artifact:mvn] [ERROR]

[artifact:mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[artifact:mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.

[artifact:mvn] [ERROR]

[artifact:mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:

[artifact:mvn] [ERROR] [Help 1]

[artifact:mvn] Java Result: 1

Buildcallbacks.xml :

<target name="minimizeCssAndJs" description="Minimize CSS and JS from the project">

<artifact:mvn mavenHome="${env.M2_HOME}" fork="true"


<jvmarg value="-Dmaven.multiModuleProjectDirectory=${env.M2_HOME}"/>

<arg value="clean"/>

<arg value="package"/>












<id>ant all</id>



















We are running in java 11 with the hybris version 2105.

I am very new to the commerce cloud, if would be great if some expert help me to resolve this issue.

Accepted Solutions (0)

Answers (0)