Re: optional dependencies was: [m2] POM inheritance

2005-10-15 Thread Brett Porter
Joerg Hohwiller wrote: > 1. ugly maintainence of the project > 2. a jar for each bridge-implementation > I'd hardly say it is ugly maintenance... > But for 2. there should be a way to build a jar in the top-level project > that includes all code-output compiled in the sub-projects. > Is that maki

Re: optional dependencies was: [m2] POM inheritance

2005-10-11 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, Joerg Hohwiller wrote: > Hello Brett, > > Brett Porter wrote: > >>>We've so far opted not to do this (basically an optional dependency) as >>>it can encourage poorly specified poms to stay that way. Basically by >>>saying this you are sayi

Re: optional dependencies was: [m2] POM inheritance

2005-08-08 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Brett, Brett Porter wrote: > We've so far opted not to do this (basically an optional dependency) as > it can encourage poorly specified poms to stay that way. Basically by > saying this you are saying to those depending on you "you may need tis

Re: optional dependencies was: [m2] POM inheritance

2005-08-07 Thread Brett Porter
We've so far opted not to do this (basically an optional dependency) as it can encourage poorly specified poms to stay that way. Basically by saying this you are saying to those depending on you "you may need tis jar at some point, but I can't tell you when". That's going to manifest in a class cas

Re: [m2] POM inheritance

2005-08-06 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, John Casey wrote: > try adding true to the plugin definition at the top > level...I can't remember whether the compiler plugin inherits by default > or not (my suspicions are "not"). Not about POM inheritance but about dependency inheritanc

Re: [m2] POM inheritance

2005-08-01 Thread Brett Porter
Hmm, I thought we switched to inherit by default being true as the default for mojos, and just turning it off when it is dangerous. Regardless, using pluginManagement instead of the plugins section is an option for the compiler plugin as it is automatically bound. - Brett John Casey wrote: > tr

Re: [m2] POM inheritance

2005-08-01 Thread joerg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi John, John Casey wrote: > try adding true to the plugin definition at the top > level...I can't remember whether the compiler plugin inherits by default > or not (my suspicions are "not"). That helped. maybe I should also get onto the users list fo

Re: [m2] POM inheritance

2005-08-01 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 try adding true to the plugin definition at the top level...I can't remember whether the compiler plugin inherits by default or not (my suspicions are "not"). HTH, john joerg wrote: | Hi there, | | I retried my POM inheritance problem. | The thing

[m2] POM inheritance

2005-08-01 Thread joerg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I retried my POM inheritance problem. The thing is that I have a jdk5.0 based project with lots of sub-projects. Now for jdk5.0 I need the following option in the POM: org.apache.maven.plugins maven-compiler-plugin 1.