The @parameter refers to the pom configuration or system properties
so if you had @parameter expression="${project.build.resources}" the could
either mean your looking for a system property named "
project.build.resources" or your looking for the resources listed in the
pom, which would be defined like this:
<project>
<build>
<resources>
<resource>src/main/resources</resource>
</resources>
</build>
</project>
A good reference for the pom structure is
http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html?page=1
Hope that helps.
On 11/7/06, Adam Lewis <[EMAIL PROTECTED]> wrote:
My understanding of mojo parameters is that when declaring paramters
for a mojo, the
@parameter expression="${...}" syntax allows access to various
properties that already exist in the environment. Is there a unfied
list of what can be put there floating around out there? Is there a
good way of finding out what objects have been put into the
environment at any given point? I'm sorry if this is a question with
an obvious answer, but I can't figure out what it is maven puts there
from the pom, etc..
Thanks,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]