Hi,
I just wanted to summarize some of the past few emails regarding
properties use in plugins and the files used to define plugins.
As far as the files used to define plugins I think the best idea came
from Mark H. Wilkinson where the standard file names are used but they
are just placed in a different directory so that the build files are
distinct from the runtime files. So within a plugin I was thinking just
a slight variation on what Mark suggested and make the directory that
contains the runtime files src/plugin-runtime. So we have something
like:
plugin
project.xml
project.properties
maven.xml
/src
/java
/org ...
/plugin-resources ...
/plugin-runtime
maven.xml
project.properties
/xdocs
This way we have the distinction but can still use the same mechanism
internally. I definitely think this is a great idea.
As far as property accessing within a plugin:
${maven.compile.target}
to access properties defined by the plugin itself and
${plugins.antlr.src.dir}
to access properties defined in other plugins, this example showing
access to the antlr plugin's properties.
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]