Hi Simon,

There's another discussion on this here:
http://www.mail-archive.com/[email protected]/msg32495.html

These are basically the main points of the discussion:

pros of an external dependency
  * no duplicate code
  * other projects can use it

cons of an external dependency
  * fundamental projects (core, trinidad) would then depend on an extra jar
  * placing code shared between projects into a normal jar means that
   upgrading one project may force the shared jar to be updated,
   which can break the other project - unless we enforce 100% binary and 
semantic
   compatibility between releases of that jar.

I hope this helps you.

I'm a fairly new member of this community.  Perhaps someone else can give a 
deeper insight on this?

Best Regards,
Paul Rivera

--- On Mon, 9/29/08, Simon Lessard <[EMAIL PROTECTED]> wrote:
From: Simon Lessard <[EMAIL PROTECTED]>
Subject: Re: MyFaces shared question
To: "MyFaces Development" <[email protected]>, [EMAIL PROTECTED]
Date: Monday, September 29, 2008, 8:43 AM

Hi Paul,

Thanks for the link, it makes the whole thing clearer. However, is that point 
still debatable? I quite disagree about the conclusion about forcing the 
upgrade of the core if you upgrade Tomahawk. Upgrading Tomahawk might force the 
upgrade of shared, but not necessarily if the former doesn't depend on a latest 
change to shared. Furthermore you don't need to upgrade core if you upgrade 
shared if the latter enforce backward compatibility.


Personally I must admit that I don't really like the preprocessing since it 
means having two of the same class on the classpath but in different packages 
if you use both core and Tomahawk.


Regards,


~ Simon

On Mon, Sep 29, 2008 at 12:10 AM, Paul Rivera <[EMAIL PROTECTED]> wrote:


Hi Simon,

I think this link explains it best:
http://wiki.apache.org/myfaces/Source_Code_Packaging

Best Regards,
Paul Rivera


--- On Sun, 9/28/08, Simon Lessard <[EMAIL PROTECTED]> wrote:

From: Simon Lessard <[EMAIL PROTECTED]>
Subject: MyFaces shared question
To: "MyFaces-Devs" <[email protected]>

Date: Sunday, September 28, 2008, 7:38 AM

Hi all,

Anyone knows why myfaces-shared is unpacked with a plugin by Maven instead of 
being a standard dependency?



Thanks,

~ Simon




      




      

Reply via email to