On Tue, 2003-12-09 at 06:38, Kevin Pearcey wrote:
> If we take a step back from the best practice of what source files to put
> where this all fits into a general re-occurring theme on this mail list
> about maven best practice which the developers really should make a decision
> about and enforce within the maven POM:
> 
> Should the POM allow complex filepath/fileset definitions or not?
> 
> If the syntax of the POM is defined such that a file set can contain
> selection rules with one or more file paths then any plugin that doesn't
> handle this is broken and should get fixed. If the driving goal of maven
> best practice is that source should be grouped under separate directories
> then re-write the POM rules to only allow this simple definition - NO
> special cases.
> 
> Thoughts?

Eventually that's what we would like to strive for: one clear way of
doing things but it is unlikely we can arrive at that by design. In the
case of tests specific includes or excludes are allowed and though in
most cases we could probably avoid them entirely it's something that
could be moved toward.

For example, if over time there were tools provided by Maven to name all
test cases in a stanard, clear and descriptive way then we could
probably get away with just specifying a directory but consistent naming
in tests is not something we currently have.

Many of things Maven currently does that seem off are most often a
direct result of one of the core developers trying to do something, for
better or worse. For example the addition of sourceModifications were
added when I tried to build commons-logging which has a JDK1.4 adapter
which must be excluded when building with JDK1.3.

I personally would like to make many more restrictions on what's
possible but I think this will only be an option as Maven comes into
more widespread use and people making comments like yourself who see
some value in simplying the whole process by limiting some options.

> Kevin Pearcey
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to