Hi,
I am trying to compile NSH SFC plugin 17.01 for VPP.
I downloaded the source using the following command:

#> git clone https://gerrit.fd.io/r/nsh_sfc -b 
stable/1701<https://gerrit.fd.io/r/nsh_sfc%20-b%20stable/1701>

I execute the below commands, for compilation:

#> autoreconf -i -f
#> ./configure
#> make
make  all-recursive
make[1]: Entering directory '/root/vpp-ls1-working-code/plugins/nsh-plugin'
Making all in java
make[2]: Entering directory '/root/vpp-ls1-working-code/plugins/nsh-plugin/java'
dir=`pwd`;                                              \
mkdir -p jvpp/src/main/java/io/fd/nsh_sfc/jvpp;                 \
cd jvpp/src/main/java/io/fd/nsh_sfc/jvpp;                       \
mkdir -p dto future callfacade callback notification test;      \
jvpp_gen.py -i ${dir}/nsh.api.json --plugin_name nsh;           \
cd -;                                                   \
mv -f jvpp/src/main/java/io/fd/nsh_sfc/jvpp/jvpp_nsh_gen.h jvpp/jvpp_nsh_gen.h; 
                                                \
cp ./pom.xml jvpp/;                             \
cp ./jvpp/test/*.java jvpp/src/main/java/io/fd/nsh_sfc/jvpp/test/;              
                \
cd jvpp;                                \
mvn ${MAVEN_SETTINGS_OPTIONS} -v;       \
mvn ${MAVEN_SETTINGS_OPTIONS} clean process-classes;
Generating Java API for 
['/root/vpp-ls1-working-code/plugins/nsh-plugin/java/nsh.api.json']
inputfiles ['/root/vpp-ls1-working-code/plugins/nsh-plugin/java/nsh.api.json']
plugin_name nsh
Skipping custom types generation 
(['/root/vpp-ls1-working-code/plugins/nsh-plugin/java/nsh.api.json'] does not 
define custom types).
Generating DTOs
Generating JVpp
Generating Callback interfaces
Generating Notification interfaces and implementation
Generating jvpp C
Generating JVpp future facade
Generating JVpp callback facade
Java API for 
['/root/vpp-ls1-working-code/plugins/nsh-plugin/java/nsh.api.json'] generated 
successfully
/root/vpp-ls1-working-code/plugins/nsh-plugin/java
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-arm64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "4.1.35-rt41_1703", arch: "aarch64", family: "unix"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building nsh-sfc 17.01-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: 
https://repo.maven.apache.org/maven2/io/fd/vpp/jvpp-registry/17.01/jvpp-registry-17.01.pom
[WARNING] The POM for io.fd.vpp:jvpp-registry:jar:17.01 is missing, no 
dependency information available
Downloading: 
https://repo.maven.apache.org/maven2/io/fd/vpp/jvpp-registry/17.01/jvpp-registry-17.01.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.420 s
[INFO] Finished at: 2017-07-04T16:29:34+05:30
[INFO] Final Memory: 11M/178M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nsh-sfc: Could not resolve 
dependencies for project io.fd.nsh_sfc:nsh-sfc:jar:17.01-SNAPSHOT: Could not 
find artifact io.fd.vpp:jvpp-registry:jar:17.01 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
Makefile:990: recipe for target 'jvpp/io_fd_vpp_jvpp_nsh_JVppNshImpl.h' failed
make[2]: *** [jvpp/io_fd_vpp_jvpp_nsh_JVppNshImpl.h] Error 1
make[2]: Leaving directory '/root/vpp-ls1-working-code/plugins/nsh-plugin/java'
Makefile:612: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/vpp-ls1-working-code/plugins/nsh-plugin'
Makefile:433: recipe for target 'all' failed
make: *** [all] Error 2

When I want download the file 'jvpp-registry-17.01.pom' manually from the below 
location: https://repo.maven.apache.org/maven2/io/fd/vpp/jvpp-registry/17.01/, 
the link is NOT FOUND.
Can anyone please help me to compile NSH SFC plugin?


Regards,
Srikanth.
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to