How to include JAI in Maven build?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to include JAI in Maven build?

Theresa Jayne Forster

Just wondering if anyone has worked out how to get Jai working with FOP in a standalone Jar file?

 

Even if you include the JAI jars, there are the dll’s as well,  has anyone got an example of a Maven POM file to show this working?

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer

 

Reply | Threaded
Open this post in threaded view
|

Re: How to include JAI in Maven build?

rsargent
We have this dependency in one of our poms, and it brings in jai

        <dependency>
            <groupId>javax.media.jai</groupId>
            <artifactId>jai-core</artifactId>
            <version>1.1.2</version>
        </dependency>


On 02/13/2012 08:14 AM, Theresa Jayne Forster wrote:

Just wondering if anyone has worked out how to get Jai working with FOP in a standalone Jar file?

 

Even if you include the JAI jars, there are the dll’s as well,  has anyone got an example of a Maven POM file to show this working?

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer

 

Reply | Threaded
Open this post in threaded view
|

RE: How to include JAI in Maven build?

Theresa Jayne Forster

I tried that, any ideas which repository you get it from?

 

Downloading: http://mbari-maven-repository.googlecode.com/svn/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.pom

Downloading: http://repo1.maven.org/maven2/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.pom

Downloading: http://www.mygrid.org.uk/maven/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.pom

[WARNING] Missing POM for javax.media.jai:jai-core:jar:1.1.2

[WARNING] Missing POM for javax.media.jai:jai-core:jar:1.1.2

Downloading: http://mbari-maven-repository.googlecode.com/svn/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.jar

Downloading: http://repo1.maven.org/maven2/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.jar

Downloading: http://www.mygrid.org.uk/maven/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.jar

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 6.075s

[INFO] Finished at: Tue Feb 14 09:36:53 GMT 2012

[INFO] Final Memory: 5M/70M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project FopEngine: Failed to create assembly: Failed to resolve dependencies for project: uk.co.inbrand:FopEngine:jar:1.0: Missing:

[ERROR] ----------

[ERROR] 1) javax.media.jai:jai-core:jar:1.1.2

[ERROR]

[ERROR] Try downloading the file manually from the project website.

 

Kindest regards

 


Theresa Forster

Senior Software Developer

From: Rob Sargent [mailto:[hidden email]]
Sent: 13 February 2012 15:42
To: [hidden email]
Subject: Re: How to include JAI in Maven build?

 

We have this dependency in one of our poms, and it brings in jai

        <dependency>
            <groupId>javax.media.jai</groupId>
            <artifactId>jai-core</artifactId>
            <version>1.1.2</version>
        </dependency>


On 02/13/2012 08:14 AM, Theresa Jayne Forster wrote:

Just wondering if anyone has worked out how to get Jai working with FOP in a standalone Jar file?

 

Even if you include the JAI jars, there are the dll’s as well,  has anyone got an example of a Maven POM file to show this working?

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer


 

Reply | Threaded
Open this post in threaded view
|

Re: How to include JAI in Maven build?

Tobias van Treeck
try

  <groupId>javax.media</groupId>
  <artifactId>jai-core</artifactId>
  <version>1.1.3</version>

getting this one from jboss

2012/2/14 Theresa Jayne Forster <[hidden email]>:

> I tried that, any ideas which repository you get it from?
>
>
>
> Downloading:
> http://mbari-maven-repository.googlecode.com/svn/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.pom
>
> Downloading:
> http://repo1.maven.org/maven2/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.pom
>
> Downloading:
> http://www.mygrid.org.uk/maven/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.pom
>
> [WARNING] Missing POM for javax.media.jai:jai-core:jar:1.1.2
>
> [WARNING] Missing POM for javax.media.jai:jai-core:jar:1.1.2
>
> Downloading:
> http://mbari-maven-repository.googlecode.com/svn/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.jar
>
> Downloading:
> http://repo1.maven.org/maven2/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.jar
>
> Downloading:
> http://www.mygrid.org.uk/maven/repository/javax/media/jai/jai-core/1.1.2/jai-core-1.1.2.jar
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 6.075s
>
> [INFO] Finished at: Tue Feb 14 09:36:53 GMT 2012
>
> [INFO] Final Memory: 5M/70M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single
> (default-cli) on project FopEngine: Failed to create assembly: Failed to
> resolve dependencies for project: uk.co.inbrand:FopEngine:jar:1.0: Missing:
>
> [ERROR] ----------
>
> [ERROR] 1) javax.media.jai:jai-core:jar:1.1.2
>
> [ERROR]
>
> [ERROR] Try downloading the file manually from the project website.
>
>
>
> Kindest regards
>
>
>
>
> Theresa Forster
>
> Senior Software Developer
>
> From: Rob Sargent [mailto:[hidden email]]
> Sent: 13 February 2012 15:42
> To: [hidden email]
> Subject: Re: How to include JAI in Maven build?
>
>
>
> We have this dependency in one of our poms, and it brings in jai
>
>         <dependency>
>             <groupId>javax.media.jai</groupId>
>             <artifactId>jai-core</artifactId>
>             <version>1.1.2</version>
>         </dependency>
>
>
> On 02/13/2012 08:14 AM, Theresa Jayne Forster wrote:
>
> Just wondering if anyone has worked out how to get Jai working with FOP in a
> standalone Jar file?
>
>
>
> Even if you include the JAI jars, there are the dll’s as well,  has anyone
> got an example of a Maven POM file to show this working?
>
>
>
>
>
> Kindest regards
>
>
>
>
> Theresa Forster
>
> Senior Software Developer
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]