We use JPod library in our program. Now I'm trying to switch it to Maven, so I added these lines to the pom.xml
:
<dependency>
<groupId>de.intarsys.opensource</groupId>
<artifactId>jPod</artifactId>
<version>5.5.1</version>
</dependency>
However, after this Maven build fails with the following message:
The following artifacts could not be resolved: javax.media:jai-core:jar:1.1.3, com.sun.media:jai-codec:jar:1.1.3: Failure to find javax.media:jai-core:jar:1.1.3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
The problem is that JPod depends on some libraries, which list their dependencies as jai-core and jai-codec. However, there are no such artifacts, instead there are jai_core and jai_codec (with underscore instead of hyphen). I don't know, maybe they were renamed at some point.
You can see what I mean on this page: just click on link to jai-core in "Depends on" section.
Is there some way how I can "override" such broken dependencies? Or how would I proceed here at all? I'm generally unfamiliar with Maven, so a detailed answer would be better.