Hi Brian, Thank you for replying. I tried to do what you said, but still with no success. That's ok cause in the mean time I found a better solution to my challenge.
However I have an improvement suggestion to the maven team to make an easy way to define properties in the plugin's pom that can be used by the plugin's Mojos. In addition, the AbstractMojo class contains the method getPluginContext() that returns an empty map. I still don't know how to pass values via this context. Does anyone know? Regards, Shai The plugin properties are injected at runtime from the project they run on. The properties defined in the plugin's pom are used to build the plugin not run it. You could do this, just in a different way. Make a property file in your plugin project and filter the value into it. Then when your plugin runs you can read this property. -- View this message in context: http://www.nabble.com/Please-help---Injecting-a-custom-plugin-parameter-tp15976512s177p16004053.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
