John,

I'd much rather we just had a document that list these (can be
generated from modello, if needed).

- Brett

On 10/4/05, John Casey <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> We've sort of informally identified this as a need already, and I've
> started writing an API that will help with this. Ideally, the user would
> be able to issue something like:
>
> m2 projecthelp:supported-parameters -DparameterPattern="project.*"
>
> and have it spit out information about all of the parameters that are
> derived from the MavenProject instance. We're getting there WRT having
> that information in the system, but this mojo has not yet been written.
> Right now, that information is mostly being used to help diagnose plugin
> configuration errors.
>
> For now, I can tell you that plugin parameters - for the most part - are
> reflective lookups against the object graphs derived from a few key
> runtime instances:
>
> - - project = The current MavenProject being built
> ~                (org.apache.maven.project.MavenProject)
>
> - - settings = The Settings from ~/.m2/settings.xml
> ~                (org.apache.maven.settings.Settings)
>
> - - plugin = The PluginDescriptor instance for the currently executing
> plugin.
> ~                (org.apache.maven.plugin.descriptor.PluginDescriptor)
>
> - - session = The current build session instance
> ~                (org.apache.maven.execution.MavenSession)
>
> in addition to some miscellaneous "rootless" expressions, like:
>
> - - basedir = The current project's root directory
>
> - - localRepository = The ArtifactRepository instance for locally cached
> artifacts
>
> FYI, I've also filed MNG-1077[1] to formalize this need, and provide a
> place to track progress.
>
> Cheers,
>
> john
>
> [1] http://jira.codehaus.org/browse/MNG-1077
>
> Roland Bali wrote:
> | Hi,
> |
> | I'm trying to create a pom.xml that copies the project dependencies to
> | a folder inside the target folder.
> |
> | I've tried using maven-antrun-plugin but I can't figure out how to
> | write the copy task since I can't access the dependencies. Is there a
> | way to know what expressions I can use inside the pom?
> |
> | Part of my pom:
> |
> | <tasks>
> |   <copy todir="${project.build.directory}/install">
> |     <fileset refid="${maven.dependencies.fileset}"/>
> |   </copy>
> | </tasks>
> |
> | Kind regards,
> | Roland
> |
> | ---------------------------------------------------------------------
> | To unsubscribe, e-mail: [EMAIL PROTECTED]
> | For additional commands, e-mail: [EMAIL PROTECTED]
> |
> |
> |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQFDQZVbK3h2CZwO/4URAoYnAJ9AZHgzZ1AQFEr3jeSJjnUAtRbKBQCgoPvP
> xDVwWmgLU6u8lfLcUvGVYT0=
> =PcRz
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to