Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Jason van Zyl
https://cwiki.apache.org/confluence/display/MAVEN/Resolution+scenarios+for+plugins On Apr 6, 2014, at 4:47 PM, Robert Scholte wrote: > Op Sun, 06 Apr 2014 20:54:24 +0200 schreef Jason van Zyl : > >> >> On Apr 6, 2014, at 2:24 PM, Robert Scholte wrote: >> >>> Hi, >>> >>> if we are talking ab

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Jason van Zyl
I like Robert's idea of getting all the variants in a wiki page. But I'd still like you guys to answer the initial query which was to agree on removing the magic of plugins adding things to the classpath and requiring it be specific. On Apr 6, 2014, at 8:32 PM, Benson Margulies wrote: > It see

Re: Permissions change on cwiki?

2014-04-06 Thread Jason van Zyl
Danke. On Apr 6, 2014, at 5:11 PM, Daniel Kulp wrote: > > Jason’s account was not in the maven-committers group. Now fixed. > > Dan > > > On Apr 6, 2014, at 5:08 PM, Martijn Dashorst > wrote: > >> A couple of weeks ago infra disabled editing for all accounts due to an >> excessive spam i

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Mark Derricutt
On 7 Apr 2014, at 12:32, Benson Margulies wrote: We then have other logical classpaths. . Something like javadoc should be able to define another named classpath structure; combining the dependencies of the plugin's implementation with dynamic code (doclets, whatever) seems like a category confu

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Benson Margulies
It seems to me we have several concepts that might benefit from some combing. We have 'path-like' structures. When building Java programs, we have the compile and test classpaths. _Within_ these classpaths, we have scopes. In other words, I think that the concept of a path and the concept of a sco

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Mark Derricutt
On 7 Apr 2014, at 6:24, Robert Scholte wrote: You must be able to specify doclettags artifact. There are dependencies, but they are not added to the classpath. These jars are added to a different argument of the javadoc executable. Would this be possible via plugin-level custom dependency ty

Re: Permissions change on cwiki?

2014-04-06 Thread Daniel Kulp
Jason’s account was not in the maven-committers group. Now fixed. Dan On Apr 6, 2014, at 5:08 PM, Martijn Dashorst wrote: > A couple of weeks ago infra disabled editing for all accounts due to an > excessive spam influx. IIRC any admin can restore edit privileges. > > Martijn > > > On Sun

Re: Permissions change on cwiki?

2014-04-06 Thread Martijn Dashorst
A couple of weeks ago infra disabled editing for all accounts due to an excessive spam influx. IIRC any admin can restore edit privileges. Martijn On Sun, Apr 6, 2014 at 9:17 PM, Jason van Zyl wrote: > Can anyone else edit that page. Just checking to make sure it's just me > before I ask infra

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Robert Scholte
Op Sun, 06 Apr 2014 20:54:24 +0200 schreef Jason van Zyl : On Apr 6, 2014, at 2:24 PM, Robert Scholte wrote: Hi, if we are talking about immutable classpath I agree. But there's something else which needs to be improved. Let me describe it with the maven-javadoc-plugin, but there are more

Re: Permissions change on cwiki?

2014-04-06 Thread Robert Scholte
I can edit it. And the page says that no restrictions are defined. thanks, Robert Op Sun, 06 Apr 2014 21:17:35 +0200 schreef Jason van Zyl : https://cwiki.apache.org/confluence/display/MAVEN/Maven+4.0.0 - To unsubscribe, e-

Re: Permissions change on cwiki?

2014-04-06 Thread Jason van Zyl
Can anyone else edit that page. Just checking to make sure it's just me before I ask infra to look. On Apr 6, 2014, at 9:41 AM, Jason van Zyl wrote: > I can no longer see the edit button on a page I created: > https://cwiki.apache.org/confluence/display/MAVEN/Maven+4.0.0 > > Anyone else havin

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Jason van Zyl
On Apr 6, 2014, at 2:24 PM, Robert Scholte wrote: > Hi, > > if we are talking about immutable classpath I agree. But there's something > else which needs to be improved. > Let me describe it with the maven-javadoc-plugin, but there are more plugins > suffering the same problem. > You must be

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Robert Scholte
Hi, if we are talking about immutable classpath I agree. But there's something else which needs to be improved. Let me describe it with the maven-javadoc-plugin, but there are more plugins suffering the same problem. You must be able to specify doclettags artifact. There are dependencies, b

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Jason van Zyl
On Apr 6, 2014, at 10:38 AM, Lennart Jörelid wrote: > Hm. > > Removing the possibility for plugins to manipulate the classpath is - in my > opinion - a rather poor idea. I believe the opposite in that magically manipulating the classpath is a poor idea. As evidenced in the convoluted logic in

Re: [Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Lennart Jörelid
Hm. Removing the possibility for plugins to manipulate the classpath is - in my opinion - a rather poor idea. If we have a problem with plugins contaminating downstream classpath, then we should provide a simple means for plugins to define Dependencies which would be added to the classpath of the

[Maven 4.0.0] Removing ability for plugins to dynamically inject dependencies

2014-04-06 Thread Jason van Zyl
Hi, I started making of list of things I'd like to remove in Maven 4.0.0, but I would like to start getting some agreement on what we can yank and this is the first concrete request. I would like to remove the ability for plugins to magically inject dependencies. Plugins can either declare thei

Permissions change on cwiki?

2014-04-06 Thread Jason van Zyl
I can no longer see the edit button on a page I created: https://cwiki.apache.org/confluence/display/MAVEN/Maven+4.0.0 Anyone else having permissions issues on cwiki? Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.co

[GitHub] maven pull request: [MNG-5613] Avoid NPE when dependency graph cre...

2014-04-06 Thread dbroeglin
GitHub user dbroeglin opened a pull request: https://github.com/apache/maven/pull/12 [MNG-5613] Avoid NPE when dependency graph creation fails As described in MNG-5613 a NPE occurs if the dependency graph creation fails. Errors where properly catched and added to the result. However