m2e uses WorkspaceReader to implement this
http://git.eclipse.org/c/m2e/org.eclipse.m2e.workspace.git/tree/org.eclipse.m2e.workspace.cli/src/main/java/org/eclipse/m2e/workspace/internal/Maven31WorkspaceReader.java
--
Regards,
Igor
On Fri, Jun 3, 2016, at 02:17 AM, James Roper wrote:
> On 3 Ju
On 3 June 2016 at 13:36, Igor Fedorenko wrote:
> On Mon, May 30, 2016, at 11:34 PM, James Roper wrote:
> >
> > One question that I'm trying to solve now, when resolving dependencies,
> > if
> > you want to do so without actually building the project it seems that you
> > would probably have to cr
On Mon, May 30, 2016, at 11:34 PM, James Roper wrote:
>
> One question that I'm trying to solve now, when resolving dependencies,
> if
> you want to do so without actually building the project it seems that you
> would probably have to create your own WorkspaceReader implementation
> that
> will r
On 31 May 2016 at 12:22, Igor Fedorenko wrote:
> There is no good/sane Maven embedding API. You really need to
> reimplement relevant parts of MavenCli and DefaultMaven in your code.
> You can check how we do this in m2e [1], although embedding Maven in
> long-running OSGi application certainly a
There is no good/sane Maven embedding API. You really need to
reimplement relevant parts of MavenCli and DefaultMaven in your code.
You can check how we do this in m2e [1], although embedding Maven in
long-running OSGi application certainly adds its own lever of
complexity.
[1]
http://git.eclipse.
On 30 May 2016 at 17:39, Michael Osipov <1983-01...@gmx.net> wrote:
>
> I think, you are looking for Maven Embedder.
>
No, really, I'm not. I have been head deep in the maven embedder source
code for a day now, and it does not do what you think it does.
org.apache.maven.cli.MavenCli, the class I
> Hi all,
>
> I'm looking to write some tooling that integrates with maven by
> programatically interrogating the build to get, for example, a list of
> projects, their transitive dependencies, etc. What I don't want to do is
> reimplement maven - I don't want to parse the pom file myself and res
Hi all,
I'm looking to write some tooling that integrates with maven by
programatically interrogating the build to get, for example, a list of
projects, their transitive dependencies, etc. What I don't want to do is
reimplement maven - I don't want to parse the pom file myself and resolve
depende