Open GoogleCodeExporter opened 9 years ago
Hi All,
That was my fault as I have not added proxy entry in my Maven. I have added
below entry in settings.xml:
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>XXXXX</host>
<port>XX</port>
<username>XXXXX</username>
<password>XXXXX</password>
</proxy>
</proxies>
Original comment by sanjay...@gmail.com
on 2 Mar 2015 at 6:59
I am facing another issue now. Please find below stack trace:
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure
to find org.mobicents.tools:maven-eclipse-plugin:jar:1.0.1.FINAL in
http://repo.maven.apa
che.org/maven2 was cached in the local repository, resolution will not be
reattempted until the update interval of central has elapsed or updates are
forced
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.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:207)
... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to
find org.mobicents.tools:maven-eclipse-plugin:jar:1.0.1.FINAL in
http://repo.maven.apache.
org/maven2 was cached in the local repository, resolution will not be
reattempted until the update interval of central has elapsed or updates are
forced
at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
... 27 more
[ERROR]
Please help me to sort this.
Original comment by sanjay...@gmail.com
on 2 Mar 2015 at 7:01
Hi All,
Come how I managed to fix about error but I am facing some other similar error
as below. Request you to provide me some direction to take this further:
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could
not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-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.smsc:core:pom:1.0.0.ALPHA-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.
Original comment by sanjay...@gmail.com
on 2 Mar 2015 at 10:34
Hi All,
I am not able get rid of the above error. Kindly request you to help me.
Also I have noticed some details about downloading , installing and
configuration of TelScale SMSC as per below link:
http://docs.telestax.com/smsc-downloading-installing-and-configuring/
I am not sure if I can use Mobicent SMSC implementation or TelScale SMSC
integration. Please help me to decide this as I am working on the POC which I
need to present within couple of weeks.
Thanks in advance.
Regards,
Sanjay
Original comment by sanjay...@gmail.com
on 3 Mar 2015 at 7:10
Hello Guys,
I have fixed above mentioned issue. Changes cloudhopper entry in all the
pom.xml with below:
<groupId>cloudhopper</groupId> to <groupId>com.cloudhopper</groupId>
Also I changed cloudhopper version:
ch.smpp.version=4.1.2 to ch.smpp.version=5.0.0.
Regards,
Sanjay
Original comment by sanjay...@gmail.com
on 4 Mar 2015 at 9:14
But I am facing another issue now. When checked found that path
"E:\Project\smscgateway\core\slee\smpp-server-ra\library\target\classes\jars\cla
sses" does not exist.
Not sure why it is trying to copy file in classes folder which is already in
classes folder i.e. "\target\classes\jars\classes"
Caused by: org.apache.maven.plugin.MojoExecutionException: Error copying
artifact from E:\Project\smscgateway\core\smpp\target\classes to
E:\Project\smscgateway\core\slee\smpp-server-ra\library\target\classes\jars\clas
ses
at org.apache.maven.plugin.dependency.AbstractDependencyMojo.copyFile(AbstractDependencyMojo.java:194)
at org.apache.maven.plugin.dependency.CopyDependenciesMojo.copyArtifact(CopyDependenciesMojo.java:186)
at org.apache.maven.plugin.dependency.CopyDependenciesMojo.execute(CopyDependenciesMojo.java:85)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
Please let me know if any one has any clue. \
Thank you very much in advance.
Regards,
Sanjay
Original comment by sanjay...@gmail.com
on 4 Mar 2015 at 9:17
[deleted comment]
Hi There,
Fixed below issue by creating classes folder inside jar folder i.e. -
"...\target\classes\jars\classes". But need to run target without clean as if.
Caused by: org.apache.maven.plugin.MojoExecutionException: Error copying
artifact from E:\Project\smscgateway\core\smpp\target\classes to
E:\Project\smscgateway\core\slee\smpp-server-ra\library\target\classes\jars\clas
ses
Regards,
Sanjay
Original comment by sanjay...@gmail.com
on 4 Mar 2015 at 12:32
Hi There,
After fixing above issue by creating classes folder I am facing below issue.
After some analysis I found that there is not artifact id declared in project
"<artifactId>events</artifactId>". After analysis update ratype project pom.xml
(..core\slee\smpp-server-ra\ratype) by modifying events entry from
<artifactId>events</artifactId> to
<artifactId>smpp-server-ra-events</artifactId>. This fix below issue.
Downloading:
https://oss.sonatype.org/content/groups/public/org/mobicents/smsc/events/1.0.0.A
LPHA-SNAPSHOT/events-1.0.0.ALPHA-SNAPSHOT.jar
[INFO] Unable to find resource
'org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT' in repository
mobicents-public-repository-group (https://oss.sonatype.org/content/gr
oups/public)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.mobicents.smsc -DartifactId=events -Dversion=1.0.0.ALPHA-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.smsc -DartifactId=events -Dversion=1.0.0.ALPHA-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dreposito
ryId=[id]
Path to dependency:
1) org.mobicents.smsc:smpp-server-ra-ratype:jar:1.0.0.ALPHA-SNAPSHOT
2) org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT
----------
1 required artifact is missing.
Original comment by sanjay...@gmail.com
on 4 Mar 2015 at 12:40
Fixed below exception by creating classes folder:
org.apache.maven.lifecycle.LifecycleExecutionException: Error copying artifact
from E:\Project\smscgateway\core\slee\smpp-server-ra\events\target\classes to
E:\Project\smscgateway\core\slee\smpp-server-ra\du\target\classes\jars\classes
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
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)
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error copying artifact
from E:\Project\smscgateway\core\slee\services\alertsbb\target\classes to
E:\Project\smscgateway\core\slee\services\du\target\classes\jars\classes
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
Original comment by sanjay...@gmail.com
on 4 Mar 2015 at 12:40
After following all above steps finally I am able to compile code successfully
with below message:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Mobicents SMSC Parent ................................. SUCCESS [0.159s]
[INFO] Core .................................................. SUCCESS [0.000s]
[INFO] Core : SMPP Server .................................... SUCCESS [8.079s]
[INFO] Core : Operations and Management : CLI ................ SUCCESS [0.060s]
[INFO] Core : SLEE ........................................... SUCCESS [0.000s]
[INFO] Core : SLEE : SMPP Server RA Parent ................... SUCCESS [0.000s]
[INFO] Core : SLEE : SMPP Server RA Library .................. SUCCESS [1.254s]
[INFO] Core : SLEE : SMPP Server RA Events ................... SUCCESS [0.030s]
[INFO] Core : SLEE : SMPP Server RA Type ..................... SUCCESS [0.040s]
[INFO] Core : SLEE : SMPP Server RA .......................... SUCCESS [0.080s]
[INFO] Core : SLEE : SMPP Server RA DU ....................... SUCCESS [0.983s]
[INFO] Core : SLEE : Services Parent ......................... SUCCESS [0.000s]
[INFO] Core : SLEE : Services Events ......................... SUCCESS [0.010s]
[INFO] Core : SLEE : Services Alert SBB ...................... SUCCESS [8.086s]
[INFO] Core : SLEE : Services Tx SMPP Server SBB ............. SUCCESS [0.020s]
[INFO] Core : SLEE : Services Rx SMPP Server SBB ............. SUCCESS [0.030s]
[INFO] Core : SLEE : Services Mt SBB ......................... SUCCESS [0.081s]
[INFO] Core : SLEE : Services Mo SBB ......................... SUCCESS [0.111s]
[INFO] Core : SLEE : Service DU .............................. SUCCESS [0.131s]
[INFO] Core : Bootstrap ...................................... SUCCESS [37.778s]
[INFO] Test .................................................. SUCCESS [0.000s]
[INFO] Test : MapModule ...................................... SUCCESS [0.270s]
[INFO] Test : Operations and Management ...................... SUCCESS [0.040s]
[INFO] Test : Bootstrap ...................................... SUCCESS [10.911s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 10 seconds
[INFO] Finished at: Wed Mar 04 17:39:29 IST 2015
[INFO] Final Memory: 56M/513M
[INFO] ------------------------------------------------------------------------
Original comment by sanjay...@gmail.com
on 4 Mar 2015 at 12:42
Original issue reported on code.google.com by
sanjay...@gmail.com
on 27 Feb 2015 at 11:50