On 4 Jun 07, at 9:13 PM 4 Jun 07, Brett Porter wrote:
On 05/06/2007, at 11:01 AM, Carlos Sanchez wrote:
I noticed the issue with duplicated packages while playing with OSGi
but is not directly related.
The fact that we have same packages in different modules is just a
bad
practice, for architectural and easier development issues. If I
see an
org.apache.maven.project class I'd look into maven-project without
having to search all the sources
Thinking purely from a packaging perspective, I agree with the
principle but not the implementation. I didn't like the look of a
'core' package and was planning on commenting myself. (I only had a
brief look at the commits didn't spend any more time with it after
it was reverted until the discussion came up).
I think we need to take a more critical look at how the packages
are structured to make sure each module is properly self-contained
and has a well-defined public API. I think this should this be an
architectural goal for 2.1.
I think it's great that we have things like the embedder which can
be a simple, single point of entry for someone that uses all of
Maven, but I don't ever want to lose the ability to consume
discreet pieces of functionality like the artifact mechanism.
It's already lost, in practice people are just going to consume the
embedder. The only case where it has been used in even a vaguely
separate fashion are the Ant Tasks are moving more and more toward a
hybrid of Ant and Maven. Requiring syncing with the settings, proxies
and POMs which pretty much brings in everything in the embedder. For
simple artifact use a separate artifact library in plexus can be
used. Anything even remotely involving Maven in practice brings
almost all core functionality. Everyone expects syncing with
everything else in Maven.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]