The META-INF inside the jars.

Tim wrote:
If you mean the metadata xml files in that 25-SNAPSHOT directory w/ the jars
then no those are correct.Otherwise, I don't know what you mean by
META-INF/maven.

On Tue, Mar 17, 2009 at 10:17 AM, Mark Struberg <[email protected]> wrote:

have you checked if it isn't only the META-INF/maven contents?

LieGrue,
strub

--- Tim <[email protected]> schrieb am Di, 17.3.2009:

Von: Tim <[email protected]>
Betreff: Re: Is there a way to verify/check/repair a local repository ?
An: "Maven Users List" <[email protected]>
Datum: Dienstag, 17. März 2009, 16:04
I'm actually having the same
problem.After alot of debugging I noticed
something interesting.

-rw-r--r-- 1 tich tich 1482491
common-util-25-20090313.151759-9.jar
-rw-r--r-- 1 tich tich 1482490
common-util-25-20090317.001243-13.jar
-rw-r--r-- 1 tich tich 1482491 common-util-25-SNAPSHOT.jar

I've snipped out all the non relevant info. Notice the size
of -SNAPSHOT?
It is actually different from the size of the latest
released version
(snapshot -13).
Since the -SNAPSHOT jar is used in the classpath instead of
the
actual -2009xxx.xxxx  versions it will fail the
build.
It seems that something in maven's mechanism for replacing
the SNAPSHOT jars
will occasionally break. I haven't had time to look into
exactly what it is
but this is likely the source of your build errors. Notice
that this only
effects -SNAPSHOT jars so I don't know if that is true in
your scenario.

On Tue, Mar 17, 2009 at 8:56 AM, Julien CARSIQUE <[email protected]
wrote:

Hello,

I had issues building my project but strangely it was
building fine on
other computers.
So, I tried the following steps:
  mv ~/.m2/repository
~/.m2/repository.old
  => build ok
  mv ~/.m2/repository
~/.m2/repository.new && mv ~/.m2/repository.old
~/.m2/repository && cp -rf
~/.m2/repository.new/* ~/.m2/repository/
  => build ok

Using diff, I saw that a few files differ (xml, pom,
jar, sha1, ...) so it
seems there was something "broken" in my local
repository. Deleting it is
not a very convenient solution.
Is there a way to verify/check/repair a local
repository (I tried -U option
without success) ?

Thanks,

--
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform -
www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable,
standard-based ECM Platform
[email protected]
| Tel: +33 1 40 33 79 87



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



--

Joan Rivers  - "I knew I was an unwanted baby when I
saw that my bath toys
were a toaster and a radio."




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to