[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.

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

[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

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

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 lennart.jore...@gmail.com 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

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,

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 rfscho...@apache.org 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.

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 ja...@takari.io 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

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 ja...@takari.io: https://cwiki.apache.org/confluence/display/MAVEN/Maven+4.0.0 - To

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 ja...@takari.io: On Apr 6, 2014, at 2:24 PM, Robert Scholte rfscho...@apache.org 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

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 ja...@takari.io wrote: Can anyone else edit that page. Just checking to make sure it's just me

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 martijn.dasho...@gmail.com 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.

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

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

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

Re: Permissions change on cwiki?

2014-04-06 Thread Jason van Zyl
Danke. On Apr 6, 2014, at 5:11 PM, Daniel Kulp dk...@apache.org wrote: Jason’s account was not in the maven-committers group. Now fixed. Dan On Apr 6, 2014, at 5:08 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: A couple of weeks ago infra disabled editing for all

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

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 rfscho...@apache.org wrote: Op Sun, 06 Apr 2014 20:54:24 +0200 schreef Jason van Zyl ja...@takari.io: On Apr 6, 2014, at 2:24 PM, Robert Scholte