Skip to content

Commit

Permalink
Add classic jar file
Browse files Browse the repository at this point in the history
For those that can't handle module-info.class
Fixes #188
  • Loading branch information
jodastephen committed Mar 13, 2018
1 parent 281fbfa commit 55ac267
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.joda</groupId>
<artifactId>joda-parent</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>joda-beans</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions src/changes/changes.xml
Expand Up @@ -14,6 +14,10 @@
Aliases are useful for handling the rename of properties.
Fixes #187.
</action>
<action dev="jodastephen" type="fix">
Add classic jar file for those that can't handle module-info.class.
Fixes #188.
</action>
</release>
<release version="2.1" date="2018-02-19" description="v2.1">
<action dev="jodastephen" type="remove">
Expand Down
12 changes: 12 additions & 0 deletions src/site/markdown/index.md
Expand Up @@ -123,6 +123,18 @@ Available in [Maven Central](http://search.maven.org/#artifactdetails%7Corg.joda
</dependency>
```

The main jar file is based on Java 8 but contains a `module-info.class` file for Java 9 and later.
If you have problems with this, there is a "classic" variant you can use instead:

```xml
<dependency>
<groupId>org.joda</groupId>
<artifactId>joda-beans</artifactId>
<version>2.1.1</version>
<classifier>classic</classifier>
</dependency>
```

For Java SE 6 compatibility, use [release 1.14](https://github.com/JodaOrg/joda-beans/releases/tag/v1.14).

See the [related projects](related.html) page for Maven, Gradle and IntelliJ integration.
Expand Down

0 comments on commit 55ac267

Please sign in to comment.