Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK 9 compatibility #6

Open
4 tasks
sjoerdtalsma opened this issue Jun 15, 2016 · 3 comments
Open
4 tasks

JDK 9 compatibility #6

sjoerdtalsma opened this issue Jun 15, 2016 · 3 comments

Comments

@sjoerdtalsma
Copy link
Contributor

sjoerdtalsma commented Jun 15, 2016

  • Add Automatic-Module-Name to manifests
  • Build and run with JDK 9.
  • Add jigsaw module information.
  • Test compatibility.
@sjoerdtalsma sjoerdtalsma changed the title Add jigsaw module information to this library. JDK 9 compatibility Jul 4, 2017
@sjoerdtalsma
Copy link
Contributor Author

sjoerdtalsma commented Nov 1, 2017

For reference, see work done on the the travis / maven build for Java 9 in the umldoclet

@sjoerdtalsma
Copy link
Contributor Author

Maven hints about adding module-info.java while remaining pre-java9 compatible:
https://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html

@sjoerdtalsma
Copy link
Contributor Author

About Automatic-Module-Name:
This blog post describes why that's a good start.

<build>
    <plugins>
        <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
                <archive>
                    <manifestEntries>
                        <Automatic-Module-Name>nl.talsmasoftware.enumerables.core</Automatic-Module-Name>
                    </manifestEntries>
                </archive>
            </configuration>
        </plugin>
    </plugins>
</build>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant