RestComm / gmlc

Restcomm Location Server
http://www.restcomm.com/
GNU Affero General Public License v3.0
17 stars 37 forks source link

Release build failing with "Could not find artifact com.vendor.dialogic:gctapi:jar:6.7.1" #43

Closed angrygreenfrogs closed 8 years ago

angrygreenfrogs commented 8 years ago

New release/build.xml failure occurring for me that we'll need to sort out.

     [exec] [INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:
     [exec] [INFO] 
     [exec] [INFO] RestComm GMLC :: restcomm-gmlc-parent ............. SUCCESS [ 21.067 s]
     [exec] [INFO] Core .............................................. SUCCESS [  0.849 s]
     [exec] [INFO] Core : GMLC common Library ........................ SUCCESS [02:20 min]
     [exec] [INFO] Core : Operations and Management : CLI ............ SUCCESS [ 50.191 s]
     [exec] [INFO] Core : Domain ..................................... SUCCESS [04:16 min]
     [exec] [INFO] Core : SLEE ....................................... SUCCESS [  0.035 s]
     [exec] [INFO] Core : SLEE : Services Parent ..................... SUCCESS [  0.037 s]
     [exec] [INFO] Core : SLEE : Library ............................. SUCCESS [06:45 min]
     [exec] [INFO] Core : SLEE : Services Sbbs ....................... SUCCESS [02:05 min]
     [exec] [INFO] Core : SLEE : GMLC Services DU .................... SUCCESS [  6.370 s]
     [exec] [INFO] Core : Bootstrap .................................. FAILURE [ 45.973 s]
     [exec] [INFO] RestComm GMLC :: Tools :: Parent .................. SKIPPED
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] BUILD FAILURE
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Total time: 19:12 min
     [exec] [INFO] Finished at: 2016-07-09T09:24:00+10:00
     [exec] [INFO] Final Memory: 56M/152M
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [WARNING] The requested profile "assembly" could not be activated because it does not exist.
     [exec] [ERROR] Failed to execute goal on project bootstrap: Could not resolve dependencies for project org.mobicents.gmlc:bootstrap:jar:1.0.0-SNAPSHOT: Could not find artifact com.vendor.dialogic:gctapi:jar:6.7.1 in mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public) -> [Help 1]
angrygreenfrogs commented 8 years ago

This was just a known missing dependency for the release build process.

You have to pre-install the gctapi package. This will be added to the README shortly.

# Install jss7 dependencies, via https://github.com/RestComm/jss7/wiki/Build-jSS7-from-Source
cd ~
mkdir jss7_dependency
cd jss7_dependency
wget https://www.dialogic.com/files/DSI/developmentpackages/linux/dpklnx.Z
tar --no-same-owner -zxvf dpklnx.Z
mvn install:install-file -DgroupId=com.vendor.dialogic -DartifactId=gctapi -Dversion=6.7.1 -Dpackaging=jar -Dfile=./JAVA/gctApi.jar
wget http://www.datanucleus.org/downloads/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=jmxtools-1.2.1.jar
angrygreenfrogs commented 8 years ago

I generally updated the install instructions, and added this missing dependency as stated above

Commit https://github.com/RestComm/gmlc/commit/de013a5842ebdbbbb26db6721776ccfd01c329f9