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.
