Hi,

I am trying to incorporate OpenEJB rest services into my project. So far I
haven't been successful with getting a rest unit test to work - so I tried
to work with the examples themselves.

I cloned the tomee git repository, but the rest examples fail their tests
(with mvn clean install). The tests fail due to null pointers or class not
found errors. The maven output contains this line, which is probably the
root issue -

[WARNING] The POM for
org.apache.openejb:openejb-core:jar:4.6.1-20140513.040854-160 is invalid,
transitive dependencies (if any) will not be available, enable debug
logging for more details

When running my project under gradle, pointing to the
http://repository.apache.org/snapshots repository, I get the following
error from a dependency on
'org.apache.openejb:openejb-cxf-rs:4.6.1-SNAPSHOT'

Could not parse POM
http://repository.apache.org/snapshots/org/apache/openejb/openejb-core/4.6.1-SNAPSHOT/openejb-core-4.6.1-20140513.040854-160.pom
       Unable to resolve version for dependency
'org.apache.openjpa:openjpa:jar'


Any pointers for what I need to do to get the examples to work, or to get
the pom to resolve correctly?

Output of my mvn --version:

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T09:37:52-08:00)

Maven home: /Users/ben/apache-maven-3.2.1

Java version: 1.7.0_51, vendor: Oracle Corporation

Java home:
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"




Thanks!
Ben

Reply via email to