Version info
==============================================================
Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
Java version: 1.5.0_15
Java home: C:\Programs\Java\jdk1.5.0_15\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
==============================================================
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
==============================================================

I get following error when I run  "mnv install"


==========================================================================
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\Programs\Apache\Shiro\pom.xml to C:\Documents and
Settings\
akulkarni\.m2\repository\org\apache\shiro\shiro-root\1.0-incubating-SNAPSHOT\shi
ro-root-1.0-incubating-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Core
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[WARNING] POM for 'javax.mail:mail:pom:1.4:test' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 28 source files to
C:\Programs\Apache\Shiro\core\target\classes

[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 43 source files to
C:\Programs\Apache\Shiro\core\target\test-cl
asses
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading C:\Documents and
Settings\akulkarni\.m2\repository\javax\ma
il\mail\1.4\mail-1.4.jar; error in opening zip file
=========================================================

Thanks

-- 
View this message in context: 
http://n2.nabble.com/Error-while-building-Shiro-from-source-tp3989762p3989762.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to