archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching" <och...@apache.org>
Subject Re: Error opening jar file and end-tag /meta
Date Tue, 04 Nov 2008 21:28:56 GMT
Hi,

Hmm, looks like a corrupted pom.. Could you try deleting the artifact(s)
(and everything associated with it -- pom, metadata and checksum files)
causing the error?
Also, how did you configure Archiva to do the proxying?

Thanks,
Deng

On Wed, Nov 5, 2008 at 3:26 AM, waaraa1331 <waaraa1331@yahoo.com> wrote:

>
> Hola,
> I am trying to use archiva and maven together.  I would like to set it up
> so
> that when a repository from maven is accessed, it goes through archiva to
> access the repository.  I try am trying to do mvn install for one of my
> projects but I am getting these error messages.  Below are the two I am
> getting right now.  (I am pretty new to this so if it sounds like I don't
> really know what I'm talking about, I most likely don't)
>
> thanks for the help
>
>
> -----------------------------------------------------------------------------------------------------
>
> C:\dev\sim\trunk>mvn install -e
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building blah Device Load Simulator
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [WARNING] POM for 'com.blah:blah-core:pom:2.0:compile' is invalid. It will
> be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project
> com.blah:blah-core at C:\Documents and
> Settings\name.blah\.m2\repository\com\blah\blah-core\2.0\blah-core-2.0.pom
> [WARNING] POM for 'com.blah:sys-net:pom:2.0:compile' is invalid. It will be
> ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project
> com.blah:sys-net at C:\Documents and
> Settings\name.blah\.m2\repository\com\blah\sys-net\2.0\sys-net-2.0.pom
> [WARNING] POM for 'com.blah:sys-config:pom:2.0:compile' is invalid. It will
> be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project
> com.blah:sys-config at C:\Documents and
>
> Settings\name.blah\.m2\repository\com\blah\sys-config\2.0\sys-config-2.0.pom
> [INFO] [compiler:compile]
> [INFO] Compiling 70 source files to C:\dev\sim\trunk\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> error: error reading C:\Documents and
> Settings\name.blah\.m2\repository\com\blah\blah-core\2.0\blah-core-2.0.jar;
> error in opening zip file
> error: error reading C:\Documents and
> Settings\name.blah\.m2\repository\com\blah\sys-net\2.0\sys-net-2.0.jar;
> error in opening zip file
> error: error reading C:\Documents and
>
> Settings\name.blah\.m2\repository\com\blah\sys-config\2.0\sys-config-2.0.jar;
> error in opening zip file
>
>
> -----------------------------------------------------------------------------------------------------
>
> 2008-11-04 12:50:47,753 [http-8080-1] WARN
> org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer
> - Unable to read project model
>
> /export/home/archiva/tomcat/data/repositories/internal/com/enfora/enfora-core/2.0/enfora-core-2.0.pom
> : Unable to parse project xml
>
> file:/export/home/archiva/tomcat/data/repositories/internal/com/enfora/enfora-core/2.0/enfora-core-2.0.pom:
> Error on line 6 of document  : The element type "meta" must be terminated
> by
> the matching end-tag "</meta>". Nested exception: The element type "meta"
> must be terminated by the matching end-tag "</meta>".
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Error-opening-jar-file-and-end-tag--meta-tp20329252p20329252.html
> Sent from the archiva-users mailing list archive at Nabble.com.
>
>

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