Tried building oauth client and server samples in 2.5.3 release using provided instruction:
mvn clean install
These attempts in both client and server fail with the following relevant exception from the stack trace:
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.cxf.samples:cxf-samples' not found in repository: Unable to download the artifact from any repository
Looking in the pom.xml file for this 2.5.3-SNAPSHOT problem, I find this entry:
Changing it to the following resolves the problem and lets the samples build:
The client now starts with "mvn jetty:run", but the server still fails with an apparently unrelated error. Still, at least it builds with this change.
The server error is:
This is apparently due to the use of cglib in the pom.xml. It can be resolved and let the server start by changing this entry in the pom.xml:
After this it is possible to start "mvn jetty:run" with no errors, though I don't know enough about the sample to verify its functionality yet.