Skip to content

Commit 5b936fa

Browse files
authored
Update master (for 1.7) to require JDK 8 (#78)
1 parent 08c443f commit 5b936fa

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ Project is licensed under [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.
66

77
## Status
88

9-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fasterxml/classmate/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fasterxml/classmate/)
10-
[![Javadoc](https://javadoc.io/badge/com.fasterxml/classmate.svg)](http://www.javadoc.io/doc/com.fasterxml/classmate)
11-
[![Tidelift](https://tidelift.com/badges/package/maven/com.fasterxml:classmate)](https://tidelift.com/subscription/pkg/maven-com-fasterxml-classmate?utm_source=maven-com-fasterxml-classmate&utm_medium=referral&utm_campaign=readme)
9+
| Type | Status |
10+
| ---- | ------ |
11+
| Build (CI) | [![Build (github)](https://github.com/FasterXML/java-classmate/actions/workflows/main.yml/badge.svg)](https://github.com/FasterXML/java-classmate/actions/workflows/main.yml) |
12+
| Artifact | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fasterxml/classmate/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fasterxml/classmate/) |
13+
| OSS Sponsorship | [![Tidelift](https://tidelift.com/badges/package/maven/com.fasterxml:classmate)](https://tidelift.com/subscription/pkg/maven-com-fasterxml-classmate?utm_source=maven-com-fasterxml-classmate&utm_medium=referral&utm_campaign=readme) |
14+
| JavaDocs | [![Javadoc](https://javadoc.io/badge/com.fasterxml/classmate.svg)](http://www.javadoc.io/doc/com.fasterxml/classmate) |
15+
| Code coverage (master) | [![codecov.io](https://codecov.io/github/FasterXML/java-classmate/coverage.svg?branch=master)](https://codecov.io/github/FasterXML/java-classmate?branch=master) |
16+
| OpenSSF Score | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/FasterXML/java-classmate/badge)](https://securityscorecards.dev/viewer/?uri=github.com/FasterXML/java-classmate) |
1217

1318
## Support
1419

@@ -42,6 +47,18 @@ External links that may help include:
4247

4348
-----
4449

50+
## Compatibility
51+
52+
#### JDK baseline
53+
54+
ClassMate versions up to 1.6 require Java 6 to run.
55+
56+
ClassMate versions 1.7 and above require Java 8 to run
57+
58+
#### JPMS compatibility
59+
60+
ClassMate versions 1.5 and above contain `module-info.class` information to work with JPMS.
61+
4562
## Usage
4663

4764
### Maven dependency
@@ -52,7 +69,7 @@ To use ClassMate via Maven, include following dependency:
5269
<dependency>
5370
<groupId>com.fasterxml</groupId>
5471
<artifactId>classmate</artifactId>
55-
<version>1.5.1</version>
72+
<version>1.6.0</version>
5673
</dependency>
5774
```
5875

VERSION.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Java ClassMate project: licensed under Apache License 2.0
33

44
Release notes:
55

6+
1.7.0 (not yet released)
7+
8+
#75: Move JDK baseline to Java 8
9+
610
1.6.0 (10-Oct-2023)
711

812
#70: Remove dead allocation

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</parent>
88
<artifactId>classmate</artifactId>
99
<name>ClassMate</name>
10-
<version>1.6.1-SNAPSHOT</version>
10+
<version>1.7.0-SNAPSHOT</version>
1111
<packaging>bundle</packaging>
1212
<description>Library for introspecting types with full generic information
1313
including resolving of field and method types.
@@ -34,7 +34,7 @@
3434

3535
<properties>
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37-
<version.jdk>1.6</version.jdk>
37+
<version.jdk>1.8</version.jdk>
3838

3939
<osgi.export>com.fasterxml.classmate;version=${project.version},
4040
com.fasterxml.classmate.*;version=${project.version}
@@ -111,7 +111,6 @@ com.fasterxml.classmate.*;version=${project.version}
111111
<plugin>
112112
<groupId>org.apache.maven.plugins</groupId>
113113
<artifactId>maven-javadoc-plugin</artifactId>
114-
<version>${version.plugin.javadoc}</version>
115114
<configuration>
116115
<source>${version.jdk}</source>
117116
<target>${version.jdk}</target>

0 commit comments

Comments
 (0)