Skip to content

Commit d54860a

Browse files
committed
Remove antrun example. I think it was more confusing than helpful
1 parent 876042c commit d54860a

1 file changed

Lines changed: 1 addition & 27 deletions

File tree

README.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,33 +43,7 @@ By default, the plugin runs on Maven's `initialize` phase. Any plugin running af
4343
* `build-tstamp`: A date and time stamp of the current commit (HEAD). The pattern is configurable. Example: `20120407001823`.
4444

4545

46-
The following example displays the value of those properties using the antrun plugin:
47-
48-
```xml
49-
<plugin>
50-
<groupId>org.apache.maven.plugins</groupId>
51-
<artifactId>maven-antrun-plugin</artifactId>
52-
<executions>
53-
<execution>
54-
<id>echo-stuff</id>
55-
<phase>initialize</phase>
56-
<goals><goal>run</goal></goals>
57-
<configuration>
58-
<tasks>
59-
<echo message="build-version: ${build-version}" />
60-
<echo message="build-tag: ${build-tag}" />
61-
<echo message="build-tag-delta: ${build-tag-delta}" />
62-
<echo message="build-tstamp: ${build-tstamp}" />
63-
<echo message="build-commit: ${build-commit}" />
64-
<echo message="build-commit-abbrev: ${build-commit-abbrev}" />
65-
</tasks>
66-
</configuration>
67-
</execution>
68-
</executions>
69-
</plugin>
70-
```
71-
72-
Note: `buildversion-plugin` is currently hosted at the `oss.sonatype.org` maven
46+
*Note:* `buildversion-plugin` is currently hosted at the `oss.sonatype.org` maven
7347
repository, and may depend on artifacts on the Clojars repository. You'd need to
7448
add these repos to your `settings.xml` or your project `pom.xml`. Example:
7549

0 commit comments

Comments
 (0)