Error building Jss7 Standalone

204 views
Skip to first unread message

Ahmed Sharif

unread,
Feb 21, 2014, 8:50:39 AM2/21/14
to mobicent...@googlegroups.com
Dear All,

when i try to execute "mvn clean install" i get the following errors:
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]  
[ERROR]   The project org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:2.0.0-SNAPSHOT (/home/mobicent/jss7example/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not transfer artifact org.mobicents:mobicents-parent:pom:2.23-SNAPSHOT from/to mobicents-public-repository-group (http://oss.sonatype.org/content/groups/public/): Connection to http://oss.sonatype.org refused and 'parent.relativePath' points at wrong local POM @ line 5, column 10: Connection refused -> [Help 2]
[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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Kindly help me in resolving this issue. Thanks!
Message has been deleted

Bill Terwilliger

unread,
Feb 21, 2014, 11:52:17 AM2/21/14
to mobicent...@googlegroups.com
I'm having exactly the same issue.  Please let us know if you figure this out.

Alexandre Mendonça

unread,
Feb 21, 2014, 12:31:52 PM2/21/14
to Mobicents Public
I think you should be able to get past that if you remove the -SNAPSHOT qualifier. Although it says connection refused to http://oss.sonatype.org (make sure you have external network access on that machine), I don't see the artifacts for 2.23-SNAPSHOT there (http://oss.sonatype.org/content/groups/public/org/mobicents/mobicents-parent/2.23-SNAPSHOT/) but I see for 2.23 (http://oss.sonatype.org/content/groups/public/org/mobicents/mobicents-parent/2.23/).



--
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/groups/opt_out.

Adnan Howlader

unread,
Feb 23, 2014, 9:49:36 AM2/23/14
to mobicent...@googlegroups.com
HI All,

I have some query that is it possible to compile build successful without any E1 card and run the simulator to pretest samples with ussd web api gateway.

Ahmed Sharif

unread,
Feb 24, 2014, 2:27:06 AM2/24/14
to mobicent...@googlegroups.com
I am still having the same issue.

[root@mobicent ussd]# mvn clean install
[INFO] Scanning for projects...
Downloading: http://oss.sonatype.org/content/groups/public//org/mobicents/mobicents-parent/2.23/mobicents-parent-2.23.pom
[WARNING] Unable to get resource 'org.mobicents:mobicents-parent:pom:2.23' from repository mobicents-public-repository-group (http://oss.sonatype.org/content/groups/public/): Error transferring file: Connection refused
Downloading: http://repository.jboss.org/nexus/content/groups/public//org/mobicents/mobicents-parent/2.23/mobicents-parent-2.23.pom
[WARNING] Unable to get resource 'org.mobicents:mobicents-parent:pom:2.23' from repository jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/): Error transferring file: Connection refused
Downloading: http://repository.jboss.org/nexus/content/repositories/thirdparty-releases/org/mobicents/mobicents-parent/2.23/mobicents-parent-2.23.pom
[WARNING] Unable to get resource 'org.mobicents:mobicents-parent:pom:2.23' from repository jboss-3rd-party-repository-group (http://repository.jboss.org/nexus/content/repositories/thirdparty-releases): Error transferring file: Connection refused
Downloading: http://repository.jboss.org/nexus/content/repositories/thirdparty-upload/org/mobicents/mobicents-parent/2.23/mobicents-parent-2.23.pom
[WARNING] Unable to get resource 'org.mobicents:mobicents-parent:pom:2.23' from repository jboss-3rd-party-upload-repository-group (http://repository.jboss.org/nexus/content/repositories/thirdparty-upload): Error transferring file: Connection refused
Downloading: http://download.java.net/maven/2//org/mobicents/mobicents-parent/2.23/mobicents-parent-2.23.pom
[WARNING] Unable to get resource 'org.mobicents:mobicents-parent:pom:2.23' from repository java.net-Public (http://download.java.net/maven/2/): Error transferring file: Connection refused
Downloading: http://anonsvn.jboss.org/repos/repository.jboss.org/maven2//org/mobicents/mobicents-parent/2.23/mobicents-parent-2.23.pom
[WARNING] Unable to get resource 'org.mobicents:mobicents-parent:pom:2.23' from repository backup.repository.jboss.org (http://anonsvn.jboss.org/repos/repository.jboss.org/maven2/): Error transferring file: Connection refused
Downloading: http://repo1.maven.org/maven2/org/mobicents/mobicents-parent/2.23/mobicents-parent-2.23.pom
[WARNING] Unable to get resource 'org.mobicents:mobicents-parent:pom:2.23' from repository central (http://repo1.maven.org/maven2): Error transferring file: Connection refused
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:jar:2.0.0

Reason: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:jar:2.0.0 for project org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:jar:2.0.0


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:jar:2.0.0 for project org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:jar:2.0.0
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
    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.project.ProjectBuildingException: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:jar:2.0.0 for project org.mobicents.protocols.ss7.examples:ss7-standalone-example-ussd:jar:2.0.0
    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
    at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
    at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
    at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
    at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
    ... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.mobicents:mobicents-parent' not found in repository: Unable to download the artifact from any repository

  org.mobicents:mobicents-parent:pom:2.23

from the specified remote repositories:
  jboss-3rd-party-upload-repository-group (http://repository.jboss.org/nexus/content/repositories/thirdparty-upload),
  backup.repository.jboss.org (http://anonsvn.jboss.org/repos/repository.jboss.org/maven2/),
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (http://oss.sonatype.org/content/groups/public/),
  jboss-3rd-party-repository-group (http://repository.jboss.org/nexus/content/repositories/thirdparty-releases),
  java.net-Public (http://download.java.net/maven/2/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/)

 for project org.mobicents:mobicents-parent
    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
    ... 18 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

  org.mobicents:mobicents-parent:pom:2.23

from the specified remote repositories:
  jboss-3rd-party-upload-repository-group (http://repository.jboss.org/nexus/content/repositories/thirdparty-upload),
  backup.repository.jboss.org (http://anonsvn.jboss.org/repos/repository.jboss.org/maven2/),
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (http://oss.sonatype.org/content/groups/public/),
  jboss-3rd-party-repository-group (http://repository.jboss.org/nexus/content/repositories/thirdparty-releases),
  java.net-Public (http://download.java.net/maven/2/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/)


    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
    ... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
    ... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Feb 24 17:22:33 PKT 2014
[INFO] Final Memory: 1M/11M
[INFO] ------------------------------------------------------------------------
[root@mobicent ussd]#

Phan Thai

unread,
Aug 12, 2014, 2:27:49 AM8/12/14
to mobicent...@googlegroups.com
Try to edit pom.xml to specify right parent version

<parent>
                <groupId>org.mobicents</groupId>
                <artifactId>mobicents-parent</artifactId>
                <version>2.23</version>
 </parent>
Reply all
Reply to author
Forward
0 new messages