I tried cleaning my local cache and made sure that our company apache archive 
doesn’t hold copies of the openejp-SNAPSHOT.

When I build I get the warning:

[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 building with "mvn -X install“ I get the following messages:

[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: 1 problem was 
encountered while building the effective model for 
org.apache.openejb:openejb-core:4.6.1-SNAPSHOT
[ERROR] 'dependencies.dependency.version' for org.apache.openjpa:openjpa:jar is 
missing. @

I have the patch-openjpa - Repository 
(https://repository.apache.org/content/repositories/orgapachetomee-1022/)in my 
pom - is there anything else I could be missing?

Thank you for your help,
Markus Frisch

--
Markus Frisch
[Prokurist / Authorized Representative]
nobisCum Deutschland GmbH

[T] +49 9302 / 987 97 - 2633
[M] +49 173 / 91 88 058
[@] [email protected]<mailto:[email protected]>
[URL] http://www.nobisCum.de

[Anschrift] Ostring 2-4, 97228 Rottendorf, Germany
[Registergericht] Würzburg, HRB 5159
[Geschäftsführer] Herbert Stieglitz, Hans-Peter Holl




Am 14.05.2014 um 10:39 schrieb Romain Manni-Bucau 
<[email protected]<mailto:[email protected]>>:

Seems ok on repository.apache.org<http://repository.apache.org/> so maybe try 
to cleanup
4.6.1-SNAPSHOTs from your local repo

If you have big issues we can force a new deployment


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-05-14 10:10 GMT+02:00 Markus F. Frisch 
<[email protected]<mailto:[email protected]>>:
We are using the OpenEJB snapshot as an embedded container for our integration 
testing.

Currently we get the message

"[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“

in our builds.

And the Test fails with

[INFO] --- exec-maven-plugin:1.2.1:exec (create-test-dump) @ webapp ---
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/openejb/jee/EnterpriseBean
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.newInstance(Class.java:345)
at javax.ejb.embeddable.EJBContainer.findAllFactories(EJBContainer.java:122)
at javax.ejb.embeddable.EJBContainer.<clinit>(EJBContainer.java:40)
at 
de.nobiscum.7030.infrastructure.ejbtests.IntegrationTestDataProvider.createEJBContainer(IntegrationTestDataProvider.java:157)
at 
de.nobiscum.7030.infrastructure.ejbtests.IntegrationTestDataProvider.initialize(IntegrationTestDataProvider.java:143)
at 
de.nobiscum.7030.infrastructure.ejbtests.IntegrationTestDataProvider.main(IntegrationTestDataProvider.java:78)
Caused by: java.lang.ClassNotFoundException: 
org.apache.openejb.jee.EnterpriseBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 9 more

Is the current Snapshot broken?

Thanks for your help,
Markus Frisch

--
Markus Frisch
[Prokurist / Authorized Representative]
nobisCum Deutschland GmbH

[T] +49 9302 / 987 97 - 2633
[M] +49 173 / 91 88 058
[@] 
[email protected]<mailto:[email protected]><mailto:[email protected]>
[URL] http://www.nobisCum.de<http://www.nobiscum.de/>

[Anschrift] Ostring 2-4, 97228 Rottendorf, Germany
[Registergericht] Würzburg, HRB 5159
[Geschäftsführer] Herbert Stieglitz, Hans-Peter Holl

Reply via email to