I am trying maven for a new proxy that I developed in UI.
I tried the sample given in here.Its working fine for me.
Then,I followed below structure to execute mvn install for my new proxy.
I am facing two issues while executing mvn install.
1)When executing mvn install for the first time,it threw error as “stepdefinitions not found in target”.
Eventhough I added policies in the src,it threw error for stepdefinitions.So,I just created an empty folder in target for stepdefinitions.It passed the check then.
[DEBUG] =============Searching for XML files in the following directory ======== ======== F:\ApigeeCI\MavenProxyNew\src\gateway\MavenProxyNew\target\apiproxy\stepdefinitions [DEBUG] =============Number of files found is================ 0
I dont think this is right method altering something in target folder for maven.Please advice correct approach for this.
2)My second issue is,after passing all the checks,its throwing below error.I switched to debug logging mode with -X,but still not much information about the error.Please let me know what I am missing.
[DEBUG] =============Searching for XML files in the following directory ========
========
F:\ApigeeCI\MavenProxyNew\src\g
ateway\MavenProxyNew\target\apiproxy
[DEBUG] =============Nuber of files found is================
1
[ERROR] null
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.562 s
[INFO] Finished at: 2016-02-28T22:09:03-07:00
[INFO] Final Memory: 6M/17M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-ma
ven-plugin:1.0.2:configure (configure-bundle) on project MavenProxy: null: MojoE
xecutionException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal i
o.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.0.2:configure (conf
igure-bundle) on project MavenProxy: null
