You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mi...@apache.org on 2008/09/16 21:39:34 UTC

svn commit: r696026 - /openjpa/branches/1.2.x/openjpa-project/pom.xml

Author: mikedd
Date: Tue Sep 16 12:39:34 2008
New Revision: 696026

URL: http://svn.apache.org/viewvc?rev=696026&view=rev
Log:
OPENJPA-711 merging revision 695674 to 1.2.x branch

Modified:
    openjpa/branches/1.2.x/openjpa-project/pom.xml

Modified: openjpa/branches/1.2.x/openjpa-project/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.2.x/openjpa-project/pom.xml?rev=696026&r1=696025&r2=696026&view=diff
==============================================================================
--- openjpa/branches/1.2.x/openjpa-project/pom.xml (original)
+++ openjpa/branches/1.2.x/openjpa-project/pom.xml Tue Sep 16 12:39:34 2008
@@ -80,6 +80,24 @@
         <docbook.version>1.67.2</docbook.version>
         <local.repository>${settings.localRepository}</local.repository>
         
+        <!-- 
+            Java imaging apis are needed to include images in a PDF.
+            JIMI or JAI may be used. Neither is available in a maven
+            repository and should be downloaded and installed manually
+            to your local repository.
+
+            ie :
+            $ mvn install:install-file -Dfile=jai_core.jar \
+              -DgroupId=javax.media -DartifactId=jai-core \ 
+              -Dversion=1.1.3 -Dpackaging=jar
+
+            Alternatively if you have installed the JAI artifacts to an 
+            internal repository you can specify it with the 
+            -Djai.maven.repos=REPOS_URL command line argument.
+            -->
+        <jai.maven.repo>http://not.a.real.repository</jai.maven.repo>
+        <jai.version>1.1.3</jai.version>
+
         <!-- authentication for nightly uploads -->
         <nightly.user.name>${user.name}</nightly.user.name>
         <nightly.password>passw0rd</nightly.password>
@@ -289,6 +307,18 @@
                             <version>4.4</version>
                             <scope>runtime</scope>
                         </dependency>
+                        <dependency>
+                            <groupId>javax.media</groupId>
+                            <artifactId>jai_core</artifactId>
+                            <version>${jai.version}</version>
+                            <scope>runtime</scope>
+                        </dependency>
+                        <dependency>
+                            <groupId>javax.media</groupId>
+                            <artifactId>jai_codec</artifactId>
+                            <version>${jai.version}</version>
+                            <scope>runtime</scope>
+                        </dependency>
                         </dependencies>
                     </plugin>
                 </plugins>
@@ -306,6 +336,13 @@
                     <url>http://agilejava.com/maven</url>
                 </pluginRepository>
             </pluginRepositories>
+            <repositories>
+                <repository>
+                    <id>jai.repository</id>
+                    <name>JAI Repository (indirectly used by Docbook plugin)</name>
+                    <url>${jai.maven.repo}</url>
+                </repository>
+            </repositories>
         </profile>
         <!-- 
           Upload distribution files, javadoc and manual to openjpa.apache.org/builds/latest.