I want to generate a run ID for each run in maven. For example if i run a test cases; a run id should be included in the report that can be used for identifying that test case run. Thanks in advance.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the Build Number Maven Plugin to create the number and then load it whereever you need it.
http://mojo.codehaus.org/buildnumber-maven-plugin/