directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <>
Subject [jira] Resolved: (DIRSERVER-1329) Fix expression vs default-value in maven plugins
Date Fri, 13 Mar 2009 19:14:52 GMT


Felix Knecht resolved DIRSERVER-1329.

    Resolution: Fixed

> Fix expression vs default-value in maven plugins
> ------------------------------------------------
>                 Key: DIRSERVER-1329
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Task
>          Components: schema-plugin
>    Affects Versions: 1.5.5
>         Environment: All
>            Reporter: Felix Knecht
>            Assignee: Felix Knecht
>            Priority: Minor
>             Fix For: 1.5.5
> Following the guide to plugin development it can't be good style to have annotations
> @parameter expression="foobar"
> Found such 'expressions' in BootstrapPlugin and DirectorySchemaToolMojo.
> This is a missuse to generate a default-value. From
> "The parameter annotation identifies the variable as a mojo parameter. The default-value
parameter of the annotation defines the default value for the variable. This value can include
expressions which reference the project, such as "${project.version}" (more can be found in
the "Parameter Expressions" document). The expression parameter can be used to allow configuration
of the mojo parameter from the command line by referencing a system property that the user
sets via the -D option."

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message