Hello,

Does Maven pass the default properties to a Junit test launched? If so, how
can I access them?

For example I would like to know ${project.groupId} or ${project.version}.
Is there any way I can access these from the Junit tests?

Thank you,
Costin.

PS: What I really want to know if there is a mechanism in place, I don't
really want to fill the configuration with duplicate properties, or make a
temporary file which I read later. If there's no elegant solution, I'll just
read the from somewhere :)
-- 
View this message in context: 
http://old.nabble.com/How-to-access-Maven-default-properties-from-a-Junit-test--tp26608418p26608418.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]

Reply via email to