Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Navigating the project structure

Use IMaven.createSession to create session. Use
MavenProjectManager.createExecutionRequest to create maven execution
request.

--
Regards,
Igor

On 10-11-25 12:56 PM, Benson Margulies wrote:
Sorry, I meant, "if I'm handing mavenProjectChanged, how do I get a
MavenSession?"

On Wed, Nov 24, 2010 at 9:40 AM, Igor Fedorenko<igor@xxxxxxxxxxxxxx>  wrote:
IMavenProjectFacade.getExecutionPlan returns MavenExecutionPlan, which
provides information about all mojo executions bound to project build
lifecycle. MojoExecution.getConfiguration returns you xml configuration.
Use IMaven.getMojoParameterValue to access individual parameter values.
You can also use AbstractProjectConfigurator.getParameterValue

--
Regards,
Igor

On 10-11-24 09:08 AM, Benson Margulies wrote:

I'm trying to figure out if I can borrow some functionality from the
'temporary' plugin for the checkstyle etc plugins. I'm hoping that one
of you can spare me a paragraph of design overview.

Task: given a maven project, decide if plugin X is active for the
currently configured profiles for M2E, and examine its configuration.

So you all have some API for this, or am I on my own in the ordinary Maven
API?
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev


Back to the top