Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Tips & Tricks section with an example of header attributes #279

Merged

Conversation

abelsromero
Copy link
Member

This PR contains:
· As a closure for #278 I added the resolution into the tips & trick section of the README document.
· Added brief text descriptions of the different Tips&Tricks.
· Removed Tip note about use of revnumber in Passing POM properties. I consider that the new tip is more elegant and having both can create some confusion.

@coveralls
Copy link

coveralls commented Nov 30, 2016

Coverage Status

Coverage remained the same at 60.051% when pulling f915858 on abelsromero:improvement/header_attributes_tip into bc0fc1e on asciidoctor:master.

<attributes>
...
<revnumber>${project.version}</revnumber>
<revdate>${maven.build.date}</revdate>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should actually be maven.build.timestamp...or we should explain how to get Maven to expose the build date. Maybe even suggest integrating with the Maven git plugin. Otherwise, people are going to ask by maven.build.date doesn't work.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep the tip simple and void other plugins integration.
Instead I fixed the use of date by timestamp property and also added how to deifne the date format.

@coveralls
Copy link

coveralls commented Dec 1, 2016

Coverage Status

Coverage remained the same at 60.051% when pulling cfa36e5 on abelsromero:improvement/header_attributes_tip into bc0fc1e on asciidoctor:master.

@mojavelinux
Copy link
Member

Good. I didn't realize maven.build.timestamp was set by default, but it is since Maven 2.1. So it's all good.

@abelsromero abelsromero merged commit cf6065a into asciidoctor:master Dec 5, 2016
@abelsromero abelsromero deleted the improvement/header_attributes_tip branch July 19, 2018 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants