You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,17 +72,17 @@ add these repos to your `settings.xml` or your project `pom.xml`. Example:
72
72
<tr>
73
73
<td>tstampFormat</td>
74
74
<td>yyyyMMddHHmmss</td>
75
-
<td>Specify a custom format for the `build-tstamp` property. Use the pattern syntax defined by Java's [SimpleDateFormat](http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html)</td>
75
+
<td>Specify a custom format for the `build-tstamp` property. Use the pattern syntax defined by Java's <a href="http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html">SimpleDateFormat</a></td>
76
76
</tr>
77
77
<tr>
78
78
<td>customProperties</td>
79
79
<td>-</td>
80
-
<td>Optional. A Clojure snippet of code that evaluates to a Map. You have locally define symbols for each `build-*` property. The Map returned is merged into the project properties. See below for examples.</td>
80
+
<td>Optional. A Clojure snippet of code you may specify in order to modify or create new properties. The code must evaluate to a Map. The name of the keys in the Map become Maven properties on the project. For convenience, for each `build-*` property you have a local variable with the same name already defined for you. See below for an example.</td>
81
81
</tr>
82
82
</table>
83
83
84
84
85
-
Example 1:
85
+
Example:
86
86
87
87
```xml
88
88
<plugin>
@@ -128,15 +128,15 @@ Reference:
128
128
129
129
*[Another explanation](http://www.xerxesb.com/2010/git-describe-and-the-tale-of-the-wrong-commits/) of this same issue with `git describe`.
130
130
*[GIT mailing list discussion](http://kerneltrap.org/mailarchive/git/2010/9/21/40071/thread) about `git describe`'s logic and lack of `--first-parent`.
131
-
* Here's a [working patch to add `--first-parent` to `git describe`](https://github.com/gitigit/git/tree/mrb/describe-first-parent)
131
+
* Here's a [working patch to add `--first-parent` to `git describe`](https://github.com/git/git/tree/mrb/describe-first-parent)
132
132
133
133
## Future
134
134
135
135
Some ideas:
136
136
137
137
* Find a way to inject the project version from git tags into the project's
138
-
pom. The goal is to get rid of the need to modify the project version inside
139
-
`pom.xml`: just leave a fixed 0.0.0 version and let the plugin infer it from
138
+
pom. The goal is to stop maintaining the project version inside
139
+
`pom.xml`: just leave the pom version fixed at 0.0.0 and let the plugin infer it from
140
140
git. We tried the obvious: calling project.setVersion(), but some Maven phases
141
141
still "see" the version that is in the `pom.xml` file. Need to research
142
142
further.
@@ -166,4 +166,5 @@ addition. He did the heavy-lifting to integrate Clojure with Maven and Plexus.
166
166
167
167
## License
168
168
Licensed under the [Eclipse Public License](http://www.eclipse.org/legal/epl-v10.html).
169
-
Copyright 2012 Code54 S.A. (http://code54.com)
169
+
Copyright 2012 Fernando Dobladez & Code54 S.A. (http://code54.com)
0 commit comments