USSD Compilation Failure

1,138 views
Skip to first unread message

Victor Neiman

unread,
Oct 17, 2012, 5:00:54 AM10/17/12
to mobicent...@googlegroups.com
Hi,

I'm getting a compile failure on USSD. I git cloned it from here: https://code.google.com/p/ussdgateway/. I used 'mvn install' to compile. The http-client and MAP dependencies have been successfully deployed to JSLEE already. Maven log below:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   USSD Gateway Parent
[INFO]   Core
[INFO]   Core : Domain
[INFO]   Core : XML
[INFO]   Core : Operations and Management : CLI
[INFO]   Core : SLEE
[INFO]   Core : SLEE : Library
[INFO]   Core : SLEE : Sbbs
[INFO]   Core : SLEE : Service
[INFO]   Core : Bootstrap
[INFO]   Example
[INFO]   Example : HTTP
[INFO] ------------------------------------------------------------------------
[INFO] Building USSD Gateway Parent
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/pom.xml to /root/.m2/repository/org/mobicents/ussd/parent/1.0.0-SNAPSHOT/parent-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/pom.xml to /root/.m2/repository/org/mobicents/ussd/core/1.0.0-SNAPSHOT/core-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : Domain
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/ussd-gateway/core/domain/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to /var/ussd-gateway/core/domain/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 /var/ussd-gateway/core/domain/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: /var/ussd-gateway/core/domain/target/domain-1.0.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/domain/target/domain-1.0.0-SNAPSHOT.jar to /root/.m2/repository/org/mobicents/ussd/domain/1.0.0-SNAPSHOT/domain-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : XML
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[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 3 source files to /var/ussd-gateway/core/xml/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 /var/ussd-gateway/core/xml/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to /var/ussd-gateway/core/xml/target/test-classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[56,23] error: no suitable constructor found for USSDStringImpl(String,<null>)

    constructor USSDStringImpl.USSDStringImpl(String,CBSDataCodingScheme,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor USSDStringImpl.USSDStringImpl(byte[],CBSDataCodingScheme) is not applicable
      (actual argument String cannot be converted to byte[] by method invocation conversion)
    constructor USSDStringImpl.USSDStringImpl(CBSDataCodingScheme) is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[57,76] error: no suitable constructor found for ProcessUnstructuredSSRequestImpl(byte,USSDString,AlertingPatternImpl,ISDNAddressStringImpl)

    constructor ProcessUnstructuredSSRequestImpl.ProcessUnstructuredSSRequestImpl(CBSDataCodingScheme,USSDString,AlertingPattern,ISDNAddressString) is not applicable
      (actual argument byte cannot be converted to CBSDataCodingScheme by method invocation conversion)
    constructor ProcessUnstructuredSSRequestImpl.ProcessUnstructuredSSRequestImpl() is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[82,23] error: no suitable constructor found for USSDStringImpl(String,<null>)

    constructor USSDStringImpl.USSDStringImpl(String,CBSDataCodingScheme,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor USSDStringImpl.USSDStringImpl(byte[],CBSDataCodingScheme) is not applicable
      (actual argument String cannot be converted to byte[] by method invocation conversion)
    constructor USSDStringImpl.USSDStringImpl(CBSDataCodingScheme) is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[83,78] error: no suitable constructor found for ProcessUnstructuredSSResponseImpl(byte,USSDString)

    constructor ProcessUnstructuredSSResponseImpl.ProcessUnstructuredSSResponseImpl(CBSDataCodingScheme,USSDString) is not applicable
      (actual argument byte cannot be converted to CBSDataCodingScheme by method invocation conversion)
    constructor ProcessUnstructuredSSResponseImpl.ProcessUnstructuredSSResponseImpl() is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[107,23] error: no suitable constructor found for USSDStringImpl(String,<null>)

    constructor USSDStringImpl.USSDStringImpl(String,CBSDataCodingScheme,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor USSDStringImpl.USSDStringImpl(byte[],CBSDataCodingScheme) is not applicable
      (actual argument String cannot be converted to byte[] by method invocation conversion)
    constructor USSDStringImpl.USSDStringImpl(CBSDataCodingScheme) is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[108,62] error: no suitable constructor found for UnstructuredSSRequestImpl(byte,USSDString,<null>,<null>)

    constructor UnstructuredSSRequestImpl.UnstructuredSSRequestImpl(CBSDataCodingScheme,USSDString,AlertingPattern,ISDNAddressString) is not applicable
      (actual argument byte cannot be converted to CBSDataCodingScheme by method invocation conversion)
    constructor UnstructuredSSRequestImpl.UnstructuredSSRequestImpl() is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[128,23] error: no suitable constructor found for USSDStringImpl(String,<null>)

    constructor USSDStringImpl.USSDStringImpl(String,CBSDataCodingScheme,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor USSDStringImpl.USSDStringImpl(byte[],CBSDataCodingScheme) is not applicable
      (actual argument String cannot be converted to byte[] by method invocation conversion)
    constructor USSDStringImpl.USSDStringImpl(CBSDataCodingScheme) is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[129,64] error: no suitable constructor found for UnstructuredSSResponseImpl(byte,USSDString)

    constructor UnstructuredSSResponseImpl.UnstructuredSSResponseImpl(CBSDataCodingScheme,USSDString) is not applicable
      (actual argument byte cannot be converted to CBSDataCodingScheme by method invocation conversion)
    constructor UnstructuredSSResponseImpl.UnstructuredSSResponseImpl() is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[157,23] error: no suitable constructor found for USSDStringImpl(String,<null>)

    constructor USSDStringImpl.USSDStringImpl(String,CBSDataCodingScheme,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor USSDStringImpl.USSDStringImpl(byte[],CBSDataCodingScheme) is not applicable
      (actual argument String cannot be converted to byte[] by method invocation conversion)
    constructor USSDStringImpl.USSDStringImpl(CBSDataCodingScheme) is not applicable
      (actual and formal argument lists differ in length)
/var/ussd-gateway/core/xml/src/test/java/org/mobicents/ussdgateway/DialogTest.java:[159,74] error: no suitable constructor found for UnstructuredSSNotifyRequestImpl(byte,USSDString,<null>,<null>)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Oct 17 10:45:35 SAST 2012
[INFO] Final Memory: 64M/683M
[INFO] ------------------------------------------------------------------------


Regards
Vic

Victor Neiman

unread,
Oct 17, 2012, 5:32:35 AM10/17/12
to mobicent...@googlegroups.com
I did a 'mvn clean  -Dmaven.test.skip=true  install' and got past those errors. Now I am getting compilation errors on /ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ChildSbb.java and /ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ParentSbb.java, see below for Maven log:


[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   USSD Gateway Parent
[INFO]   Core
[INFO]   Core : Domain
[INFO]   Core : XML
[INFO]   Core : Operations and Management : CLI
[INFO]   Core : SLEE
[INFO]   Core : SLEE : Library
[INFO]   Core : SLEE : Sbbs
[INFO]   Core : SLEE : Service
[INFO]   Core : Bootstrap
[INFO]   Example
[INFO]   Example : HTTP
[INFO] ------------------------------------------------------------------------
[INFO] Building USSD Gateway Parent
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]

[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/pom.xml to /root/.m2/repository/org/mobicents/ussd/parent/1.0.0-SNAPSHOT/parent-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]

[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/pom.xml to /root/.m2/repository/org/mobicents/ussd/core/1.0.0-SNAPSHOT/core-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : Domain
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /var/ussd-gateway/core/domain/target

[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/ussd-gateway/core/domain/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to /var/ussd-gateway/core/domain/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 /var/ussd-gateway/core/domain/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources

[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /var/ussd-gateway/core/domain/target/domain-1.0.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/domain/target/domain-1.0.0-SNAPSHOT.jar to /root/.m2/repository/org/mobicents/ussd/domain/1.0.0-SNAPSHOT/domain-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : XML
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /var/ussd-gateway/core/xml/target
[INFO] Deleting file-set: . (included: [*_m3ua.xml, *_sctp.xml, debuglog.txt], excluded: [])

[INFO] [resources:resources {execution: default-resources}]
[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 3 source files to /var/ussd-gateway/core/xml/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 /var/ussd-gateway/core/xml/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources

[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /var/ussd-gateway/core/xml/target/xml-1.0.0-SNAPSHOT.jar

[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/xml/target/xml-1.0.0-SNAPSHOT.jar to /root/.m2/repository/org/mobicents/ussd/xml/1.0.0-SNAPSHOT/xml-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : Operations and Management : CLI
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [antrun:run {execution: undeploy}]
[INFO] Executing tasks
[INFO] Executed tasks

[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource to META-INF/services
[INFO] skip non existing resourceDirectory /var/ussd-gateway/core/oam/cli/src/main/resources/help

[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to /var/ussd-gateway/core/oam/cli/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 /var/ussd-gateway/core/oam/cli/src/test/resources

[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources

[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /var/ussd-gateway/core/oam/cli/target/ussd-cli-1.0.0-SNAPSHOT.jar

[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/oam/cli/target/ussd-cli-1.0.0-SNAPSHOT.jar to /root/.m2/repository/org/mobicents/ussd/ussd-cli/1.0.0-SNAPSHOT/ussd-cli-1.0.0-SNAPSHOT.jar
[INFO] [antrun:run {execution: deploy}]
[INFO] Executing tasks
     [copy] Copying 1 file to /var/mobicents-tutorial/jslee/jboss-5.1.0.GA/lib
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : SLEE
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]

[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/slee/pom.xml to /root/.m2/repository/org/mobicents/ussd/slee/1.0.0-SNAPSHOT/slee-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : SLEE : Library
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [library:copy-dependencies {execution: default}]
[INFO] Copying domain-1.0.0-SNAPSHOT.jar to /var/ussd-gateway/core/slee/library/target/classes/jars/domain-1.0.0-SNAPSHOT.jar
[INFO] Copying xml-1.0.0-SNAPSHOT.jar to /var/ussd-gateway/core/slee/library/target/classes/jars/xml-1.0.0-SNAPSHOT.jar
[INFO] [library:generate-descriptor {execution: default}]
[INFO] Library Refs Configuration:
        <library-ref>
            <library-name>library-map</library-name>
            <library-vendor>library-map</library-vendor>
            <library-version>2.0</library-version>
        </library-ref>
[INFO] EventType Refs:
null
[INFO] ProfileSpec Refs:
null
[INFO] RA Type Refs:
null
[INFO] SBB Refs:
null
[INFO] Security Permissions:
null
[INFO] Generated Library descriptor: /var/ussd-gateway/core/slee/library/target/classes/META-INF/library-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library-jar PUBLIC
    "-//Sun Microsystems, Inc.//DTD JAIN SLEE Library 1.1//EN"
    "http://java.sun.com/dtd/slee-library-jar_1_1.dtd">
<library-jar>
    <library>
        <library-name>library-ussdgateway</library-name>
        <library-vendor>org.mobicents</library-vendor>
        <library-version>2.0</library-version>
        <library-ref>
            <library-name>library-map</library-name>
            <library-vendor>library-map</library-vendor>
            <library-version>2.0</library-version>
        </library-ref>
        <jar>
            <jar-name>jars/xml-1.0.0-SNAPSHOT.jar</jar-name>
        </jar>
        <jar>
            <jar-name>jars/domain-1.0.0-SNAPSHOT.jar</jar-name>
        </jar>
    </library>
</library-jar>



[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/ussd-gateway/core/slee/library/src/main/resources

[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to /var/ussd-gateway/core/slee/library/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 /var/ussd-gateway/core/slee/library/src/test/resources

[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources

[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /var/ussd-gateway/core/slee/library/target/library-1.0.0-SNAPSHOT.jar

[INFO] [install:install {execution: default-install}]
[INFO] Installing /var/ussd-gateway/core/slee/library/target/library-1.0.0-SNAPSHOT.jar to /root/.m2/repository/org/mobicents/ussd/library/1.0.0-SNAPSHOT/library-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : SLEE : Sbbs
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]

[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/drools/drools-api/5.0.1/drools-api-5.0.1.pom
4K downloaded  (drools-api-5.0.1.pom)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/drools/drools/5.0.1/drools-5.0.1.pom
51K downloaded  (drools-5.0.1.pom)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/resources/http-client-ratype/2.5.0.FINAL/http-client-ratype-2.5.0.FINAL.pom
789b downloaded  (http-client-ratype-2.5.0.FINAL.pom)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/resources/http-client-parent/2.5.0.FINAL/http-client-parent-2.5.0.FINAL.pom
3K downloaded  (http-client-parent-2.5.0.FINAL.pom)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/resources/http-client-events/2.5.0.FINAL/http-client-events-2.5.0.FINAL.pom
696b downloaded  (http-client-events-2.5.0.FINAL.pom)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/resources/http-client-library/2.5.0.FINAL/http-client-library-2.5.0.FINAL.pom
1K downloaded  (http-client-library-2.5.0.FINAL.pom)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/drools/drools-api/5.0.1/drools-api-5.0.1.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/resources/http-client-ratype/2.5.0.FINAL/http-client-ratype-2.5.0.FINAL.jar
5K downloaded  (http-client-ratype-2.5.0.FINAL.jar)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/resources/http-client-events/2.5.0.FINAL/http-client-events-2.5.0.FINAL.jar
4K downloaded  (http-client-events-2.5.0.FINAL.jar)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/mobicents/resources/http-client-library/2.5.0.FINAL/http-client-library-2.5.0.FINAL.jar
124K downloaded  (drools-api-5.0.1.jar)
466K downloaded  (http-client-library-2.5.0.FINAL.jar)

[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 21 source files to /var/ussd-gateway/core/slee/sbbs/target/classes

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/var/ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ChildSbb.java:[157,44] error: method getString in interface USSDString cannot be applied to given types;

could not parse error message:   required: Charset
  found: no arguments
  reason: actual and formal argument lists differ in length
/var/ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ChildSbb.java:332: error: method addProcessUnstructuredSSResponse in interface MAPDialogSupplementary cannot be applied to given types;
        mapDialogSupplementary.addProcessUnstructuredSSResponse(this.getProcessUnstructuredSSRequestInvokeId(),
                              ^

could not parse error message:   required: long,CBSDataCodingScheme,USSDString
  found: long,byte,USSDString
  reason: actual argument byte cannot be converted to CBSDataCodingScheme by method invocation conversion
/var/ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ChildSbb.java:573: error: cannot find symbol
        mapDialogSupplementary.addUnstructuredSSRequest(unstructuredSSRequestIndication.getUSSDDataCodingScheme(),
                                                                                       ^

could not parse error message:   symbol:   method getUSSDDataCodingScheme()
  location: variable unstructuredSSRequestIndication of type UnstructuredSSRequest
/var/ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ChildSbb.java:592: error: cannot find symbol
                processUnstructuredSSResponseIndication.getUSSDDataCodingScheme(),
                                                       ^

could not parse error message:   symbol:   method getUSSDDataCodingScheme()
  location: variable processUnstructuredSSResponseIndication of type ProcessUnstructuredSSResponse
/var/ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ParentSbb.java:109: error: method getString in interface USSDString cannot be applied to given types;
            String shortCode = ussdStrObj.getString();
                                         ^

could not parse error message:   required: Charset
  found: no arguments
  reason: actual and formal argument lists differ in length
/var/ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ParentSbb.java:152: error: cannot find symbol
                request.getUSSDDataCodingScheme(), ussdString);
                       ^



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Wed Oct 17 11:29:13 SAST 2012
[INFO] Final Memory: 91M/983M
[INFO] ------------------------------------------------------------------------

Victor Neiman

unread,
Oct 17, 2012, 7:55:52 AM10/17/12
to mobicent...@googlegroups.com
It seems that one of the problems might be related to versioning in the pom.xml file, it would appear as if the MAP component is of the wrong version as this error is thrown:


/var/ussd-gateway/core/slee/sbbs/src/main/java/org/mobicents/ussdgateway/slee/ChildSbb.java:332: error: method addProcessUnstructuredSSResponse in interface MAPDialogSupplementary cannot be applied to given types;


I looked the MAP interface in question and it's signature compiles with the method call, this is why I think in a different (earlier?) version the argument list  was different.

Any advice on how to get it to compile please?

Regards
Vic

Amit Bhayani

unread,
Oct 22, 2012, 4:58:09 PM10/22/12
to mobicent...@googlegroups.com
Its fixed now. 

Victor Neiman

unread,
Oct 23, 2012, 3:50:14 AM10/23/12
to mobicent...@googlegroups.com
Hi Amit,

after cleaning out my Maven repo I was able to compile USSD, thank you. However, I have a problem compiling MAP from the location you specified:

[INFO] Scanning for projects...
[INFO] snapshot org.mobicents:mobicents-parent:2.23-SNAPSHOT: checking for updates from mobicents-public-repository-group
Downloading: https://oss.sonatype.org/content/groups/public/org/mobicents/mobicents-parent/2.23-SNAPSHOT/mobicents-parent-2.23-SNAPSHOT.pom
[INFO] Unable to find resource 'org.mobicents:mobicents-parent:pom:2.23-SNAPSHOT' in repository mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public)
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.mobicents.servers.jainslee.ss7:mobicents-slee-ss7:pom:2.8.0-SNAPSHOT

Reason: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.servers.jainslee.ss7:mobicents-slee-ss7:pom:2.8.0-SNAPSHOT for project org.mobicents.servers.jainslee.ss7:mobicents-slee-ss7:pom:2.8.0-SNAPSHOT


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.mobicents:mobicents-parent for project: org.mobicents.servers.jainslee.ss7:mobicents-slee-ss7:pom:2.8.0-SNAPSHOT for project org.mobicents.servers.jainslee.ss7:mobicents-slee-ss7:pom:2.8.0-SNAPSHOT
    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:601)
    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.servers.jainslee.ss7:mobicents-slee-ss7:pom:2.8.0-SNAPSHOT for project org.mobicents.servers.jainslee.ss7:mobicents-slee-ss7:pom:2.8.0-SNAPSHOT
    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-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/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-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/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: 5 seconds
[INFO] Finished at: Tue Oct 23 09:48:29 SAST 2012
[INFO] Final Memory: 7M/118M
[INFO] ------------------------------------------------------------------------


Regards and thanks
Vic

Victor Neiman

unread,
Oct 23, 2012, 4:00:31 AM10/23/12
to mobicent...@googlegroups.com
I looked and then contents of https://oss.sonatype.org/content/groups/public/org/mobicents/mobicents-parent/2.23-SNAPSHOT/ does not contain a .pom file.

Victor Neiman

unread,
Oct 23, 2012, 4:19:40 AM10/23/12
to mobicent...@googlegroups.com
Additionally, after changing the main pom.xml for jain-slee.ss7 to version 2.23 (from 2.23-SNAPSHOT), the following were not found (I think it has to  do with the fact that version 2.8.0-SNAPSHOT of the dependencies is not available in any repos):

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.mobicents.resources:mobicents-slee-ra-map-library:jar:2.8.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.resources -DartifactId=mobicents-slee-ra-map-library -Dversion=2.8.0-SNAPSHOT -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.resources -DartifactId=mobicents-slee-ra-map-library -Dversion=2.8.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.mobicents.resources:mobicents-slee-ra-map-du:jar:2.8.0-SNAPSHOT
      2) org.mobicents.resources:mobicents-slee-ra-map-library:jar:2.8.0-SNAPSHOT

2) org.mobicents.resources:mobicents-slee-ra-map-events:jar:2.8.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.resources -DartifactId=mobicents-slee-ra-map-events -Dversion=2.8.0-SNAPSHOT -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.resources -DartifactId=mobicents-slee-ra-map-events -Dversion=2.8.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.mobicents.resources:mobicents-slee-ra-map-du:jar:2.8.0-SNAPSHOT
      2) org.mobicents.resources:mobicents-slee-ra-map-events:jar:2.8.0-SNAPSHOT

3) org.mobicents.resources:mobicents-slee-ra-map-ratype:jar:2.8.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.resources -DartifactId=mobicents-slee-ra-map-ratype -Dversion=2.8.0-SNAPSHOT -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.resources -DartifactId=mobicents-slee-ra-map-ratype -Dversion=2.8.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.mobicents.resources:mobicents-slee-ra-map-du:jar:2.8.0-SNAPSHOT
      2) org.mobicents.resources:mobicents-slee-ra-map-ratype:jar:2.8.0-SNAPSHOT

4) org.mobicents.resources:mobicents-slee-ra-map-ra:jar:2.8.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.resources -DartifactId=mobicents-slee-ra-map-ra -Dversion=2.8.0-SNAPSHOT -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.resources -DartifactId=mobicents-slee-ra-map-ra -Dversion=2.8.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.mobicents.resources:mobicents-slee-ra-map-du:jar:2.8.0-SNAPSHOT
      2) org.mobicents.resources:mobicents-slee-ra-map-ra:jar:2.8.0-SNAPSHOT

----------
4 required artifacts are missing.

for artifact:
  org.mobicents.resources:mobicents-slee-ra-map-du:jar:2.8.0-SNAPSHOT


from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/)






Regards
Vic

Amit Bhayani

unread,
Oct 23, 2012, 4:57:35 AM10/23/12
to mobicent...@googlegroups.com
Please sync jain-slee.ss7 again and re-try.

Amit.

Victor Neiman

unread,
Oct 23, 2012, 5:58:37 AM10/23/12
to mobicent...@googlegroups.com
Great! Everything compiles and deploys smoothly. Thank you.

Vic

Victor Neiman

unread,
Oct 23, 2012, 8:04:39 AM10/23/12
to mobicent...@googlegroups.com
It seems I spoke too soon - the 'rules' and 'config' folders were not created in the mobicents-ussd-gateway folder in the JSLEE container. There is an empty file: /data/UssdManagement_ussdproperties.xml and file that is not there called /data/UssdManagement_scroutingrule.xml in the $JBOSS_HOME/server/default/, this one is mentioned in the logs: 

13:59:40,465 INFO  [ShortCodeRoutingRuleManagement] (main) Loading short code routig rule configuration from /home/vic/mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/data/UssdManagement_scroutingrule.xml
13:59:40,465 WARN  [ShortCodeRoutingRuleManagement] (main) Failed to load the short code routig rule configuration file.
/home/vic/mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/data/UssdManagement_scroutingrule.xml (No such file or directory)


Are the 'rules' and 'config' folder meant to be there, or is there a new method for configuring rules?

Regards
Vic 

Victor Neiman

unread,
Oct 23, 2012, 9:59:33 AM10/23/12
to mobicent...@googlegroups.com
The docs that ship with USSD gateway do not mention a format for the UssdManagement_scroutingrule.xml file, it seems that this is a new way to define rules, doing away with the 'rules' folder and .drl files?

Loay Mohammed

unread,
Oct 23, 2012, 11:06:36 AM10/23/12
to mobicent...@googlegroups.com

Can you send the document please

Thank

Victor Neiman

unread,
Oct 24, 2012, 3:15:47 AM10/24/12
to mobicent...@googlegroups.com

Loay Mohammed

unread,
Oct 24, 2012, 3:32:38 AM10/24/12
to mobicent...@googlegroups.com
yes i have it but i can't make the PDF can you please attach it to me

Thanks
Loay

Victor Neiman

unread,
Oct 24, 2012, 3:35:15 AM10/24/12
to mobicent...@googlegroups.com
See attached.
User_Guide.pdf

Loay Mohammed

unread,
Oct 24, 2012, 3:37:36 AM10/24/12
to mobicent...@googlegroups.com
many thanks :)

Victor Neiman

unread,
Oct 24, 2012, 4:44:40 AM10/24/12
to mobicent...@googlegroups.com
Hi Amit,

would it be possible to get some indication of the format and syntax for the UssdManagement_scroutingrule.xml file? As far as I can see this file replaced the 'rules' folder and the .drl files in it?

Regards
Vic

Victor Neiman

unread,
Oct 25, 2012, 5:49:49 AM10/25/12
to mobicent...@googlegroups.com
So far I have only figured out how to set the short code via the CLI command 'ussd scrule create <short_code) <URL>'.

Amit Bhayani

unread,
Oct 25, 2012, 11:01:47 AM10/25/12
to mobicent...@googlegroups.com
Hi Guys,

Docs is bit outdated. I will fix this as soon as I get sometime.

Yes drools is out now. We don't need complicated drools system for something simple.

Victor, you figured it out correctly. 

So for example add
ussd scrule create *519# http://127.0.0.1:8080/ussddemo/test

Obviously the URL will change to your application, but if you started JBoss binding to local IP, above will post to USSD TestServlet that gets deployed in same JBoss AS as USSD Gw.

Let us know if you face any issue


Amit.  

Victor Neiman

unread,
Oct 26, 2012, 4:37:53 AM10/26/12
to mobicent...@googlegroups.com
Hi Amit,

I'd just like to confirm my understanding of how USSD works: The rules that are created using 'ussd scrule create <short_code> <URL>' set up a relationship where USSD messages with the given short code are directed to the URL. One can deploy an HttpServlet to that URL that would manage what happens when the USSD messages arrive via the doPost() method. So essentially the logic governing what happens when a message arrives sits in doPost() method, as in the menus that the user is presented with and the responses to further messages for that session?

Regards and thanks
Vic

Amit Bhayani

unread,
Oct 27, 2012, 12:10:24 PM10/27/12
to mobicent...@googlegroups.com
Right Victor.

Amit.

Isam Hashem Al-Zwuairi

unread,
Nov 7, 2012, 2:19:04 AM11/7/12
to mobicent...@googlegroups.com

Please Help:

[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.mobicents.ussd:core:pom:1.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 10
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ line 62, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 50, column 12
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead. @
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @

    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636)
    at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

    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:601)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[ERROR]  
[ERROR]   The project org.mobicents.ussd:ussd-cli:1.0.0-SNAPSHOT (/home/isam/ussdgateway/core/oam/cli/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.mobicents.ussd:core:pom:1.0.0-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.ussd:core:pom:1.0.0-SNAPSHOT
    at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159)
    at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:813)
    at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:685)
    at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310)
    at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:410)
    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379)
    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:495)
    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379)
    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:495)
    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379)
    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:343)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636)
    at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

    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:601)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact org.mobicents.ussd:core:pom:1.0.0-SNAPSHOT
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
    at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155)
    ... 26 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.mobicents.ussd:core:pom:1.0.0-SNAPSHOT
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:528)
    ... 30 more
[ERROR]
[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

Amit Bhayani

unread,
Nov 7, 2012, 3:39:45 AM11/7/12
to mobicent...@googlegroups.com
Please use Maven 2.x 

Isam Hashem Al-Zwuairi

unread,
Nov 7, 2012, 7:46:51 AM11/7/12
to mobicent...@googlegroups.com
Thanks Amit,
But I got this error, (using Apache Maven 2.2.1), please help:


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Error transferring file: Connection timed out
  org.mobicents.protocols.ss7.mtp:mtp:jar:2.0.0-20121022.191602-25


from the specified remote repositories:
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  java.net-Public (http://download.java.net/maven/2/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)

Path to dependency:
    1) org.mobicents.ussd:xml:jar:1.0.0-SNAPSHOT
    2) org.mobicents.protocols.ss7.map:map-impl:jar:2.0.0-SNAPSHOT
    3) org.mobicents.protocols.ss7.mtp:mtp:jar:2.0.0-SNAPSHOT



[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error transferring file: Connection timed out
  org.mobicents.protocols.ss7.mtp:mtp:jar:2.0.0-20121022.191602-25


from the specified remote repositories:
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  java.net-Public (http://download.java.net/maven/2/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)

Path to dependency:
    1) org.mobicents.ussd:xml:jar:1.0.0-SNAPSHOT
    2) org.mobicents.protocols.ss7.map:map-impl:jar:2.0.0-SNAPSHOT
    3) org.mobicents.protocols.ss7.mtp:mtp:jar:2.0.0-SNAPSHOT


    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:601)
    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.ArtifactResolutionException: Error transferring file: Connection timed out
  org.mobicents.protocols.ss7.mtp:mtp:jar:2.0.0-20121022.191602-25


from the specified remote repositories:
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  java.net-Public (http://download.java.net/maven/2/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)

Path to dependency:
    1) org.mobicents.ussd:xml:jar:1.0.0-SNAPSHOT
    2) org.mobicents.protocols.ss7.map:map-impl:jar:2.0.0-SNAPSHOT
    3) org.mobicents.protocols.ss7.mtp:mtp:jar:2.0.0-SNAPSHOT


    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:233)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433)
    at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
    at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
    at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.maven.wagon.TransferFailedException: Error transferring file: Connection timed out
    at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:143)
    at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
    at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
    at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
    at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546)
    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
    ... 6 more
Caused by: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    at java.net.Socket.connect(Socket.java:579)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:270)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:327)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
    at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115)
    ... 12 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 minutes 10 seconds
[INFO] Finished at: Wed Nov 07 15:37:31 EET 2012
[INFO] Final Memory: 54M/313M
[INFO] ------------------------------------------------------------------------


On Wednesday, October 17, 2012 12:00:54 PM UTC+3, Victor Neiman wrote:

Vilius Panevėžys

unread,
Nov 7, 2012, 8:05:06 AM11/7/12
to mobicent...@googlegroups.com

On Wed, 7 Nov 2012 04:46:51 -0800 (PST)
Isam Hashem Al-Zwuairi <isamz...@gmail.com> wrote:

> Error transferring file: Connection timed out

This suggests a connectivity issue. You should have internet
connectivity on the build machine. In case that was a temporary glitch,
just rerun the build (clean install).


--
Vilius Panevėžys
Elitnet

Isam Hashem Al-Zwuairi

unread,
Nov 7, 2012, 8:11:49 AM11/7/12
to mobicent...@googlegroups.com, vil...@elitnet.lt
No problems regarding to the internet connection on my machine. I'll retry later. Thanks Panevėžys :)

Isam Hashem Al-Zwuairi

unread,
Nov 11, 2012, 4:21:12 AM11/11/12
to mobicent...@googlegroups.com
Hi All,

I got the same error:



[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.mobicents.protocols.ss7.management:shell

Reason: Error getting POM for 'org.mobicents.protocols.ss7.management:shell' from the repository: Error transferring file: Received fatal alert: bad_record_mac
  org.mobicents.protocols.ss7.management:shell:pom:2.0.0-20120903.000653-18


from the specified remote repositories:
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)

 for project org.mobicents.protocols.ss7.management:shell



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 2 seconds
[INFO] Finished at: Sun Nov 11 12:18:17 EET 2012
[INFO] Final Memory: 29M/323M
Reply all
Reply to author
Forward
0 new messages