On 08/15/2014 12:56 PM, Robbie Gemmell wrote:
On 14 August 2014 21:42, Gordon Sim <[email protected]> wrote:
(3) qpid-java-0.30-beta.tar.gz

- tests all pass, packages produced
- tested 0-10 and 1.0 client examples
   (I couldn't get the mvn build to work for these; probably something I'm
doing wrong though)


What issue did you see?

I got:

$ mvn clean package dependency:copy-dependencies -DincludeScope=runtime 
-DskipTests
/usr/lib/jvm/java
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.qpid:qpid-client-examples:0.30-SNAPSHOT 
(/home/gordon/qpid-releases/0.30/installation/java_install/qpid-client/0.30-SNAPSHOT/example/pom.xml)
 has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.apache.qpid:qpid-java-build:pom:0.30-SNAPSHOT and 'parent.relativePath' points 
at wrong local POM @ line 21, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


I mentioned in the readme that you need to do a local install of the
clients to test locally-built artifacts, but in this case because the
source is still versioned 0.30-SNAPSHOT the examples should resolve against
the remote snapshots repo too.

I saw that, however I was looking at the binary package, which I had produced from the source and then extracted into my install area. I wasn't sure if it applied in that case, or how I would go about installing from there (or if install only works from the source build). This is all largely about my lack of understanding regarding maven as a tool, and I imagine those more familiar with it will be quite at home.

I just ran javac against the examples in the end, since all the dependent jars were there in lib and that was simple enough.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to