On Mon, Jun 30, 2008 at 4:14 AM, Ishaaq Chandy <[EMAIL PROTECTED]> wrote:

> Well, not knowing who else uses maven out there I have no reasonable way to
> verify or deny your claim that this is not useful for 95%. I can only say
> that I find it hard to believe that only 5% of maven users would conform to
> both of the following criteria - but then again, I don't really know:
>

Because Maven deals with dependencies, it would be nice to have it work with
licensing issues, I agree.  I think it's also true that what Maven is
intended for (building the project) and what you're hoping to do with it
(enforce licensing policies) are somewhat different, and that may be the
source of some of the conflict.

There would be other ways to accomplish this -- for instance, if Maven were
aware of the license (if it were published in the POM), you could put
restrictions on dependencies without placing them in different repositories.

In any case, I don't know of any easy way to address this with Maven. The
only thing I can imagine is to put your tests in different projects than
your classes to test, and adjust the repositories on a module by module
basis, which would be pretty ugly even if it works.

  - Geoffrey
-- 
Geoffrey Wiseman

Reply via email to