Skip to content

Commit

Permalink
Update master (for 1.7) to require JDK 8
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 11, 2023
1 parent 08c443f commit d28f188
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ Project is licensed under [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.

## Status

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fasterxml/classmate/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fasterxml/classmate/)
[![Javadoc](https://javadoc.io/badge/com.fasterxml/classmate.svg)](http://www.javadoc.io/doc/com.fasterxml/classmate)
[![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)
| Type | Status |
| ---- | ------ |
| 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) |
| 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/) |
| 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) |
| JavaDocs | [![Javadoc](https://javadoc.io/badge/com.fasterxml/classmate.svg)](http://www.javadoc.io/doc/com.fasterxml/classmate) |
| 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) |
| 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) |

## Support

Expand Down Expand Up @@ -42,6 +47,18 @@ External links that may help include:

-----

## Compatibility

#### JDK baseline

ClassMate versions up to 1.6 require Java 6 to run.

ClassMate versions 1.7 and above require Java 8 to run

#### JPMS compatibility

ClassMate versions 1.5 and above contain `module-info.class` information to work with JPMS.

## Usage

### Maven dependency
Expand All @@ -52,7 +69,7 @@ To use ClassMate via Maven, include following dependency:
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>classmate</artifactId>
<version>1.5.1</version>
<version>1.6.0</version>
</dependency>
```

Expand Down
4 changes: 4 additions & 0 deletions VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Java ClassMate project: licensed under Apache License 2.0

Release notes:

1.7.0 (not yet released)

#75: Move JDK baseline to Java 8

1.6.0 (10-Oct-2023)

#70: Remove dead allocation
Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>
<artifactId>classmate</artifactId>
<name>ClassMate</name>
<version>1.6.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<description>Library for introspecting types with full generic information
including resolving of field and method types.
Expand All @@ -34,7 +34,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.jdk>1.6</version.jdk>
<version.jdk>1.8</version.jdk>

<osgi.export>com.fasterxml.classmate;version=${project.version},
com.fasterxml.classmate.*;version=${project.version}
Expand Down Expand Up @@ -111,7 +111,6 @@ com.fasterxml.classmate.*;version=${project.version}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.plugin.javadoc}</version>
<configuration>
<source>${version.jdk}</source>
<target>${version.jdk}</target>
Expand Down

0 comments on commit d28f188

Please sign in to comment.