[ 
https://issues.apache.org/jira/browse/FOP-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210093#comment-17210093
 ] 

Jörg Weske commented on FOP-2889:
---------------------------------

As a workaround until the new release is available you should be able to 
*exclude* the problematic artifacts like this:
{code:java}
<dependency>
    <groupId>org.apache.xmlgraphics</groupId>
    <artifactId>fop</artifactId>
    <version>2.5</version>
    <exclusions>
        <exclusion>
            <groupId>javax.media</groupId>
            <artifactId>jai-core</artifactId>
        </exclusion>
        <exclusion>
            <groupId>com.sun.media</groupId>
            <artifactId>jai-codec</artifactId>
        </exclusion>
    </exclusions>
</dependency>
{code}

> Missing maven artifacts: jai-core and jai-codec
> -----------------------------------------------
>
>                 Key: FOP-2889
>                 URL: https://issues.apache.org/jira/browse/FOP-2889
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Jörg Weske
>            Assignee: Simon Steiner
>            Priority: Major
>             Fix For: trunk
>
>
> +*Problem:*+ When trying to include FOP 2.4 in a Java Maven project, the 
> following artifacts cannot be found through maven-central:
> {noformat}
> <dependency>
>       <groupId>javax.media</groupId>
>       <artifactId>jai-core</artifactId>
>       <version>1.1.3</version>
> </dependency>
> <dependency>
>       <groupId>com.sun.media</groupId>
>       <artifactId>jai-codec</artifactId>
>       <version>1.1.3</version>
> </dependency>{noformat}
> As a result, building the project is impossible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to