Hi Madhurima,

it sounds to me like your ical4j-1.0-rc1.jar could be broken. This can happen 
if maven starts downloading the jar but then experiences network problems. I 
suggest making sure that 

1) the jar is there:
     ls -l /home/rit/.m2/repository/net/fortuna/ical4j/ical4j/1.0-rc1/

2) the jar can be read:
     jar -tf  
/home/rit/.m2/repository/net/fortuna/ical4j/ical4j/1.0-rc1/ical4j-1.0-rc1.jar

If 2) fails, I suggest removing all of ical4j/1.0-rc1 and running maven again, 
which should try to download the artifact again. In general, you can safely 
remove all of the maven artifacts stored in ~/.m2/repository, as they will be 
downloaded again upon the next build (though taking up a lot of bandwidth and 
time).

Tobias

On 05.07.2011, at 01:34, Madhurima Bandyopadhyay wrote:

> Hi all,
> 
> I was trying to install Matterhorn 1.1 in a ubuntu machine, and followed the 
> steps from 
> http://opencast.jira.com/wiki/display/MHDOC/Install+Source+Linux+All+in+One++V1.1.
> While I tried to build Matterhorn I got some error message given below,
> 
> [INFO] [resources:copy-resources {execution: copy-jquery}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 19 resources
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 11 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 85 source files to 
> /opt/matterhorn/1.1.0/modules/matterhorn-capture-agent-impl/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] error: error reading 
> /home/rit/.m2/repository/net/fortuna/ical4j/ical4j/1.0-rc1/ical4j-1.0-rc1.jar;
>  error in opening zip file
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> error: error reading 
> /home/rit/.m2/repository/net/fortuna/ical4j/ical4j/1.0-rc1/ical4j-1.0-rc1.jar;
>  error in opening zip file
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 27 minutes 40 seconds
> [INFO] Finished at: Fri Jul 01 16:39:30 EDT 2011
> [INFO] Final Memory: 211M/504M
> [INFO] 
> ------------------------------------------------------------------------
> 
> Then I tried to build them individually. When I executed the command for 
> capture agent again I got the same error message. (command used --"mvn clean 
> install -P capture -DdeployTo=/opt/matterhorn/felix/matterhorn")
> 
> Please suggest me how I can overcome this problem.
> 
> Also please let me know, how to uninstall Matterhorn, so that it can be 
> reinstalled again.
> 
> Thanks,
> Madhurima B.

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to