maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Brandhof <simon.brand...@gmail.com>
Subject Re: Need advice to get Sonar Mojo working with Maven 3.0
Date Tue, 17 Nov 2009 20:49:45 GMT
Thank you Olivier. I'll have a look at this new component.


On Fri, Nov 13, 2009 at 4:16 PM, Olivier Lamy <olamy@apache.org> wrote:

> Hi,
> What I can suggest is to have a look at the site plugin 3.x branch [1].
> The class DefaultMavenReportExecutor.java use the new
> MavenPluginManager to execute report plugin.
> Note it's a work in progress but the most part is already here.
>
> --
> Olivier
>
> [1]
> https://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-3.x
>
> 2009/11/13 Simon Brandhof <simon.brandhof@sonarsource.com>:
> > Hi guys,
> >
> > I'm a developer of Sonar [1] and need advices from Maven experts on
> Maven3
> > architecture.
> >
> > Indeed the Sonar maven plugin [2] configures and executes on the fly
> other
> > maven plugins such as Checkstyle or Cobertura. To do that, it currently
> uses
> > the component org.apache.maven.plugin.
> > PluginManager, but this doesn't work anymore with Maven 3.0-alpha-3.
> > Executing the method executeMojo() throws an
> OperationNotSupportedException.
> >
> > Rather than finding a simple workaround, I'd like to understand how I
> should
> > implement the Sonar plugin with the Maven3 "philosophy" in mind. To sum
> up
> > the pom must be updated at runtime and maven plugins executed in
> independent
> > contexts.
> > Any recommendations are welcome.
> >
> > Thank you very much,
> > Simon
> >
> > [1] http://sonar.codehaus.org
> > [2] http://svn.codehaus.org/mojo/trunk/mojo/sonar-maven-plugin/
> >
> > ----------------------------------------
> > Simon Brandhof
> > SonarSource.com
> > twitter.com/SonarSource
> > twitter.com/SimonBrandhof
> > ----------------------------------------
> >
>
>
>
> --
> Olivier
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message