We use Hudson, Maven2 and maven-ear-plugin.
Is it possible to have the built EAR files to contain SVN revision in their filename (something like project-1234.ear)?
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.
You can use the buildnumber-maven-number for this. Basically, this plugin sets a
${buildNumber}property that you can use later in the maven ear plugin configuration.First, setup the Build Number Maven Plugin as documented here:
Then, use the
finalNameparameter to customize the name of the generated ear. For example: