tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus F. Frisch" <markus.fri...@nobiscum.de>
Subject Re: openejb-core-4.6.1-20140513.040854-160.jar broken?
Date Wed, 14 May 2014 11:12:15 GMT
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
[@] Markus.Frisch@nobisCum.de<mailto:Markus.Frisch@nobisCum.de>
[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 <rmannibucau@gmail.com<mailto:rmannibucau@gmail.com>>:

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 <markus.frisch@nobiscum.de<mailto:markus.frisch@nobiscum.de>>:
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
[@] Markus.Frisch@nobisCum.de<mailto:Markus.Frisch@nobisCum.de><mailto:Markus.Frisch@nobisCum.de>
[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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message