Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javax.media:jai-core:1.1.3 dependency is not found if using the nexus.jmix.io repository #156

Closed
gorbunkov opened this issue Aug 2, 2021 · 0 comments
Assignees
Labels
type: bug Something isn't working ver: 2.2.12
Milestone

Comments

@gorbunkov
Copy link
Contributor

gorbunkov commented Aug 2, 2021

Environment

  • YARG version: 2.2.11

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:

repositories {
    mavenCentral()
    maven {
        url 'https://nexus.jmix.io/repository/public'
    }
}

Run the ./gradlew assemble command.

AR: The error:

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.

@gorbunkov gorbunkov added the type: bug Something isn't working label Aug 2, 2021
@gorbunkov gorbunkov added this to the Release 2.2 milestone Aug 2, 2021
Desire456 pushed a commit that referenced this issue Aug 4, 2021
…und-using-jmix-repo

javax.media:jai-core:1.1.3 dependency is not found if using the nexus jmix.io repository #156
@lovtsovaik lovtsovaik assigned owlet1997 and unassigned lovtsovaik Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working ver: 2.2.12
Projects
None yet
Development

No branches or pull requests

5 participants