Hello,

I need the value of the property "maven.test.reportsDirectory" in the plugin.jelly of my plugin even if it is not set via a project.properties file.

Regard this simple goal:

<goal name="some:goal">
<echo>Value of maven.test.reportsDirectory: ${maven.test.reportsDirectory}</echo>
</goal>

If I run this goal without setting the property in a project.properties, it's output is just "[echo] Value of maven.test.reportsDirectory:". If I run "maven test:compile some:goal", it's output is "[echo] Value of maven.test.reportsDirectory: <some value>"

How can I access the default value of that property as defined in the plugin.properties of the test-Plugin without running a test goal? Should I set this property in the plugin.properties of my plugin? I think that solution is not so good, because if that property's default value is changed I will need to change my settings, too.

Can I load the default properties of another plugin in my plugin's jelly file?

Regards,
   Martin

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

Reply via email to