you copied .m2 or .m2/repository? if you want the artifact g/a/1.0 you
need to have /tmp/.m2/g/a/1.0/a-1.0.jar

also check permissions on /tmp/.m2 and /tmp/.m2/* (got several
surprises in real environments)

The fact it is cached is surely normal, first implementation were
caching always, only 2.x supports "in place" resolution


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2015-01-21 0:09 GMT+01:00 hwaastad <[email protected]>:
> Well,
> I was a little too quick in my response.
>
> It is OK while running tomee-maven-plugin or if your running catalina.sh run
> as your own user. (and having your own .m2 directory)
>
> Whats not working for me right now is running tomee as another user (system)
>
> I've copied my own (working) .m2 directory to /tmp/.m2 set the
> openejb.m2.home=/tmp/.m2 but tomee apparently does not traverse this
> directory and starts copying files to catalina_home/temp probably resolving
> external repos. Hence, my privatly installed artifacts will not be copied
> and my project fails.
>
> br hw
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/jars-txt-in-jar-with-EJBs-tp4673404p4673465.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to