[smscgateway] BUILD FAILURE

479 views
Skip to first unread message

James Carpenter

unread,
Feb 12, 2015, 4:06:24 PM2/12/15
to mobicent...@googlegroups.com
Hi everyone,

After several weeks of tinkering with smscgateway, I am still unable to get a successful build.

I've tried the following:
CentOS7 with Maven3 and JDK7: Missing artifact
CentOS6 with Maven3 and JDK7: Missing artifact
Ubuntu14 with Maven3 and JDK7:
[ERROR] Failed to execute goal on project smpp-server-ra-library: Could not resolve dependencies for project org.mobicents.smsc:smpp-server-ra-library:jar:1.0.0.ALPHA-SNAPSHOT: Failed to collect dependencies at cloudhopper:ch-smpp:jar:4.1.2: Failed to read artifact descriptor for cloudhopper:ch-smpp:jar:4.1.2: Could not transfer artifact cloudhopper:ch-smpp:pom:4.1.2 from/to cloudhopper-public (http://maven.cloudhopper.com/repos/third-party): Connection reset -> [Help 1]


It seems even installing each module one-by-one I am still unsuccessful. For instance, I was successfully able to install jasn, sctp, jss7, and jain-slee individually, but when compiling the smscgateway using both google and git repos, it cannot compile due to missing artifacts or in some cases an error in the pom file.

Can someone please point me the right direction? I know I must be missing something.

Thanks in advance, as I look forward to integration with MSC, once the software can be compiled that is. Any and all direction/assistance is gratefully appreciated :)    Who knows, hopefully I will be able to return the favor one day.


Best Regards,
Jim Carpenter

Jean Deruelle

unread,
Feb 12, 2015, 4:26:54 PM2/12/15
to mobicents-public
Did you try updating the dependency to latest version http://mvnrepository.com/artifact/com.cloudhopper/ch-smpp/5.0.7 ?

Jean

--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Carpenter

unread,
Feb 12, 2015, 4:33:40 PM2/12/15
to mobicent...@googlegroups.com
Hello Mr. Deruelle, 

Appreciate the response! Thank you. What your saying makes sense, but I'm still lacking in knowledge.

When you say update the dependency, do you mean edit the pom file that points to the older version with the new version?



Regards,
Jim Carpenter

Jean Deruelle

unread,
Feb 12, 2015, 4:49:10 PM2/12/15
to mobicents-public
Yes replace it with 

<dependency>
<groupId>com.cloudhopper</groupId>
<artifactId>ch-smpp</artifactId>
<version>5.0.7</version>
</dependency>

Best Regards,
Jean

James Carpenter

unread,
Feb 12, 2015, 4:51:37 PM2/12/15
to mobicent...@googlegroups.com

Your awesome! Thank you kindly, that is a great start. Since numerous dependencies exist, I will do this with each of them and let y'all know if I am able to get a successful compilation.

Appreciate the time taken to help, thank you.

Regards,
Jim Carpenter

James Carpenter

unread,
Feb 12, 2015, 5:22:00 PM2/12/15
to mobicent...@googlegroups.com
Hi Jean,

Sorry, hit the wrong button and sent you a private message by accident.

I'm running into the same problem, except this time it is a different repo: org.mobicents.com.

How can I find out what the newest version is in this instance? The error is below. It seems an error in the POM, but I'm unsure how to browse the org.mobicents.smsc repo to find the newer version. What am I overlooking?

Non-resolvable parent POM: Could not find artifact org.mobicents.smsc:core:pom:2.0.0.ALPHA-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.mobicents.smsc:core:pom:2.0.0.ALPHA-SNAPSHOT

Amit Bhayani

unread,
Feb 13, 2015, 12:19:29 AM2/13/15
to mobicents-public
Hi James,

We are in process of updating Mobicents SMSC. Can we request you to have patience with us till we commit newer version?

Amit.

James Carpenter

unread,
Feb 13, 2015, 9:26:16 AM2/13/15
to mobicent...@googlegroups.com
Hi Amit,

Patience is part of the job, no worries. In the meantime, I'll  be documenting the dependencies for building smsc on CentOS, as I've been using Andrew's guide using Ubuntu up til now (thanks Andrew). 

Once I am able to get a successful smsc built i will post what I've documented. Thanks again for the response, appreciate it.


V/r,
James Carpenter

amine elaji

unread,
Mar 6, 2015, 5:03:26 PM3/6/15
to mobicents-public

Hi dear mobicents community,

Any update about new smsc version?

Thanks :)

Regards

Amine

--
Message has been deleted

James Carpenter

unread,
Apr 8, 2015, 6:22:00 PM4/8/15
to mobicent...@googlegroups.com
Hi Amit,

It has been two months since you asked for my patience. Do you have any updates as to successfully building an smscgateway?

The build seems to be stuck on the same error as before, I have included this error below.

Please let me know what you think.


Best Regards,
Jim Carpenter, MISM, MBA
System Administrator II


[INFO] Building Core : SLEE : SMPP Server RA Library
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
Downloading: https://oss.sonatype.org/content/groups/public/org/mobicents/tools/maven-library-plugin/1.0.0.FINAL/maven-library-plugin-1.0.0.FINAL.pom
Downloading: https://repository.jboss.org/nexus/content/groups/public//org/mobicents/tools/maven-library-plugin/1.0.0.FINAL/maven-library-plugin-1.0.0.FINAL.pom
3K downloaded
Downloading: https://repository.jboss.org/nexus/content/groups/public/org/mobicents/mobicents-parent/2.17/mobicents-parent-2.17.pom
Downloading: https://oss.sonatype.org/content/groups/public/org/mobicents/tools/maven-library-plugin/1.0.0.FINAL/maven-library-plugin-1.0.0.FINAL.jar
Downloading: https://repository.jboss.org/nexus/content/groups/public//org/mobicents/tools/maven-library-plugin/1.0.0.FINAL/maven-library-plugin-1.0.0.FINAL.jar
12K downloaded
[INFO] [clean:clean]
Downloading: http://repository.jboss.org/nexus/content/groups/public/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.pom
Downloading: http://repository.jboss.org/nexus/content/repositories/releases//cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.pom
Downloading: http://maven.cloudhopper.com/repos/third-party/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.pom
Downloading: https://oss.sonatype.org/content/groups/public/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated//cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.pom
Downloading: http://repo1.maven.org/maven2/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.pom
Downloading: http://repository.jboss.org/nexus/content/groups/public/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.jar
Downloading: http://repository.jboss.org/nexus/content/repositories/releases//cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.jar
Downloading: http://maven.cloudhopper.com/repos/third-party/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.jar
Downloading: https://oss.sonatype.org/content/groups/public/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.jar
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated//cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.jar
Downloading: http://repo1.maven.org/maven2/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/log4j/log4j/1.2.14/log4j-1.2.14.jar
Downloading: http://repository.jboss.org/nexus/content/repositories/releases//log4j/log4j/1.2.14/log4j-1.2.14.jar
Downloading: http://maven.cloudhopper.com/repos/third-party/log4j/log4j/1.2.14/log4j-1.2.14.jar
Downloading: https://oss.sonatype.org/content/groups/public/log4j/log4j/1.2.14/log4j-1.2.14.jar
358K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) cloudhopper:ch-smpp:jar:4.1.2
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=4.1.2 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=4.1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp-server-ra-library:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:4.1.2
----------
1 required artifact is missing.
for artifact:
  org.mobicents.smsc:smpp-server-ra-library:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  central (http://repo1.maven.org/maven2),
  cloudhopper-public (http://maven.cloudhopper.com/repos/third-party),
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) cloudhopper:ch-smpp:jar:4.1.2
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=4.1.2 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=4.1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp-server-ra-library:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:4.1.2
----------
1 required artifact is missing.
for artifact:
  org.mobicents.smsc:smpp-server-ra-library:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  central (http://repo1.maven.org/maven2),
  cloudhopper-public (http://maven.cloudhopper.com/repos/third-party),
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) cloudhopper:ch-smpp:jar:4.1.2
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=4.1.2 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=4.1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp-server-ra-library:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:4.1.2
----------
1 required artifact is missing.
for artifact:
  org.mobicents.smsc:smpp-server-ra-library:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  central (http://repo1.maven.org/maven2),
  cloudhopper-public (http://maven.cloudhopper.com/repos/third-party),
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:324)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288)
        at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1415)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:405)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 52 seconds
[INFO] Finished at: Wed Apr 08 22:45:51 PDT 2015
[INFO] Final Memory: 40M/154M
[INFO] ------------------------------------------------------------------------


Ibrahima Gaye

unread,
Apr 8, 2015, 6:57:41 PM4/8/15
to mobicent...@googlegroups.com
Hi,
you can modify the pom and compile it
Regards,
PS:


------
Ibrahim


pom.xml

James Carpenter

unread,
Apr 8, 2015, 7:42:01 PM4/8/15
to mobicent...@googlegroups.com
Hi Ibrahim,

Thank you for your response. While, I am sure this file is useful to some, I am unsure what you mean by change the pom and compile it. I replaced the primary pom with this one, but its leading to dependency errors for all the other pom files within the project. Errors pasted below. Any way around this?

Also, has anyone used maven 3 to compile this? As maven 2 has reached EOF and I am unable to find the source code.

Any direction or assistance is greatly appreciated.

[root@centos smscgateway]# mvn clean install -e -Dmaven.test.skip=true
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/mobicents-parent/2.26/mobicents-parent-2.26.pom
Downloading: http://repository.jboss.org/nexus/content/repositories/releases//org/mobicents/mobicents-parent/2.26/mobicents-parent-2.26.pom
Downloading: https://oss.sonatype.org/content/groups/public/com/org/mobicents/mobicents-parent/2.26/mobicents-parent-2.26.pom
Downloading: http://oss.sonatype.org/content/groups/public//org/mobicents/mobicents-parent/2.26/mobicents-parent-2.26.pom
178b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
<head><title>301' - RETRYING
Downloading: http://oss.sonatype.org/content/groups/public//org/mobicents/mobicents-parent/2.26/mobicents-parent-2.26.pom
178b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
<head><title>301' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.mobicents.smsc:parent:pom:1.0.0.ALPHA-SNAPSHOT
Reason: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.smsc:parent:pom:1.0.0.ALPHA-SNAPSHOT for project org.mobicents.smsc:parent:pom:1.0.0.ALPHA-SNAPSHOT

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.smsc:parent:pom:1.0.0.ALPHA-SNAPSHOT for project org.mobicents.smsc:parent:pom:1.0.0.ALPHA-SNAPSHOT
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.smsc:parent:pom:1.0.0.ALPHA-SNAPSHOT for project org.mobicents.smsc:parent:pom:1.0.0.ALPHA-SNAPSHOT
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
        at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
        ... 11 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM. for project org.mobicents:mobicents-parent at /root/.m2/repository/org/mobicents/mobicents-parent/2.26/mobicents-parent-2.26.pom
        at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1581)
        at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1553)
        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:560)
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
        ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Apr 09 00:08:48 PDT 2015
[INFO] Final Memory: 4M/44M
[INFO] ------------------------------------------------------------------------



Best Regards,
Jim Carpenter, MISM
System Administrator II

James Carpenter

unread,
Apr 8, 2015, 8:25:22 PM4/8/15
to mobicent...@googlegroups.com
Hi Ibrahim & All,


Okay, so I found maven2 in the archives and tested with it, but resulted in the same error. I skewered through the primary pom file rather than replacing it with the file Ibrahim attached, but it is still saying 2 artifacts are missing. This time it is referencing the ch-smpp:jar:5.0.0 rather than the old 4.2.0 version. Is 5.0.0 the correct version? Or do all of the pom files need updating, not just the primary?

Below are the results using Maven 2 and Maven 3 on CentOS 6

Results using CentOS 6.5 x86_64, JDK 1.7, & Maven 2:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) cloudhopper:ch-smpp:jar:5.0.0
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:5.0.0
2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
----------
2 required artifacts are missing.
for artifact:
  org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) cloudhopper:ch-smpp:jar:5.0.0
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:5.0.0
2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
----------
2 required artifacts are missing.
for artifact:
  org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) cloudhopper:ch-smpp:jar:5.0.0
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:5.0.0
2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
----------
2 required artifacts are missing.
for artifact:
  org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:

        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
        at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)

        ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 minutes 56 seconds
[INFO] Finished at: Wed Apr 08 17:20:43 PDT 2015
[INFO] Final Memory: 34M/99M
[INFO] ------------------------------------------------------------------------
[root@smscgateway01 smscgateway]# java -version
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

Results using CentOS 6.5 x86_64, JDK1.8, & Maven 3:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
2) cloudhopper:ch-smpp:jar:5.0.0
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:5.0.0
----------
2 required artifacts are missing.
for artifact:
  org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  central (http://repo1.maven.org/maven2),
  cloudhopper-public (http://maven.cloudhopper.com/repos/third-party),
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
2) cloudhopper:ch-smpp:jar:5.0.0
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:5.0.0
----------
2 required artifacts are missing.
for artifact:
  org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  central (http://repo1.maven.org/maven2),
  cloudhopper-public (http://maven.cloudhopper.com/repos/third-party),
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mobicents.protocols.ss7.management -DartifactId=shell -Dversion=2.1.0.FINAL -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) org.mobicents.protocols.ss7.management:shell:jar:2.1.0.FINAL
2) cloudhopper:ch-smpp:jar:5.0.0
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=cloudhopper -DartifactId=ch-smpp -Dversion=5.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
        1) org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
        2) cloudhopper:ch-smpp:jar:5.0.0
----------
2 required artifacts are missing.
for artifact:
  org.mobicents.smsc:smpp:jar:1.0.0.ALPHA-SNAPSHOT
from the specified remote repositories:
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  central (http://repo1.maven.org/maven2),
  cloudhopper-public (http://maven.cloudhopper.com/repos/third-party),
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:324)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288)
        at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1415)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:405)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 11 seconds
[INFO] Finished at: Thu Apr 09 00:50:34 PDT 2015
[INFO] Final Memory: 24M/174M
[INFO] ------------------------------------------------------------------------
[root@centos smscgateway]# java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Server VM (build 25.31-b07, mixed mode)


Best Regards,
Jim Carpenter

Ibrahima Gaye

unread,
Apr 9, 2015, 5:31:18 AM4/9/15
to mobicent...@googlegroups.com
Hello James,
i have just retested:
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /home/ibstelix/projects/telco/mobicents/SMSCGW/test/oam/target/test-oam-1.0.0.ALPHA-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/ibstelix/projects/telco/mobicents/SMSCGW/test/oam/target/test-oam-1.0.0.ALPHA-SNAPSHOT.jar to /home/ibstelix/.m2/repository/org/mobicents/smsc/test-oam/1.0.0.ALPHA-SNAPSHOT/test-oam-1.0.0.ALPHA-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Test : Bootstrap
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /home/ibstelix/projects/telco/mobicents/SMSCGW/test/bootstrap/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to /home/ibstelix/projects/telco/mobicents/SMSCGW/test/bootstrap/target/classes
[INFO] [bundle:manifest {execution: bundle-manifest}]
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/ibstelix/projects/telco/mobicents/SMSCGW/test/bootstrap/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /home/ibstelix/projects/telco/mobicents/SMSCGW/test/bootstrap/target/run.jar
[INFO] [assembly:directory-inline {execution: default}]
[INFO] Reading assembly descriptor: src/main/assembly/descriptor.xml
[INFO] Copying files to /home/ibstelix/projects/telco/mobicents/SMSCGW/test/bootstrap/target/smsc-server
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/ibstelix/projects/telco/mobicents/SMSCGW/test/bootstrap/target/run.jar to /home/ibstelix/.m2/repository/org/mobicents/smsc/test-bootstrap/1.0.0.ALPHA-SNAPSHOT/test-bootstrap-1.0.0.ALPHA-SNAPSHOT.jar
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Mobicents SMSC Parent ................................. SUCCESS [2.278s]
[INFO] Core .................................................. SUCCESS [0.016s]
[INFO] Core : SMPP Server .................................... SUCCESS [7.295s]
[INFO] Core : Operations and Management : CLI ................ SUCCESS [1.496s]
[INFO] Core : SLEE ........................................... SUCCESS [0.029s]
[INFO] Core : SLEE : SMPP Server RA Parent ................... SUCCESS [0.012s]
[INFO] Core : SLEE : SMPP Server RA Library .................. SUCCESS [2.363s]
[INFO] Core : SLEE : SMPP Server RA Events ................... SUCCESS [0.783s]
[INFO] Core : SLEE : SMPP Server RA Type ..................... SUCCESS [0.800s]
[INFO] Core : SLEE : SMPP Server RA .......................... SUCCESS [1.650s]
[INFO] Core : SLEE : SMPP Server RA DU ....................... SUCCESS [2.141s]
[INFO] Core : SLEE : Services Parent ......................... SUCCESS [0.026s]
[INFO] Core : SLEE : Services Events ......................... SUCCESS [0.577s]
[INFO] Core : SLEE : Services Alert SBB ...................... SUCCESS [2.357s]
[INFO] Core : SLEE : Services Tx SMPP Server SBB ............. SUCCESS [1.242s]
[INFO] Core : SLEE : Services Rx SMPP Server SBB ............. SUCCESS [0.701s]
[INFO] Core : SLEE : Services Mt SBB ......................... SUCCESS [1.408s]
[INFO] Core : SLEE : Services Mo SBB ......................... SUCCESS [0.884s]
[INFO] Core : SLEE : Service DU .............................. SUCCESS [0.667s]
[INFO] Core : Bootstrap ...................................... SUCCESS [3.829s]
[INFO] Test .................................................. SUCCESS [0.087s]
[INFO] Test : MapModule ...................................... SUCCESS [0.867s]
[INFO] Test : Operations and Management ...................... SUCCESS [0.767s]
[INFO] Test : Bootstrap ...................................... SUCCESS [2.824s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37 seconds
[INFO] Finished at: Thu Apr 09 09:29:12 GMT 2015
[INFO] Final Memory: 123M/841M
[INFO] ------------------------------------------------------------------------

I will upload all my modification and let you get it.
Best regards,

------
Ibrahim


--

Ibrahima Gaye

unread,
Apr 9, 2015, 7:10:11 AM4/9/15
to mobicent...@googlegroups.com
Hello,
you can get my files from here: https://github.com/ibstelix/smscgateway.git
this is my first github usage i don't know if it will work :-/
Working with ss7 version 2.1.0.Final ...
All the command in the test document will not work, i have not finish modigying it;

Regards,

------
Ibrahim

James Carpenter

unread,
Apr 9, 2015, 9:47:09 AM4/9/15
to mobicent...@googlegroups.com
Mornin' Ibrahim,

Thank you for your response and efforts; I greatly appreciate it and cannot wait to get this software compiled :)

The first thing I noticed about running maven against your repo was the speed in which the files were downloaded. The mobicents version seems to take longer to resolve and retrieve each file.

At the moment, I cloned your repo and tested it on Fedora 21 w/ mvn3, openjdk1.8 (which clearly isn't ideal) and am getting the same error on mobicents as your repo. An smsc-cli missing artifact error. I will test it on CentOS with more ideal versions of the software above later on. Thanks again.

Your Version:
[ERROR]   The project org.mobicents.smsc:smsc-cli:[unknown-version] (/github/smscgateway/core/oam/cli/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:187)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:236)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:898)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:750)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:452)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:421)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:537)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:421)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:537)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:421)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:386)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:664)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:654)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:243)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:462)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:264)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:241)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:315)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:183)
... 26 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:452)
... 30 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Mobicents Version:
[ERROR]   The project org.mobicents.smsc:smsc-cli:[unknown-version] (/mobicents/smscgateway/core/oam/cli/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:187)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:236)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:898)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:750)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:452)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:421)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:537)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:421)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:537)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:421)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:386)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:664)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:654)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:243)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:462)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:264)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:241)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:315)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:183)
... 26 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:452)
... 30 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Ibrahima Gaye

unread,
Apr 9, 2015, 12:36:35 PM4/9/15
to mobicent...@googlegroups.com
Hello,
which maven version are you using?
i used maven2.
regards

------
Ibrahim


James Carpenter

unread,
Apr 9, 2015, 2:10:34 PM4/9/15
to mobicent...@googlegroups.com
Hi Ibrahim,

While I thought the compilation would finally be successful; I had no luck, but it is finally not a missing artifact error.

The first error indicated it could not find https://oss.sontaype.org/content/groups/public/com/org. So I looked on the website and saw that the repo resides in org, without the com portion. So, I just deleted the com portion on line 193 of the primary pom.xml.

Now I am getting the error below using CentOS 6, Maven 2, JDK 1.7 and CentOS 6, Maven 2, JDK 1.8. Any ideas?


Test One:
[root@smscgateway01 smscgateway]# java -version
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
[root@smscgateway01 smscgateway]# ant -version
Apache Ant(TM) version 1.9.4 compiled on April 29 2014
[root@smscgateway01 smscgateway]# mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.7.0_75
Java home: /usr/local/src/jdk1.7.0_75/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-504.el6.x86_64" arch: "amd64" Family: "unix"
[root@smscgateway01 smscgateway]# uname -a
Linux smscgateway01 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Error:
[DEBUG]   Artifact resolved
[DEBUG]  The following artifacts were filtered out for plugin: org.apache.maven.plugins:maven-clean-plugin:2.2 because they're already in the core of Maven:
org.apache.maven:maven-project:jar:2.0:runtime
org.apache.maven:maven-plugin-api:jar:2.0:runtime
These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts().

[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.2:clean' -->
[DEBUG]   (f) directory = /mobicents/unofficial-builds/ibstelix/smscgateway/target
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /mobicents/unofficial-builds/ibstelix/smscgateway/target/classes
[DEBUG]   (f) project = MavenProject: org.mobicents.smsc:parent:1.0.0.ALPHA-SNAPSHOT @ /mobicents/unofficial-builds/ibstelix/smscgateway/pom.xml
[DEBUG]   (f) reportDirectory = /mobicents/unofficial-builds/ibstelix/smscgateway/target/site
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /mobicents/unofficial-builds/ibstelix/smscgateway/target/test-classes
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [clean:clean]
[FATAL ERROR] org.apache.maven.plugin.clean.CleanMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-clean-plugin]
urls[0] = file:/root/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar
urls[1] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[2] = file:/root/.m2/repository/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar
urls[3] = file:/root/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/local/apache-maven/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/apache/maven/shared/io/logging/MessageSink
org.apache.maven.shared.io.logging.MessageSink
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoClassDefFoundError: org/apache/maven/shared/io/logging/MessageSink
        at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:171)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.apache.maven.shared.io.logging.MessageSink
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
        at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 19 more
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 37 seconds
[INFO] Finished at: Thu Apr 09 18:26:14 PDT 2015
[INFO] Final Memory: 16M/227M
[INFO] ------------------------------------------------------------------------

Test Two:
[root@centos smscgateway]# java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Server VM (build 25.31-b07, mixed mode)
[root@centos smscgateway]# ant -version
Apache Ant version 1.7.0 compiled on December 13 2006
[root@centos smscgateway]# mvn -version
Maven version: 2.0.9
Java version: 1.8.0_31
OS name: "linux" version: "2.6.32-504.3.3.el6.i686" arch: "i386" Family: "unix"
[root@centos smscgateway]# uname -a
Linux centos.testsmsc 2.6.32-504.3.3.el6.i686 #1 SMP Tue Dec 16 22:55:44 UTC 2014 i686 i686 i386 GNU/Linux

Error:
[DEBUG] Using Wagon implementation lightweight from default mapping for protocol http
[DEBUG]   Artifact resolved
[DEBUG]  The following artifacts were filtered out for plugin: org.apache.maven.plugins:maven-clean-plugin:2.2 because they're already in the core of Maven:
org.apache.maven:maven-project:jar:2.0:runtime
org.apache.maven:maven-plugin-api:jar:2.0:runtime
These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts().

[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.2:clean' -->
[DEBUG]   (f) directory = /mobicents/unofficial-builds/ibstelix/smscgateway/target
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /mobicents/unofficial-builds/ibstelix/smscgateway/target/classes
[DEBUG]   (f) project = MavenProject: org.mobicents.smsc:parent:1.0.0.ALPHA-SNAPSHOT @ /mobicents/unofficial-builds/ibstelix/smscgateway/pom.xml
[DEBUG]   (f) reportDirectory = /mobicents/unofficial-builds/ibstelix/smscgateway/target/site
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /mobicents/unofficial-builds/ibstelix/smscgateway/target/test-classes
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --

[INFO] [clean:clean {execution: default-clean}]
[FATAL ERROR] org.apache.maven.plugin.clean.CleanMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-clean-plugin:2.2]
urls[0] = file:/root/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar
urls[1] = file:/root/.m2/repository/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar
urls[2] = file:/root/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
urls[3] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/opt/maven/lib/maven-2.2.1-uber.jar

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/apache/maven/shared/io/logging/MessageSink
org.apache.maven.shared.io.logging.MessageSink
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoClassDefFoundError: org/apache/maven/shared/io/logging/MessageSink
        at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:171)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.apache.maven.shared.io.logging.MessageSink
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
        at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 15 seconds
[INFO] Finished at: Thu Apr 09 10:55:27 PDT 2015
[INFO] Final Memory: 14M/71M
[INFO] ------------------------------------------------------------------------


Ibrahima Gaye

unread,
Apr 9, 2015, 5:57:54 PM4/9/15
to mobicent...@googlegroups.com
Hi James,
i think your errors are not related to smscgateway : http://stackoverflow.com/questions/12053037/maven-2-problems

for me:
mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
Java version: 1.7.0_75
Debian Flavor linux

Best regards

------
Ibrahim


James Carpenter

unread,
Apr 9, 2015, 7:35:25 PM4/9/15
to mobicent...@googlegroups.com
Hi Ibrahim,

Thank you for the direction. I think you are right. Later tonight I am going to build an Ubuntu VM with a non-corrupt version of maven (even though I see no signs that is corrupt, other than this unsuccessful compilation), but worth a shot anyway. I will post my results when I am able to get to it.

Thank you again for your responses, I greatly appreciate the help.


v/R,
James

James Carpenter

unread,
Apr 11, 2015, 8:32:37 PM4/11/15
to mobicent...@googlegroups.com
Hi Ibrahim,

Apologies for not posting my results last night, ended up getting no where, but frustrated.

Anyway, today I went back to the drawing board and thanks to Andrews post (again), I have the JBOSS AS deployed and am building the smscgateway over that. However, now that I am past my maven issues (hopefully), I am running into another missing artifact. Error is pasted below, right at the end of the complation at the Bootstrap portion. Any thoughts? Would be greatly appreciated. Thank you.

v/R,
James


[INFO] Executed tasks
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : Bootstrap 1.0.0.ALPHA-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.mobicents.protocols.ss7.congestion:congestion:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.scheduler:scheduler:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.hardware:linkset:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.hardware:mobicents-dialogic:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.mtp:mtp:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.mtp:mtp-api:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.m3ua:m3ua-api:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.m3ua:m3ua-impl:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.sccp:sccp-api:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.sccp:sccp-impl:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.map:map-api:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.map:map-impl:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.tcap:tcap-api:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.tcap:tcap-impl:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.isup:isup-api:jar:2.1.0.FINAL is missing, no dependency information available
[WARNING] The POM for org.mobicents.protocols.ss7.isup:isup-impl:jar:2.1.0.FINAL is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Mobicents SMSC Parent .............................. SUCCESS [  0.349 s]
[INFO] Core ............................................... SUCCESS [  0.154 s]
[INFO] Core : SMPP Server ................................. SUCCESS [  2.116 s]
[INFO] Core : Operations and Management : CLI ............. SUCCESS [  0.719 s]
[INFO] Core : SLEE ........................................ SUCCESS [  0.009 s]
[INFO] Core : SLEE : SMPP Server RA Parent ................ SUCCESS [  0.007 s]
[INFO] Core : SLEE : SMPP Server RA Library ............... SUCCESS [  0.454 s]
[INFO] Core : SLEE : SMPP Server RA Events ................ SUCCESS [  0.398 s]
[INFO] Core : SLEE : SMPP Server RA Type .................. SUCCESS [  0.439 s]
[INFO] Core : SLEE : SMPP Server RA ....................... SUCCESS [  0.812 s]
[INFO] Core : SLEE : SMPP Server RA DU .................... SUCCESS [  0.391 s]
[INFO] Core : SLEE : Services Parent ...................... SUCCESS [  0.007 s]
[INFO] Core : SLEE : Services Events ...................... SUCCESS [  0.672 s]
[INFO] Core : SLEE : Services Alert SBB ................... SUCCESS [  0.633 s]
[INFO] Core : SLEE : Services Tx SMPP Server SBB .......... SUCCESS [  0.474 s]
[INFO] Core : SLEE : Services Rx SMPP Server SBB .......... SUCCESS [  0.415 s]
[INFO] Core : SLEE : Services Mt SBB ...................... SUCCESS [  0.806 s]
[INFO] Core : SLEE : Services Mo SBB ...................... SUCCESS [  0.559 s]
[INFO] Core : SLEE : Service DU ........................... SUCCESS [  0.140 s]
[INFO] Core : Bootstrap ................................... FAILURE [  0.092 s]
[INFO] Test ............................................... SKIPPED
[INFO] Test : MapModule ................................... SKIPPED
[INFO] Test : Operations and Management ................... SKIPPED
[INFO] Test : Bootstrap ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.388 s
[INFO] Finished at: 2015-04-11T17:28:31-07:00
[INFO] Final Memory: 89M/740M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project bootstrap: Could not resolve dependencies for project org.mobicents.smsc:bootstrap:jar:1.0.0.ALPHA-SNAPSHOT: The following artifacts could not be resolved: org.mobicents.protocols.ss7.congestion:congestion:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.scheduler:scheduler:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.hardware:linkset:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.hardware:mobicents-dialogic:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.mtp:mtp:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.mtp:mtp-api:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.m3ua:m3ua-api:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.m3ua:m3ua-impl:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.sccp:sccp-api:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.sccp:sccp-impl:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.map:map-api:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.map:map-impl:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.tcap:tcap-api:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.tcap:tcap-impl:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.isup:isup-api:jar:2.1.0.FINAL, org.mobicents.protocols.ss7.isup:isup-impl:jar:2.1.0.FINAL: Failure to find org.mobicents.protocols.ss7.congestion:congestion:jar:2.1.0.FINAL in http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :bootstrap

Ibrahima Gaye

unread,
Apr 11, 2015, 8:38:25 PM4/11/15
to mobicent...@googlegroups.com
Hi James,
this is because i tried to (and i think i successesd to) adapt it to ss7 2.1.0.Final ..
Please download jss7-2.1.0.Final (it's the last i think) and use maven3 to build it then deploy all the 2.1.0.Final dependencies ...
Best regards,

------
Ibrahim


Ibrahima Gaye

unread,
Apr 11, 2015, 8:40:12 PM4/11/15
to mobicent...@googlegroups.com

------
Ibrahim

James Carpenter

unread,
Apr 11, 2015, 8:43:05 PM4/11/15
to mobicent...@googlegroups.com

YOUR AWESOME!!!!!

Thank you kindly, I was just sitting here looking at the pom file thinking do I need to deploy these dependencies.....

You beat me to the punch, haha thank you for the direction, I truly appreciate it. Hopefully I will have time to get through all of it this weekend (will take the hard route first as usual) and if it works I will post my steps in getting here  :)

Thanks again and enjoy your weekend.


v/r,
James 

Ibrahima Gaye

unread,
Apr 11, 2015, 8:50:43 PM4/11/15
to mobicent...@googlegroups.com
​lol happy to help :)​

------
Ibrahim


--

James Carpenter

unread,
Apr 11, 2015, 9:14:26 PM4/11/15
to mobicent...@googlegroups.com

SUCCESS!!!!!!!!!!!!!!!!!!!!!!!

Thank you Ibrahim, thank you thank you thank you. It's been a long time coming, although I still have a large hill to climb, as now its built I am not sure what to do. Going to start digging through the docs tomorrow.

I am going to rebuild my VM a couple more times and verify all my steps (maybe screenshots if Im feeling frisky) and once confirmed, Ill post it up here.

Thanks again, I really appreciate all the help :)

[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Core ............................................... SUCCESS [  0.436 s]
[INFO] Core : SMPP Server ................................. SUCCESS [  2.030 s]
[INFO] Core : Operations and Management : CLI ............. SUCCESS [  0.717 s]
[INFO] Core : SLEE ........................................ SUCCESS [  0.008 s]
[INFO] Core : SLEE : SMPP Server RA Parent ................ SUCCESS [  0.010 s]
[INFO] Core : SLEE : SMPP Server RA Library ............... SUCCESS [  0.419 s]
[INFO] Core : SLEE : SMPP Server RA Events ................ SUCCESS [  0.499 s]
[INFO] Core : SLEE : SMPP Server RA Type .................. SUCCESS [  0.401 s]
[INFO] Core : SLEE : SMPP Server RA ....................... SUCCESS [  0.841 s]
[INFO] Core : SLEE : SMPP Server RA DU .................... SUCCESS [  0.359 s]
[INFO] Core : SLEE : Services Parent ...................... SUCCESS [  0.009 s]
[INFO] Core : SLEE : Services Events ...................... SUCCESS [  0.639 s]
[INFO] Core : SLEE : Services Alert SBB ................... SUCCESS [  0.655 s]
[INFO] Core : SLEE : Services Tx SMPP Server SBB .......... SUCCESS [  0.498 s]
[INFO] Core : SLEE : Services Rx SMPP Server SBB .......... SUCCESS [  0.511 s]
[INFO] Core : SLEE : Services Mt SBB ...................... SUCCESS [  0.766 s]
[INFO] Core : SLEE : Services Mo SBB ...................... SUCCESS [  0.536 s]
[INFO] Core : SLEE : Service DU ........................... SUCCESS [  0.138 s]
[INFO] Core : Bootstrap ................................... SUCCESS [ 20.854 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.804 s
[INFO] Finished at: 2015-04-11T18:11:12-07:00
[INFO] Final Memory: 99M/751M
[INFO] ------------------------------------------------------------------------



v/r
James

Ibrahima Gaye

unread,
Apr 11, 2015, 9:36:00 PM4/11/15
to mobicent...@googlegroups.com
:) great!
for one of the next steps maybe you can :
run : test/bootstrap/target/smsc-server/bin/run.sh
read: test/README.txt --- you can help adapt the commands i had not finished doing it.
b/r


------
Ibrahim


--

James Carpenter

unread,
Apr 11, 2015, 10:00:51 PM4/11/15
to mobicent...@googlegroups.com


For anyone else out there (any my future reference), going to jot some notes down here real quick while it is fresh in my head (until confirmed, don't quote me).

To successfully build the smscgateway, I do not think the architecture matters. The system I was successful on is running Fedora 21. Andrew's post here https://github.com/Mobicents/gmlc/tree/mlp is what helped me get going in the beginning. For this project we stop after running the JBOSS AS. To summarize these steps how I did them:
1. Install Oracle JDK 7 or 8
2. Install ant (yum install ant)
3. Install maven (directions here: https://maven.apache.org/download.cgi)
4. Install JAIN SLEE from mobicents - this step I copied from Andrews post titled "Install Mobicents JAIN SLEE" (Source: https://github.com/Mobicents/gmlc/tree/mlp).
5. "Setup JBOSS" . Again the next step copied from Andrews post. Source: https://github.com/Mobicents/gmlc/tree/mlp
6. The next step, I skipped the http-servlet (although I'll get into this later) and ran the server on all network interfaces (Andrews post again, thank you).

After which, I did the following:
7. Downloaded jss7 and unzipped it as Ibrahim recommended: wget https://jss7.googlecode.com/archive/release-2.1.0.FINAL.zip
8. Manually entered each directory and deployed each piece of jss7 (not sure if I need 'em all, but it worked): sudo mvn clean install -X -Dmaven.test.skip=true
9. Cloned Ibrahims smscgateway at https://github.com/ibstelix/smscgateway
10. Entered smscgateway dir and ran maven: sudo mvn clean install -X
11. After that, they all deployed successfully. Too bad I am unsure how to test it at this time, but soon :)

Hope this helps someone.

[user@fedora21 core]$ uname -a
Linux fedora21 3.19.3-200.fc21.x86_64 #1 SMP Thu Mar 26 21:39:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[user@fedora21 core]$ mvn -version
Apache Maven 3.2.2 (NON-CANONICAL_2015-04-01T06:56:20_mockbuild; 2015-03-31T23:56:20-07:00)
Maven home: /usr/share/maven
Java version: 1.8.0_40, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-24.b25.fc21.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.19.3-200.fc21.x86_64", arch: "amd64", family: "unix"

[user@fedora21 core]$ ant -version
Apache Ant(TM) version 1.9.4 compiled on June 7 2014

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Mobicents SMSC Parent .............................. SUCCESS [  0.386 s]
[INFO] Core ............................................... SUCCESS [  0.163 s]
[INFO] Core : SMPP Server ................................. SUCCESS [  2.183 s]
[INFO] Core : Operations and Management : CLI ............. SUCCESS [  0.825 s]
[INFO] Core : SLEE ........................................ SUCCESS [  0.009 s]
[INFO] Core : SLEE : SMPP Server RA Parent ................ SUCCESS [  0.010 s]
[INFO] Core : SLEE : SMPP Server RA Library ............... SUCCESS [  0.438 s]
[INFO] Core : SLEE : SMPP Server RA Events ................ SUCCESS [  0.496 s]
[INFO] Core : SLEE : SMPP Server RA Type .................. SUCCESS [  0.535 s]
[INFO] Core : SLEE : SMPP Server RA ....................... SUCCESS [  0.897 s]
[INFO] Core : SLEE : SMPP Server RA DU .................... SUCCESS [  0.375 s]
[INFO] Core : SLEE : Services Parent ...................... SUCCESS [  0.007 s]
[INFO] Core : SLEE : Services Events ...................... SUCCESS [  0.658 s]
[INFO] Core : SLEE : Services Alert SBB ................... SUCCESS [  0.643 s]
[INFO] Core : SLEE : Services Tx SMPP Server SBB .......... SUCCESS [  0.500 s]
[INFO] Core : SLEE : Services Rx SMPP Server SBB .......... SUCCESS [  0.447 s]
[INFO] Core : SLEE : Services Mt SBB ...................... SUCCESS [  0.866 s]
[INFO] Core : SLEE : Services Mo SBB ...................... SUCCESS [  0.656 s]
[INFO] Core : SLEE : Service DU ........................... SUCCESS [  0.207 s]
[INFO] Core : Bootstrap ................................... SUCCESS [  3.649 s]
[INFO] Test ............................................... SUCCESS [  2.529 s]
[INFO] Test : MapModule ................................... SUCCESS [  1.076 s]
[INFO] Test : Operations and Management ................... SUCCESS [  0.545 s]
[INFO] Test : Bootstrap ................................... SUCCESS [  3.871 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.755 s
[INFO] Finished at: 2015-04-11T18:46:24-07:00
[INFO] Final Memory: 121M/1055M
[INFO] ------------------------------------------------------------------------


**UPDATE** Noticed Ibrahims post after creating this one. Will dig through the README tomorrow, but here is the run.sh -b 0.0.0.0 (added the ip from Andrews post).

18:59:26,877 INFO  [SccpStackImpl-SccpStack] Starting ...
18:59:26,878 INFO  [SccpStackImpl-SccpStack] SCCP Management configuration file path /mobicents/ibstelix/roundtwo/smscgateway/test/bootstrap/target/smsc-server/data//SccpStack_management2.xml
18:59:26,878 WARN  [SccpStackImpl-SccpStack] Failed to load the Sccp Management configuration file. 
/mobicents/ibstelix/roundtwo/smscgateway/test/bootstrap/target/smsc-server/data/SccpStack_management2.xml (No such file or directory)
18:59:26,892 INFO  [RouterImpl] SCCP Router configuration file path /mobicents/ibstelix/roundtwo/smscgateway/test/bootstrap/target/smsc-server/data//SccpStack_sccprouter2.xml
18:59:26,902 ERROR [RouterImpl] Failed to load the SS7 configuration file. 
Unexpected end tag for value
18:59:26,902 INFO  [RouterImpl] Started SCCP Router
18:59:26,904 INFO  [SccpResourceImpl] SCCP Resource configuration file path /mobicents/ibstelix/roundtwo/smscgateway/test/bootstrap/target/smsc-server/data//SccpStack_sccpresource2.xml
18:59:26,910 INFO  [SccpResourceImpl] Started Sccp Resource
18:59:26,910 INFO  [SccpStackImpl-SccpStack] Starting routing engine...
18:59:26,910 INFO  [SccpStackImpl-SccpStack] Starting management ...
18:59:26,910 INFO  [SccpStackImpl-SccpStack] Starting MSU handler...
18:59:26,923 INFO  [ShellServer] Starting SS7 management shell environment
18:59:26,927 INFO  [ShellServer] ShellExecutor listening at /0.0.0.0:3436
18:59:27,016 INFO  [TCAPStackImpl-test] Starting ...org.mobicents.protocols.ss7.tcap.TCAPProviderImpl@2421cc4
18:59:27,016 INFO  [TCAPProviderImpl] Starting TCAP Provider
18:59:27,017 INFO  [TCAPProviderImpl] Registered SCCP listener with address 8
18:59:27,021 INFO  [TCAPStackImpl-test] Starting ...org.mobicents.protocols.ss7.tcap.TCAPProviderImpl@51fadaff
18:59:27,021 INFO  [TCAPProviderImpl] Starting TCAP Provider
18:59:27,021 INFO  [TCAPProviderImpl] Registered SCCP listener with address 6
18:59:27,022 INFO  [MainDeployer] [[[[[[[[[ Mobicents SMSC Test Server: release.version=1.0.0.ALPHA-SNAPSHOT Started ]]]]]]]]]

James Carpenter

unread,
Apr 13, 2015, 7:52:04 AM4/13/15
to mobicent...@googlegroups.com
Good Morning Ibrahim,

Apologies for backtracking, but if you have the time could you help me with the questions below pretty please.

Yesterday, I was simply trying to rebuild the software to write down each step and ensure it can be built consistently (on CentOS this time). However, I am running into missing artifacts again. This time it was in the core/services/alertsbb pom.xml. I am curious if you were still updating these files and if there is anything I can do to assist?

Would I be correct in presuming that each dependency listed in each pom file in the sub-directories are dependencies for that specific module?

I think best to backtrack a bit anyway and start learning more about maven and jboss (as I should have in the first place). Also, I am hoping to configure the real server, rather than the test server and start communicating with the real MSC/HLR for GSM. 

Do you know how the real server is started? (i.e. like the run.sh for GMLC)

Is there any sample configs around? Or are the commands in the README what will create these? 

I think I have all the configurations necessary to link the SMSC properly, i.e. pointer codes, etc.. and using your README commands, cannot confirm until testing it.

Appreciate the help, as again, any direction is appreciated; no matter how small. We'll figure out the rest :)


v/R,
James

Ibrahima Gaye

unread,
Apr 13, 2015, 8:12:25 AM4/13/15
to mobicent...@googlegroups.com
Hello James,
the readme.txt is not mine it was there in the master branch i just tried to adapt the commands ... i was stuck on the esme commands i had not enough time to check it deeply ...
regarding the pom.xml for alertsbb module, please send the kind of missing dependencies i think i did not edit that pom.

regarding running the "smsc server", its not standalone a service is deployed in jboss, if you run jboss you will see in the logs the deployed components of smsc.
But you also have a standalone smsc server in the test folder for testing.
Configs are done form the ss7shel ... you will need to launch the ss7shell client.

Anything else feel free to ask ... there some gurus around they could help faster and better :)

Best regards,


------
Ibrahim


--

James Carpenter

unread,
Apr 14, 2015, 7:06:16 AM4/14/15
to mobicent...@googlegroups.com
Morning Ibrahim,

Yet again, thank you ever so kindly for your response. I had a feeling that was the case, as I noticed the smsc lines in the jboss AS when starting it. Still working out some kinks with that and have been told to configure the test server as close to our implementation as possible, document it, and approve it before proceeding with the real thing :(

So, back to the test server, it seems to simulate an HLR/MSC or it can, right? Can these simulated nodes be altered at all? i.e. ITU/ANSI, Pointer Codes, etc...

Apologies, are there any other readme's out their other than those commands for the test server? Once I work my way to the ESME, I'll see if the README is accurate for ya.

Still working on the tutorial as well, where to post it, etc... Haven't forgotten, just got a new project this week :)


Thanks in advance,
v/R

Ibrahima Gaye

unread,
Apr 15, 2015, 4:35:23 AM4/15/15
to mobicent...@googlegroups.com
Hi James,
i think it's simulating the 3 (smsc and micro-minimal hlr/msc) ... i have not tested please check in the code :)
EVERYBODY is waiting for your great tutorial :) lol

------
Ibrahim


--

James Carpenter

unread,
Apr 15, 2015, 7:26:48 AM4/15/15
to mobicent...@googlegroups.com
Good Morning Ibrahim,

Haha, no pressure. Though, so everyone is aware, this material is quite new to me and I will give it my best, but it is and always will be the communities motivation, efforts, and collaborative support that will get each of us to our individual goals, as well as, maturing the software as a whole. I've been poking at the test server, but still working on the initial build document for CentOS arch's. Once this is confirmed, I will go ahead and mess with the test server more avidly. Also, the alertsbb pom xml. Since it was not altered I am presuming I am missing a dependency or two, soon to be confirmed (this weekend hopefully).

If anyone is interested in assisting, has any questions, or just wants to discuss current status, etc.. please feel free to PM me or post to this thread (constructively please).

 
v/R,
James

Ibrahima Gaye

unread,
Apr 15, 2015, 7:42:25 AM4/15/15
to mobicent...@googlegroups.com
​Ok i'm optimistic on the outcome :)
Good luck and best regards,​

------
Ibrahim


--

James Carpenter

unread,
Apr 16, 2015, 8:19:41 AM4/16/15
to mobicent...@googlegroups.com
Morning Ibrahim,


Thank you for the motivation ;)

I am actually making some decent headway, probably going to post it this weekend as it is volunteer work at this point. 
Since I am not yet modifying the code and simply testing the software, I will probably post it on a new thread here rather than github.


v/R,
James

Reply all
Reply to author
Forward
0 new messages