Well, that's not exactly what will happen.  Core pulls in freemarker
2.3.11, but labels annotations as optional, which means it will not
include 2.3.4 (through transitive dependence).

But regardless, you are right, they need to be the same.



On Jan 20, 2008 5:03 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
James Mitchell

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to