Hello All
I want to build the one-ping-only application and I have used the following command.
./gen-sdn-app --directory ~/HPVANOPOExnew/ --template one-ping-only \
--app opoexnew --company hp --subject Switchoponewex --app-name "oponew" \
--company-name "Hewlett Packard" --description "Application for Flow Measurement" \
--rest-path switchesopoexnew
Accordingly I have the following directory
HPVANOPOExnew/opol-bl/
where there are one "src" folder and two files including "opo.descriptor" and "pom.xml"
After setting the proxy using export "http_proxy=http: ..." and "export https_proxy=https: ...", I am using "mvn clean install" command, but I am getting the following error. I was wondering what is the problem and how I can build the "one-ping-only" application?
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sdn-one-ping 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/easymock/easymock/3.1/easymock-3.1.jar
Downloading: https://repo.maven.apache.org/maven2/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.567 s
[INFO] Finished at: ...
[INFO] Final Memory: 12M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sdn-one-ping: Could not resolve dependencies for project com.hp.sample:sdn-one-ping:bundle:1.0.0-SNAPSHOT: The following artifacts could not be resolved: org.easymock:easymock:jar:3.1, cglib:cglib-nodep:jar:2.2.2: Could not transfer artifact org.easymock:easymock:jar:3.1 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:<a number here>[repo.maven.apache.org/<an IP here>] failed: Connection refused -> [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
Thank you very much
Best
Mehdi