Update Smack library to 4.4

Description

Smack 4.4.0 was just released https://discourse.igniterealtime.org/t/smack-4-4-0-released/89283

Changes that must be done:

Main pom.xml:

change Smack version to 4.4.0

core/pom.xml:

  • change to smack-java8

  • remove smack-compression-jzlib

Other failing code:

core/src/main/java/org/jivesoftware/sparkimpl/plugin/gateways/transports/TransportUtils.java:[196,12] cannot find symbol
symbol: method sendStanzaWithResponseCallback(org.jivesoftware.smackx.iqregister.packet.Registration,org.jivesoftware.smack.filter.IQReplyFilter,(stanza)->[...]; } })
location: variable con of type org.jivesoftware.smack.XMPPConnection

core/src/main/java/org/jivesoftware/sparkimpl/plugin/gateways/transports/TransportUtils.java:[205,12] org.jivesoftware.sparkimpl.plugin.gateways.transports.TransportUtils.GatewayRegisterExtension is not abstract and does not override abstract method toXML(org.jivesoftware.smack.packet.XmlEnvironment) in org.jivesoftware.smack.packet.Element

core/src/main/java/org/jivesoftware/AccountCreationWizard.java:[375,41] cannot find symbol
symbol: method resolveXMPPServiceDomain(org.minidns.dnsname.DnsName,<nulltype>,org.jivesoftware.smack.ConnectionConfiguration.DnssecMode)
location: class org.jivesoftware.smack.util.DNSUtil

core/src/main/java/org/jivesoftware/spark/ui/conferences/ConferenceUtils.java:[293,19] org.jivesoftware.smack.SmackException is abstract; cannot be instantiated

core/src/main/java/org/jivesoftware/spark/ui/conferences/ConferenceUtils.java:[298,13] cannot find symbol
symbol: class Form
location: class org.jivesoftware.spark.ui.conferences.ConferenceUtils

core/src/main/java/org/jivesoftware/spark/ui/conferences/ConferenceUtils.java:[298,67] cannot find symbol
symbol: method createAnswerForm()
location: class org.jivesoftware.smackx.xdata.form.Form

Environment

None

Priority

Major

Assignee

Florian Schmaus

Reporter

wroot

Labels

Affects versions

Fix versions

Components