struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Sutton" <al.sut...@alsutton.com>
Subject Jar clash in the maven build
Date Sun, 20 Jan 2008 10:03:22 GMT
Just to make things more interesting we have entered jar hell :(.

Maven is picking up struts-annotations which has a freemarker-2.3.4 
dependency and inserting it into the classpath before the S2.1 specified 
2.3.11 dependency thus giving a compile and run classpath of;

....
 ....m2\repository\freemarker\freemarker\2.3.4\freemarker-2.3.4.jar
 ....m2\repository\org\freemarker\freemarker\2.3.11\freemarker-2.3.11.jar
...

Which of means that;

a) We can't use the latest freemarker because the struts-annotations 
dependency will always slip the 2.3.4 one in before us.
b) We have two sets of freemarker classes on the classpath


Now I can see the problem is because S-Ann is using 
<groupId>freemarker</groupId> and S2.1 is using 
<groupId>org.freemarker</groupId>, but which one is the standard we should 
be using and which should be changed?

Al.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message