Changeset 1196 for trunk/docx4j/pom.xml


Ignore:
Timestamp:
08/26/10 06:27:13 (21 months ago)
Author:
jharrop
Message:

Ensure docx4j can be built using either ant or maven, with only one of the JAXB implementations (Java 6 or RI) required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/pom.xml

    r1190 r1196  
    5151                                                                <source>src/pptx4j/java</source> 
    5252                                                                <source>src/svg</source> 
     53                                                                <!--source>src/sun</source--> 
    5354                                                        </sources> 
    5455                                                </configuration> 
     
    6263                                        <target>1.6</target> 
    6364                                        <verbose>false</verbose> 
     65                                        <!--<maxmemory>512m</maxmemory>  --> 
     66                                        <!-- try to help maven to find package com.sun.xml.internal.bind.marshaller:  
     67                               <bootclasspath>${java.home}/lib/rt.jar</bootclasspath> 
     68                               but this doesn't help 
     69                            --> 
    6470                                </configuration> 
    6571                        </plugin> 
     
    130136                        </dependency>  --> 
    131137                        <!--  stax 1.2.0 grabs 1.0.1(!); jaxb would grab 1.0.2 (where from?) --> 
    132          
     138 
     139<!-- Uncomment this for Java 5   
    133140                        <dependency> 
    134141                                <groupId>javax.xml.bind</groupId> 
     
    142149                                <version>2.1.3</version>  
    143150                                 
    144                         </dependency>  <!--  nothing newer in the repository! --> 
     151                        </dependency> 
     152  -->                              
     153                        <!--  nothing newer in the repository! --> 
    145154         
    146155                <dependency> 
     
    378387                </dependency> 
    379388 
     389                <!-- Ensure both the Java 6 and RI interfaces are present, 
     390                     even if the user has just one. 
     391                     NB: this (or an added source location containing them) is 
     392                     necessary (at least for Maven 2.2.1) since without this, 
     393                     Maven doesn't find the Java 6 copy in rt.jar -->   
     394                <dependency> 
     395                        <groupId>com.sun.xml</groupId> 
     396                        <artifactId>jaxb-NamespacePrefixMapper-interfaces</artifactId> 
     397                        <version>2.0.0</version>                                 
     398                </dependency>  
     399                 
     400 
    380401        </dependencies> 
    381402        <distributionManagement> 
Note: See TracChangeset for help on using the changeset viewer.