Karl Heinz Marbaise wrote:

Now i tried to install it via Maven 3.0 (-alpha-5) and got the following
warnings....

All the warnings you mentioned are actually not from Maven itself but from the Maven Plugin Plugin. So if you observe different output from the plugins the builds are likely using different plugin versions in context of different Maven versions. Hence I suggest you lock down the plugin versions, for all plugins employed by your build.

    [WARNING] com.soebes.maven.plugins.LicenseVerifierMojo#projectBuilder:
    [WARNING]   The syntax
    [WARNING]     @parameter expression="${component.<role>#<roleHint>}"
    [WARNING]   is deprecated, please use
    [WARNING]     @component role="<role>" roleHint="<roleHint>"
    [WARNING]   instead.

May be someone can give me a hint what this means and how to solve that?

Inside the LicenseVerifierMojo, the parameter projectBuilder is annotated with

@parameter expression="${component.org.apache.maven.project.MavenProjectBuilder}"

but it should be

  /**
   * @component
   */
  private MavenProjectBuilder projectBuilder;


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to