No, our antivirus is configured to trust nothing;-) we didn't configure it to
trust the old java and so the new java isn't configured as trustet either.
But I'll try after I found an admin who does ist for me (I'm working in a
bank.....)

Today we noticed while checking the log output of running mvn with -X option
that compiler:compile used a different classpath with JDK 1.5 and 1.6

The dependencies are not only loaded in different order, but some of the
transitive dependencies are missing. So there must be a classloading or
dependency resolution difference between the different versions of the JDK.

Here is the example of the classpath of one of the smaller submodules (as
you can see oro-2.0.7.jar is not listet when using JDK 6):

Maven 2.0.7, JDK 6 Update 13:

[DEBUG] Classpath:
[D:\daten\clearcase\snap\LEgO_DevMerge\LPROFI_APP01\lego\LegoCore\modell\target\classes
 c:\Daten\repository\lbank\lidos\lidos-utils\1.16.2\lidos-utils-1.16.2.jar
 c:\Daten\repository\lbank\externPruefziffer\iban\1.1.0\iban-1.1.0.jar
 c:\Daten\repository\commons-math\commons-math\1.2\commons-math-1.2.jar

c:\Daten\repository\lbank\lidos\ejb\lidos-ejb\1.16.2\lidos-ejb-1.16.2-client.jar
 c:\Daten\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar

D:\daten\clearcase\snap\LEgO_DevMerge\LPROFI_APP01\lego\LegoCore\common\target\classes

c:\Daten\repository\org\hibernate\hibernate\3.2.4.sp1\hibernate-3.2.4.sp1.jar

c:\Daten\repository\commons-validator\commons-validator\1.1.4\commons-validator-1.1.4.jar

c:\Daten\repository\commons-collections\commons-collections\3.1\commons-collections-3.1.jar
 c:\Daten\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar
 c:\Daten\repository\logkit\logkit\1.0.1\logkit-1.0.1.jar
 c:\Daten\repository\asm\asm\1.5.3\asm-1.5.3.jar

c:\Daten\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar

c:\Daten\repository\lbank\interchange\interchange\1.2.7\interchange-1.2.7.jar

c:\Daten\repository\avalon-framework\avalon-framework\4.1.3\avalon-framework-4.1.3.jar
 c:\Daten\repository\lbank\functions\functions\1.3.0\functions-1.3.0.jar

c:\Daten\repository\commons-logging\commons-logging\1.1\commons-logging-1.1.jar
 c:\Daten\repository\net\sf\ehcache\ehcache\1.2.3\ehcache-1.2.3.jar
 c:\Daten\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar

c:\Daten\repository\lbank\lidos\ejb\lidos-ejb-client-remote\1.16.2\lidos-ejb-client-remote-1.16.2.jar
 c:\Daten\repository\lbank\mbf\mbf-common\1.6.3\mbf-common-1.6.3.jar
 c:\Daten\repository\asm\asm-attrs\1.5.3\asm-attrs-1.5.3.jar
 c:\Daten\repository\cglib\cglib\2.1_3\cglib-2.1_3.jar
 c:\Daten\repository\jdom\jdom\1.0\jdom-1.0.jar
 c:\Daten\repository\lbank\framework\framework\1.3.6\framework-1.3.6.jar
 c:\Daten\repository\commons-lang\commons-lang\2.3\commons-lang-2.3.jar
 c:\Daten\repository\javax\transaction\jta\1.0.1B\jta-1.0.1B.jar]
[DEBUG] Output directory:
D:\daten\clearcase\snap\LEgO_DevMerge\LPROFI_APP01\lego\LegoCore\modell\target\classes


Maven 2.0.7, JDK 5 Update 11:

[DEBUG] Classpath:
[D:\daten\clearcase\snap\LEgO_DevMerge\LPROFI_APP01\lego\LegoCore\modell\target\classes
 c:\Daten\repository\javax\transaction\jta\1.0.1B\jta-1.0.1B.jar
 c:\Daten\repository\lbank\framework\framework\1.3.6\framework-1.3.6.jar

c:\Daten\repository\lbank\interchange\interchange\1.2.7\interchange-1.2.7.jar
 c:\Daten\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar
 c:\Daten\repository\logkit\logkit\1.0.1\logkit-1.0.1.jar

c:\Daten\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar
 c:\Daten\repository\asm\asm\1.5.3\asm-1.5.3.jar
 c:\Daten\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar

c:\Daten\repository\commons-collections\commons-collections\3.1\commons-collections-3.1.jar

c:\Daten\repository\avalon-framework\avalon-framework\4.1.3\avalon-framework-4.1.3.jar
 c:\Daten\repository\jdom\jdom\1.0\jdom-1.0.jar
 c:\Daten\repository\lbank\externPruefziffer\iban\1.1.0\iban-1.1.0.jar
 c:\Daten\repository\net\sf\ehcache\ehcache\1.2.3\ehcache-1.2.3.jar
 c:\Daten\repository\commons-lang\commons-lang\2.3\commons-lang-2.3.jar

c:\Daten\repository\commons-logging\commons-logging\1.1\commons-logging-1.1.jar
 c:\Daten\repository\oro\oro\2.0.7\oro-2.0.7.jar
 c:\Daten\repository\lbank\lidos\lidos-utils\1.16.2\lidos-utils-1.16.2.jar
 c:\Daten\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar
 c:\Daten\repository\cglib\cglib\2.1_3\cglib-2.1_3.jar
 c:\Daten\repository\asm\asm-attrs\1.5.3\asm-attrs-1.5.3.jar

c:\Daten\repository\lbank\lidos\ejb\lidos-ejb\1.16.2\lidos-ejb-1.16.2-client.jar

c:\Daten\repository\commons-validator\commons-validator\1.1.4\commons-validator-1.1.4.jar
 c:\Daten\repository\lbank\mbf\mbf-common\1.6.3\mbf-common-1.6.3.jar

c:\Daten\repository\org\hibernate\hibernate\3.2.4.sp1\hibernate-3.2.4.sp1.jar
 c:\Daten\repository\lbank\functions\functions\1.3.0\functions-1.3.0.jar
 c:\Daten\repository\commons-math\commons-math\1.2\commons-math-1.2.jar

c:\Daten\repository\lbank\lidos\ejb\lidos-ejb-client-remote\1.16.2\lidos-ejb-client-remote-1.16.2.jar

D:\daten\clearcase\snap\LEgO_DevMerge\LPROFI_APP01\lego\LegoCore\common\target\classes]
[DEBUG] Output directory:
D:\daten\clearcase\snap\LEgO_DevMerge\LPROFI_APP01\lego\LegoCore\modell\target\classes

-- 
View this message in context: 
http://www.nabble.com/Slow-maven-compile-after-upgrading-JDK-from-1.5-to-1.6-tp23501164p23523524.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to