There is probably a simple solution to this, but I'm trying to run the 
api-reconciliation tool and I'm getting errors.

Here is what I've done:

- built proton
- did a source config.sh from the build dir
- switched to the design/api-reconciliation dir
- ran ./generate-c-functions.sh
- verified that target/cfunctions.txt exists
- ran mvn clean install -U
- ran mvn compile
- ran mvn exec:java

Here is the output from the exec:
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building proton-api-reconciliation 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ 
proton-api-reconciliation >>>
[INFO] 
[INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ 
proton-api-reconciliation <<<
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ 
proton-api-reconciliation ---
[WARNING] The POM for org.apache.qpid:proton-api:jar:1.0-SNAPSHOT is missing, 
no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.563s
[INFO] Finished at: Wed Oct 01 14:06:17 EDT 2014
[INFO] Final Memory: 8M/103M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java 
(default-cli) on project proton-api-reconciliation: Execution default-cli of 
goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java failed: Plugin 
org.codehaus.mojo:exec-maven-plugin:1.2.1 or one of its dependencies could not 
be resolved: Failure to find org.apache.qpid:proton-api:jar:1.0-SNAPSHOT in 
http://snapshots.repository.codehaus.org was cached in the local repository, 
resolution will not be reattempted until the update interval of codehaus.org 
has elapsed or updates are forced -> [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/PluginResolutionException

>From this I'm assuming that I'm missing the correct proton-api.jar, but I'm 
>unclear on how to build/install it. I found a pom.xml for proton-api version 
>0.6, but api-reconciliation is looking for version 1.0-SNAPSHOT. When I modify 
>the api-reconciliation pom to use the 0.6 proton.api.jar, it crashes.

Any suggestions?

P.S. I should mention that I built the proton-jni jar file separately and 
copied to my build/proton-c/bindings/java directory

Thanks
-Ernie

Reply via email to