Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find javax.media:jai-core:1.1.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
- https://nexus.jmix.io/repository/public/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
Required by:
project : > com.haulmont.yarg:yarg:2.2.11 > org.apache.xmlgraphics:fop:2.4 > org.apache.xmlgraphics:fop-core:2.4
> Could not find com.sun.media:jai-codec:1.1.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/sun/media/jai-codec/1.1.3/jai-codec-1.1.3.pom
- https://nexus.jmix.io/repository/public/com/sun/media/jai-codec/1.1.3/jai-codec-1.1.3.pom
Required by:
project : > com.haulmont.yarg:yarg:2.2.11 > org.apache.xmlgraphics:fop:2.4 > org.apache.xmlgraphics:fop-core:2.4
The problem is that jai-core and jai-codec artifacts are not published to the Maven central repository (see the discussion). We may try to use the javax.media.jai:com.springsource.javax.media.jai.core depdendency instead.
Environment
Description of the bug or enhancement
Create new Java project. Create any empty java class. Add nexus.jmix.io maven repository to build.gradle file:
Run the
./gradlew assemble
command.AR: The error:
The problem is that jai-core and jai-codec artifacts are not published to the Maven central repository (see the discussion). We may try to use the
javax.media.jai:com.springsource.javax.media.jai.core
depdendency instead.