jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Pfister <dpfis...@adobe.com>
Subject Re: [jr3 Microkernel] compiler settings in pom.xml
Date Tue, 31 Jan 2012 10:54:53 GMT
Hi Felix,

On Jan 31, 2012, at 9:15 AM, Felix Meschberger wrote:

> Hi,
> 
> Am 30.01.2012 um 17:54 schrieb Dominique Pfister:
> 
>> Hi,
>> 
>> Just stumbled across this compilation setting in microkernel's pom.xml:
>> 
>>            <plugin>
>>                <artifactId>maven-compiler-plugin</artifactId>
>>                <version>2.3.2</version>
>>                <configuration>
>>                    <source>1.5</source>
>>                    <target>1.5</target>
>>                </configuration>
>>            </plugin>
>> 
>> When actually _using_ a 1.5 jdk (on Mac OS X this can be done with the  
>> Java Preferences tool), the maven-compiler-plugin will report 12  
>> errors due to use of Java 1.6 methods.
> 
> Using the animal sniffer plugin would help, yet ...

Cool, just gave it a try:

[ERROR] Undefined reference: java/io/IOException.<init>(Ljava/lang/Throwable;)V in /Users/dpfister/Projects/microkernel/target/classes/org/apache/jackrabbit/mk/blobs/BlobStoreInputStream.class
[ERROR] Undefined reference: java/util/Arrays.copyOfRange([Ljava/lang/Object;IILjava/lang/Class;)[Ljava/lang/Object;
in /Users/dpfister/Projects/microkernel/target/classes/org/apache/jackrabbit/mk/index/BTreeLeaf.class
[ERROR] Undefined reference: java/util/Arrays.copyOfRange([Ljava/lang/Object;IILjava/lang/Class;)[Ljava/lang/Object;
in /Users/dpfister/Projects/microkernel/target/classes/org/apache/jackrabbit/mk/index/BTreeNode.class
[ERROR] Undefined reference: java/io/PipedInputStream.<init>(I)V in /Users/dpfister/Projects/microkernel/target/classes/org/apache/jackrabbit/mk/util/MemorySockets$PipedSocket.class

Good to know, thanks!
Dominique


Mime
View raw message