powered by Jive Software

Openfire build package

Hello Community,

which is the easiest way to change openfire class,
compile openfire and update installed openfire version

I installed Maven,
navigate into the root direcotry of this distribution named via the command-line:
and call mvn compile

I have got one error

[ERROR] Failed to execute goal on project distribution: Could not resolve dependencies for project org.igniterealtime.openfire:distribution:jar:4.3.2: Failed to collect dependencies at org.igniterealtime.openfire.plugins:search:jar:openfire-plugin-assembly:1.7.1: Failed to read artifact descriptor for org.igniterealtime.openfire.plugins:search:jar:openfire-plugin-assembly:
1.7.1: Could not transfer artifact org.igniterealtime.openfire.plugins:search:pom:1.7.1 from/to igniterealtime (https://igniterealtime.org/archiva/repository/maven/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I found Search-Plugin 1.7.1 here

These 3 urls are mentioned in the maven output

  1. Downloading from ej-technologies:

resource Not Found

  1. Downloading from igniterealtime:

resource exists

  1. Downloading from central:

resource Not Found

how can I fix it?

thank you

The second call of mvn compile use only one url:

Downloading from igniterealtime:

{code}sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target{code}

This part of the error suggests that your computer does not trust the certificate that is being used by our Maven repository. As far as I can tell, it is a valid certificate. We’re using a LetsEncrypt-signed certificate - maybe you need to explicitly trust it?

thank you

the boath certificates are valid and now in computer certificates store on windows server installed.

  • CN = Let’s Encrypt Authority X3
  • CN = DST Root CA X3

But the error is not away.

from the site

  1. The remote repository in question uses SSL and the JVM running Maven does not trust the certificate of the server.

I don’t found where by maven self a certificate can be set.

there is some warning about dependency by start too:

I suspect updating to the latest Java 8 release will fix this. Via open_chat found that ofIgor was using 1.8.0_73 see here

java updated, server rebooted, the same error
java version “1.8.0_221”

By update of java, it was proposed from java, at first delete old java-installation, but I update it.

JAVA_HOME has C:\Program Files\Java\jdk1.8.0_31\

run java -version on the console again and behold your default.

For java-download I needed a company account by oracle.
I have got jdk-8u221-windows-x64.exe and install it now.

java version “1.8.0_221”
Java™ SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot™ 64-Bit Server VM (build 25.221-b11, mixed mode)

JAVA_HOME change to new Java-SDK C:\Program Files\Java\jdk1.8.0_221

I have Openfire 4.3.2 installed on the Windows Server.
Openfire is running as service.

I hvae a modivied Openfire 4.3.2 distribution.

How can I update the instlled version?


distribution (created with maven)

I update the lib

C:\Program Files (x86)\Openfire\lib

Openfire is running