OpenWebStart jnlp-api: maven distribution?
Posted: 03 Jun 2020, 00:01
Hello All,
I am currently in the progress of migrating an application from Java 1.8 (Sun) to openjdk 11 and have decided to retain OpenWebStart as the solution we prefer, as of now, for launching the migrated app. Maven is used as our build and dependency management system and openjdk 11 is our JDK.
I am having difficulty determining what artifact I should be using as a compile dependency for code that refers to the javax.jnlp package classes (for example javax.jnlp.BasicService). There are various jnlp and jnlp-api artefacts that can be found in public repositories but they all predate Java 1.8. As such, the cleanest solution (and probably the "most" legal) appears to be to compile against an API jar that is provided by OpenWebStart - although I am open to feedback about this opinion.
I have inspected the openwebstart.jar archive that is included in the installation of OpenWebStart 1.1.7 and have identified artifact "net.adoptopenjdk:jnlp-api:2.0.0-alpha13" as a logical candidate (jar:file:openwebstart.jar!META-INF/maven/net.adoptopenjdk/jnlp-api/pom.xml); however, I have been unable to locate a public repository that can provide it. Any suggestions, solutions I have overlooked? And any plans to publish any such artifact?
Thanks for taking the time to read this topic and, more importantly, the time you have spend creating and maintaining this life saving product.
Best regards,
- Andrew
I am currently in the progress of migrating an application from Java 1.8 (Sun) to openjdk 11 and have decided to retain OpenWebStart as the solution we prefer, as of now, for launching the migrated app. Maven is used as our build and dependency management system and openjdk 11 is our JDK.
I am having difficulty determining what artifact I should be using as a compile dependency for code that refers to the javax.jnlp package classes (for example javax.jnlp.BasicService). There are various jnlp and jnlp-api artefacts that can be found in public repositories but they all predate Java 1.8. As such, the cleanest solution (and probably the "most" legal) appears to be to compile against an API jar that is provided by OpenWebStart - although I am open to feedback about this opinion.
I have inspected the openwebstart.jar archive that is included in the installation of OpenWebStart 1.1.7 and have identified artifact "net.adoptopenjdk:jnlp-api:2.0.0-alpha13" as a logical candidate (jar:file:openwebstart.jar!META-INF/maven/net.adoptopenjdk/jnlp-api/pom.xml); however, I have been unable to locate a public repository that can provide it. Any suggestions, solutions I have overlooked? And any plans to publish any such artifact?
Thanks for taking the time to read this topic and, more importantly, the time you have spend creating and maintaining this life saving product.
Best regards,
- Andrew