Software Defined Networking
1828844 Members
2814 Online
109985 Solutions
New Discussion

Not able to Install SDN sample application,

 
SatishK
Frequent Advisor

Not able to Install SDN sample application,

Hi All,

Thanks in Advance,

I am trying to install the sample appln of Health Monitor, with the below command
C:\Users\satish.khandre\SDN\sdk-sample-app\health-monitor\hm-root>mvn install

I am getting following error, as per error it looks like the POM are not available for com/hp/.........
and for other it is able to download, like for

https://repo.maven.apache.org/maven2/org/objenesis/objenesis/

Error Below

Downloaded: https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/1.2/objenesis-parent-1.2.pom (11 KB at 21.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/hp/util/hp-util-test/6.23.0/hp-util-test-6.23.0.pom
[WARNING] The POM for com.hp.util:hp-util-test:jar:6.23.0 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.scr.annotations/1.9.4/org.apache.felix.scr.annotations-1
.9.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.scr.annotations/1.9.4/org.apache.felix.scr.annotations-1.
9.4.pom (3 KB at 1.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/hp/util/hp-util-misc/6.23.0/hp-util-misc-6.23.0.pom
[WARNING] The POM for com.hp.util:hp-util-misc:jar:6.23.0 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/com/hp/util/hp-util-api/6.23.0/hp-util-api-6.23.0.pom
[WARNING] The POM for com.hp.util:hp-util-api:jar:6.23.0 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/com/hp/util/hp-util-ip/6.23.0/hp-util-ip-6.23.0.pom
[WARNING] The POM for com.hp.util:hp-util-ip:jar:6.23.0 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/com/hp/sdn/sdn-common-model/2.0.0/sdn-common-model-2.0.0.pom
[WARNING] The POM for com.hp.sdn:sdn-common-model:jar:2.0.0 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.scr.annotations/1.9.4/org.apache.felix.scr.annotations-1
.9.4.jar
Downloading: https://repo.maven.apache.org/maven2/com/hp/util/hp-util-misc/6.23.0/hp-util-misc-6.23.0.jar
Downloading: https://repo.maven.apache.org/maven2/com/hp/util/hp-util-ip/6.23.0/hp-util-ip-6.23.0.jar
Downloading: https://repo.maven.apache.org/maven2/com/hp/util/hp-util-api/6.23.0/hp-util-api-6.23.0.jar
Downloading: https://repo.maven.apache.org/maven2/com/hp/sdn/sdn-common-model/2.0.0/sdn-common-model-2.0.0.jar
Downloaded: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar (26 KB at 9.7 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.scr.annotations/1.9.4/org.apache.felix.scr.annotations-1.
9.4.jar (32 KB at 6.3 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] hm-root ............................................ FAILURE [ 27.009 s]
[INFO] hm-model ........................................... SKIPPED
[INFO] hm-api ............................................. SKIPPED
[INFO] hm-dao-model ....................................... SKIPPED
[INFO] hm-dao-api ......................................... SKIPPED
[INFO] hm-dao ............................................. SKIPPED
[INFO] hm-bl .............................................. SKIPPED
[INFO] hm-rs .............................................. SKIPPED
[INFO] hm-ui .............................................. SKIPPED
[INFO] hm-app ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.950 s
[INFO] Finished at: 2014-09-09T18:45:30+05:30
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hm-root: Could not resolve dependencies for project com.hp.hm:hm-root:pom:1.0.0-SNAPSHOT: The follo
wing artifacts could not be resolved: com.hp.util:hp-util-misc:jar:6.23.0, com.hp.util:hp-util-api:jar:6.23.0, com.hp.util:hp-util-ip:jar:6.2
3.0, com.hp.sdn:sdn-common-model:jar:2.0.0: Could not find artifact com.hp.util:hp-util-misc:jar:6.23.0 in central (https://repo.maven.apache
.org/maven2) -> [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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
C:\Users\satish.khandre\SDN\sdk-sample-app\health-monitor\hm-root>

Regards,
Satish K
satish.khandre@mphasis.com

1 REPLY 1
sdnindia
Trusted Contributor

Re: Not able to Install SDN sample application,

Hello Satish,

 

It looks like you are trying on windows however the scripts used to install sdk and generate sample app are for Ubuntu Linux.Are you able to install sdk  and generate sample app in Windows?

 

After SDK is installed successfully , required jars are installed in the local maven repository. Then you can generate the sample app using gen-sdn-app script.

 

Please try in Ubuntu Linux OS and let us know if you still face any issue.

 

Thanks,

HP SDN Team