Re: Launching full Maven programmatically

2020-04-16 Thread Olivier Lamy
Hi, That's the way to do it There is a library to ease that here https://github.com/jenkinsci/lib-jenkins-maven-embedder/tree/master cheers Olivier On Fri, 17 Apr 2020 at 13:04, Tomo Suzuki wrote: > I'm interested in that problem too. In the project below, we use > PlexusContainer to instanti

Re: Launching full Maven programmatically

2020-04-16 Thread Tomo Suzuki
I'm interested in that problem too. In the project below, we use PlexusContainer to instantiate MavenProject class from pom file: https://github.com/GoogleCloudPlatform/cloud-opensource-java/blob/master/dependencies/src/main/java/com/google/cloud/tools/opensource/dependencies/RepositoryUtility.java

Re: Customizing the maven-site-plugin Markdown renderer?

2020-04-16 Thread Hervé BOUTEMY
sorry, I had a look and wanted to take time to have a minimal Maven site generation to compare with your direct test: I just sent you a PR your test is great to show the objective my addition shows the current effective result = admonition markup is not detected, rendered as-is I'm quite suprise

[ANN] Maven Fluido Skin 1.9 released

2020-04-16 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Fluido Skin, version 1.9. https://maven.apache.org/skins/maven-fluido-skin/ You should specify the version in your project's site configuration: org.apache.maven.skins maven-fluido-skin 1.9 Release Notes - Maven Fl

Re: Launching full Maven programmatically

2020-04-16 Thread Matthieu BROUILLARD
I understood your need Andreas. Look at the plugin, if I remember well at some point it "reloads/recreate" from scratch the Model ; as you would do in your own code ; to be able to later flatten it. Regards, Matthieu On Thu, Apr 16, 2020 at 4:31 PM Andres Almiray wrote: > Thanks Matthieu, I'll

Re: Launching full Maven programmatically

2020-04-16 Thread Andres Almiray
Thanks Matthieu, I'll have a look. Though I failed to specify: the embedded API I'm looking for should work anywhere and not just within the confinement of a maven plugin where Maven components and services exist, that is, this API should work as a blackbox and in standalone mode. Cheers, Andres

Re: Launching full Maven programmatically

2020-04-16 Thread Matthieu BROUILLARD
Hi, If I remember well I think maven-flatten-plugin loads the model in a way that even core-extensions are used; you should have a look there. Matthieu

Re: Customizing the maven-site-plugin Markdown renderer?

2020-04-16 Thread Stephan Wissel
Did you have a chance to look at this? On Thu, Apr 9, 2020 at 2:10 AM Stephan Wissel wrote: > Hello Hervé, > > I created a Flexmark sample that is as close as possible to the way > Flexmark is used in Doxia: > > https://github.com/Stwissel/maven-site-extension/tree/master/simple-flexmark-example

Launching full Maven programmatically

2020-04-16 Thread Andres Almiray
Hi, I'm looking for a way to launch Maven programmatically in such a way that I can get access to fully resolved Model and MavenProject instances, and not just for a single project but also for all projects that belong to a Reactor. At first I used this code try { FileReader reader = new Fil