Author Message
thburri
Joined: Oct 24, 2018
Messages: 11
Offline
Hello everybody
I currently try to install the presence-Connector-Snapin 8.0.0.2 on my Computer. The maven-build however throws the following error:

Scanning for projects...
[INFO] Downloading from : https://nexus-ott.forge.avaya.com/repository/psng-maven/com/avaya/commons/commons-project-pom/1.2/commons-project-pom-1.2.pom
[INFO] Downloading from : https://repo.maven.apache.org/maven2/com/avaya/commons/commons-project-pom/1.2/commons-project-pom-1.2.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.avaya.presence:psconnector:8.0.2.0-SNAPSHOT: Could not transfer artifact com.avaya.commons:commons-project-pom:pom:1.2 from/to psng-maven (https://nexus-ott.forge.avaya.com/repository/psng-maven/): https://nexus-ott.forge.avaya.com/repository/psng-maven @ com.avaya.presence:psconnector:8.0.2.0-SNAPSHOT, C:\Users\tbu\.m2\repository\com\avaya\presence\psconnector\8.0.2.0-SNAPSHOT\psconnector-8.0.2.0-SNAPSHOT.pom, line 6, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.avaya.zephyr.services:psconnector-testservice:[unknown-version] (C:\Users\tbu\Avaya\3.6\Avaya-Breeze-SDK\samples\presenceconnector\psconnector-testservice\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.avaya.presence:psconnector:8.0.2.0-SNAPSHOT: Could not transfer artifact com.avaya.commons:commons-project-pom:pom:1.2 from/to psng-maven (https://nexus-ott.forge.avaya.com/repository/psng-maven/): https://nexus-ott.forge.avaya.com/repository/psng-maven @ com.avaya.presence:psconnector:8.0.2.0-SNAPSHOT, C:\Users\tbu\.m2\repository\com\avaya\presence\psconnector\8.0.2.0-SNAPSHOT\psconnector-8.0.2.0-SNAPSHOT.pom, line 6, column 11: Unknown host https://nexus-ott.forge.avaya.com/repository/psng-maven -> [Help 2]
[ERROR]
It seems, that Maven cannot access the nexus-repository. I tried this from Home, so it cannot be a Proxy-Issue.
I looked into the following Post:
https://www.devconnectprogram.com/forums/posts/list/21362.page
There it is written, that I have to download the Certificates, but I am not able to access any of the pages, suggested there. I also executed the batch file in the Zip-Folder, all the builds were Successful and are located in the local Maven-Repository.

Regards Thomas
MilosPujic2
Joined: Jul 10, 2019
Messages: 4
Offline
Hi Thomas,

The Presence Services Connector Snap-in is not meant to be rebuilt by application developers. The Presence Services Connector Snap-in installation artifact (the svar-file) is distributed via Avaya PLDS. The svar-file is part of the so called PS-bundle e.g.
• bundle PresenceServices-Bundle-8.1.1.0.61.zip
• contains PresenceServices-Connector-8.1.1.0.18.svar in the bundle’s root directory
The svar just needs to be deployed on the Breeze cluster you are using for your application.

The bundle also contains a “Avaya Aura® PS Connector SDK Reference Guide” e.g.
• bundle PresenceServices-Bundle-8.1.1.0.61.zip
• encloses PresenceServices-OptionalComponents-8.1.1.0.16.zip
• encloses PresenceServices-Connector-SDK-8.1.1.0.18.zip
• which contains PSConnectorSDKUserGuide.pdf

Section 8 of the Guide describes how to setup the development environment for the application development if the use of the Presence Connector is desired (“Developing Avaya Breeze Snap-In that Uses PSC”). Note that a script provided in the same directory as the guide (namely install.bat or install.sh) has to be executed on the development machine to populate the local Maven repository with the required artifacts. If this is done, there is no need to access the Avaya Nexus repository (which, by the way, is not publicly accessible).

Did you follow the Presence Connector SDK installation steps outlined in the guide?

I hope this helps.

Regards,
Milos
Filename PSConnectorSDKUserGuide.pdf [Disk] Download
thburri
Joined: Oct 24, 2018
Messages: 11
Offline
Hello Milos
Thank you for your answer. I downloaded the svar file with the bundle and this part works. I still do have problems with psclient-api though:

I followed the Instructions in your Documentation.
In the bundle there was an install.bat file, which I executed. All builds were Successful.
If I check my local maven repository I see the following files:
"psclient-api-8.0.1.0-SNAPSHOT.jar" with a Size of 52 kb
"psclient-api-8.0.1.0-SNNAPSHOT.pom" with a Size of 5 kb
As well as a remote-repositories file and javadoc jar file (Size 167 kb).

Maven Error goes as follows:

Failed to execute goal on project helloservice-war: Could not resolve dependencies for project com.avaya.zephyr.services.sample_services:helloservice-war:war:3.6.0.1.360106: Failed to collect dependencies at com.avaya.presence:psclient-api:jar:8.1.0.0-SNAPSHOT: Failed to read artifact descriptor for com.avaya.presence:psclient-api:jar:8.1.0.0-SNAPSHOT: Could not transfer artifact com.avaya.commons:commons-project-pom:pom:1.2 from/to central (https://repo.maven.apache.org/maven2): https://nexus-ott.forge.avaya.com/repository/psng-maven: Unknown host https://nexus-ott.forge.avaya.com/repository/psng-maven -> [Help 1]
[ERROR]

When I checked my local repository, the folder commons-project-pom was indeed only containing a "lastupdatedfile".
There was a Folder with the psclientapi folder (above) and a psconnector folder with only a pom file.
The other builds like the collaborationbus or avaya-commons-lang, where built, contained a jar and a pom file.
Seems like I am missing this repository.

Update: I found the com.avaya.commons.commons-project-pom in the configuration. The parent of the psclient-api in the pom is the psconnector pom file. And the parent of this one, is the artifact which cannot be transferred.
Within psconnector pom I found a lot of dependencies which I did not have Installed - for examplre psng-logging or psng-data-object. I presume these are from the Nexus-Repository.
It seems like the psconnector dependencies were not downloaded from the repository - only the psclientapi.


Regards
Thomas

Go to:   
Mobile view