Maven build number plugin, how to save the build number in a file?

The documentation page says that the properties files is stored at ${basedir}/buildNumber. Properties, which is created when the buildnumber:create phase is ran.

However it doesn't create that file, at least with my configuration. I had a partial success by filtering properties files, but I ran into another problem as in my updated question. – stivlo Aug 5 at 4:31 have you tried manually creating the file, and adding a starting buildNumber there first?

Do that and, do your thing and then check whether the number is incremented. Make sure you fulfilled the requirements it asked for. – KasunBG Aug 5 at 5:03 Thanks for the suggestion.

I tried to create an empty buildNumber. Properties file, and execute buildnumber:create and nothing happens, then I tried to put inside a 1, execute a buildnumber:create and nothing happened. In the meantime, I just found the solution to the last problem using filtered properties.

I am going to update my question with the full solution. – stivlo Aug 5 at 5:11 glad you found the solution... – KasunBG Aug 5 at 5:28.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions