Re: Process maven mdo files via ModelloCLI

2018-08-26 Thread William L. Thomson Jr.
Regarding the following message below. What ever is causing the java.util.NoSuchElementException Is not only effecting Modello. It is my present blocker to Maven itself. mvn command errors with similar output [ERROR] Error executing Maven. [ERROR] java.util.NoSuchElementException role:

Re: Process maven mdo files via ModelloCLI

2018-08-26 Thread William L. Thomson Jr.
On Sun, 26 Aug 2018 13:54:13 -0400 "William L. Thomson Jr." wrote: > Not sure if using plexus-containers rather than sisu-plexus, is the > cause for ModelloCli to not be able to load/find the Java plugin. Just > one thing I have not tried with Modello. After trying this out, that does seem to

Re: Process maven mdo files via ModelloCLI

2018-08-26 Thread William L. Thomson Jr.
Hi Hervé, Thanks for the response! On Sun, 26 Aug 2018 19:35:02 +0200 Hervé BOUTEMY wrote: > Hi William, > > Debian already worked on this: I don't precisely know how they did, > but you should probably have a look. Well they can cut some corners as they need to build it just once

Re: Process maven mdo files via ModelloCLI

2018-08-26 Thread Hervé BOUTEMY
Hi William, Debian already worked on this: I don't precisely know how they did, but you should probably have a look. A few hints on your investigations: - on the .mdo files in plexus-containers, I added them only to generate documentation [1], then you can just ignore that ones - are you using

Re: Process maven mdo files via ModelloCLI

2018-08-22 Thread William L. Thomson Jr.
On Thu, 14 Jun 2018 10:41:14 -0400 "William L. Thomson Jr." wrote: > I have been working on packaging and building Maven from source on > Gentoo. Without using Maven, just straight javac, etc. It is looking > like I cannot do this without using pre-generated sources on Maven > Central. I am

Re: Process maven mdo files via ModelloCLI

2018-06-27 Thread William L. Thomson Jr.
On Mon, 25 Jun 2018 08:24:58 +0200 Michael Osipov wrote: > > William, > > my first an foremost question is why do you need this? Maven and parts are needed as dependencies for Gradle and Netbeans. > Aren't you satisfied with the signed binary released we provide? No, I do not run a binary

Re: Process maven mdo files via ModelloCLI

2018-06-26 Thread William L. Thomson Jr.
On Mon, 25 Jun 2018 10:28:20 -0400 "William L. Thomson Jr." wrote: > > I cannot tell if its a bug, or a design change. It seems like the CLI > does not fully load all plugins. Not sure if that is a code issue, > something in the plexus component.xml files, not having a plexus.xml, > or some other

Re: Process maven mdo files via ModelloCLI

2018-06-25 Thread William L. Thomson Jr.
Per my final comment question below, the 6 vs 4. That was because modello-plugin-xpp3 was also on the classpath. Which has 3 Generators and no MetaDataPlugin, thus it does not show. Seems more and more like there is a problem with the Generators HashMap. It has a size, but elements are messed up

Re: Process maven mdo files via ModelloCLI

2018-06-25 Thread William L. Thomson Jr.
Robert, Nice timing, our posts literally crossed at the same time! Also on the same topic, Generators vs MetaDataPlugins. On Mon, 25 Jun 2018 22:10:48 +0200 "Robert Scholte" wrote: > I've got some answers for you: > > you're seeing 2 times init because there are 2

Re: Process maven mdo files via ModelloCLI

2018-06-25 Thread William L. Thomson Jr.
On Mon, 25 Jun 2018 10:28:20 -0400 "William L. Thomson Jr." wrote: > Hi Robert, > > > Based on the analysis in the comments the issue does seem to be > > having 2 instances instead of 1. I would try to figure out where and > > why this is happening. > > That I have been doing for sometime.

Re: Process maven mdo files via ModelloCLI

2018-06-25 Thread Robert Scholte
I've got some answers for you: you're seeing 2 times init because there are 2 AbstractPluginManager instances: org.codehaus.modello.core.MetadataPluginManager and org.codehaus.modello.core.GeneratorPluginManager They are initiated when calling the Modello()-constructor. It creates the

Re: Process maven mdo files via ModelloCLI

2018-06-25 Thread William L. Thomson Jr.
Hi Robert, On Sun, 24 Jun 2018 11:42:25 +0200 "Robert Scholte" wrote: > Hi William, > > I fully agree with you that Maven developers should know about Plexus > and Modello, and in fact if you compare the names of the developers > of both projects, you should recognize an overlap. It is just

Re: Process maven mdo files via ModelloCLI

2018-06-24 Thread Robert Scholte
Hi William, I fully agree with you that Maven developers should know about Plexus and Modello, and in fact if you compare the names of the developers of both projects, you should recognize an overlap. For me this case is too specific, it would take quite some time to dive into, while many,

Re: Process maven mdo files via ModelloCLI

2018-06-23 Thread William L. Thomson Jr.
I guess no one is familiar with Plexus or Modello. If Maven developers are not familiar with what technologies Maven is built atop. Not sure who else would have a clue about Plexus or Modello. I can look to building Maven via other means. But does not reflect to well on Maven IMHO. Plexus and

Process maven mdo files via ModelloCLI

2018-06-14 Thread William L. Thomson Jr.
I have been working on packaging and building Maven from source on Gentoo. Without using Maven, just straight javac, etc. It is looking like I cannot do this without using pre-generated sources on Maven Central. I am having issues with ModelloCLI loading plugins.