Skip to content

Commit ac49e54

Browse files
committed
Name the two lines rather than lean on one badge
1 parent 29ce4b5 commit ac49e54

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,25 @@ Actively maintained. This is one of the most widely used artifacts in the Maven
1515

1616
## Using it
1717

18-
**pom.xml**
18+
**pom.xml** — the `5.x` line, which requires Java 17:
1919

2020
```xml
2121
<dependency>
2222
<groupId>org.codehaus.plexus</groupId>
2323
<artifactId>plexus-archiver</artifactId>
24-
<!-- requires Java 17 -->
2524
</dependency>
2625
```
2726

28-
Check the badge above for the current version.
27+
The `4.x` line, still maintained, for Java 8:
2928

3029
```xml
3130
<dependency>
3231
<groupId>org.codehaus.plexus</groupId>
3332
<artifactId>plexus-archiver</artifactId>
34-
<!-- requires Java 8 -->
3533
</dependency>
3634
```
3735

38-
Check the badge above for the current version.
36+
Take the current version of each line from the [releases page](https://github.com/codehaus-plexus/plexus-archiver/releases); the badge above tracks whichever is newest overall.
3937

4038
**Java sourcecode**
4139

0 commit comments

Comments
 (0)