I can't get past a build-script.bat issue, and I think it's because I can't figure out what certificate to install.
Core XMPP Server Failure:
[ERROR] Failed to execute goal on project xmppserver: Could not resolve dependencies for project org.igniterealtime.openfire:xmppserver:jar:4.5.0-SNAPSHOT: Could not transfer artifact org.glassfish.jaxb:jaxb-runtime:jar:4.0.0 from/to atlassian-public (https://maven.atlassian.com/repository/public): Transfer failed for https://maven.atlassian.com/repository/public/org/glassfish/jaxb/jaxb-runtime/4.0.0/jaxb-runtime-4.0.0.jar: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
Also, I don't know if this is important to the build but I get a bunch of warnings just after ===== SBRW Projects Completed =====
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.igniterealtime.openfire:xmppserver:jar:4.5.0-SNAPSHOT
[WARNING] 'dependencies.dependency.version' for javax.xml.bind:jaxb-api:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 328, column 22
[WARNING] 'dependencies.dependency.version' for org.glassfish.jaxb:jaxb-runtime:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 333, column 22
[WARNING] 'dependencies.dependency.version' for javax.activation:activation:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 338, column 22
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.igniterealtime.openfire:starter:jar:4.5.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for install4j:install4j:jar should not point at files within the project directory, ${project.basedir}/libs/i4jruntime.jar will be unresolvable by dependent projects @ line 61, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
Thanks for any help anyone would offer!
To help others open cmd window and use this line:
keytool -import -alias a -file C:\a.cer -keystore C:\AdoptOpenJDK10\lib\security\cacerts -storepass changeit
You can build the a.cer file by opening the https url in chrome, then click the padlock in the URL. Then Connection -> Certificiate is Valid -> Certification Path tab, click the top level certificate path -> View Certificate -> Details Tab -> Copy to file.
That file is what you use to add that certificate to the keystore.
I can't get past a build-script.bat issue, and I think it's because I can't figure out what certificate to install.
Core XMPP Server Failure: [ERROR] Failed to execute goal on project xmppserver: Could not resolve dependencies for project org.igniterealtime.openfire:xmppserver:jar:4.5.0-SNAPSHOT: Could not transfer artifact org.glassfish.jaxb:jaxb-runtime:jar:4.0.0 from/to atlassian-public (https://maven.atlassian.com/repository/public): Transfer failed for https://maven.atlassian.com/repository/public/org/glassfish/jaxb/jaxb-runtime/4.0.0/jaxb-runtime-4.0.0.jar: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
Also, I don't know if this is important to the build but I get a bunch of warnings just after ===== SBRW Projects Completed =====
[WARNING] [WARNING] Some problems were encountered while building the effective model for org.igniterealtime.openfire:xmppserver:jar:4.5.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for javax.xml.bind:jaxb-api:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 328, column 22 [WARNING] 'dependencies.dependency.version' for org.glassfish.jaxb:jaxb-runtime:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 333, column 22 [WARNING] 'dependencies.dependency.version' for javax.activation:activation:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 338, column 22 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.igniterealtime.openfire:starter:jar:4.5.0-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for install4j:install4j:jar should not point at files within the project directory, ${project.basedir}/libs/i4jruntime.jar will be unresolvable by dependent projects @ line 61, column 25 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING]
Thanks for any help anyone would offer!
To help others open cmd window and use this line: keytool -import -alias a -file C:\a.cer -keystore C:\AdoptOpenJDK10\lib\security\cacerts -storepass changeit
You can build the a.cer file by opening the https url in chrome, then click the padlock in the URL. Then Connection -> Certificiate is Valid -> Certification Path tab, click the top level certificate path -> View Certificate -> Details Tab -> Copy to file.
That file is what you use to add that certificate to the keystore.