I use a Jenkins server which is administered by another team. I get the 
following errors intermittently. The team claim the issue is

"the maven repository is not multi write safe. It's possible several jobs are 
updating the jar files at the same time and corrupt them. If that's the case, 
the only option available at the moment is to use a repository local to the 
workspace"

These are reads, and the writes to create these jars will only ever be done 
once - isn't that correct?

I have my own settings.xml to use but I have not configured a local repo for my 
own project because i thought that would not be my responsibility as a jenkins 
client.

Is there an obvious source of this error, and alternatively should I configure 
my own repo in my settings.xml?

Here's the error:


[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error reading 
/home/jenkins/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar;
 error in opening zip file
[ERROR] error reading 
/home/jenkins/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar; 
error in opening zip file
[ERROR] error reading 
/home/jenkins/.m2/repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar;
 error in opening zip file
[ERROR] error reading 
/home/jenkins/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar;
 error in opening zip file
[ERROR] error reading 
/home/jenkins/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar; 
error in opening zip file
[ERROR] error reading 
/home/jenkins/.m2/repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar;
 error in opening zip file
[ERROR] 
/home/jenkins/workspace/rdis_gem-tardis-rest_master-V5NBFAKC4NMCAXWRJ7MGOI5IW5OWL6UESQFP6S4T4AW2CRGDV65A/src/main/java/com/bp/gem/util/servlet/RequestLoggingInnerFilter.java:[6,36]
 package org.apache.commons.io.output does not exist
[ERROR] 
/home/jenkins/workspace/rdis_gem-tardis-rest_master-V5NBFAKC4NMCAXWRJ7MGOI5IW5OWL6UESQFP6S4T4AW2CRGDV65A/src/main/java/com/bp/gem/util/servlet/RequestLoggingInnerFilter.java:[243,23]
 cannot find symbol
  symbol:   class TeeOutputStream
  location: class 
com.bp.gem.util.servlet.RequestLoggingInnerFilter.TeeServletOutputStream
[ERROR] 
/home/jenkins/workspace/rdis_gem-tardis-rest_master-V5NBFAKC4NMCAXWRJ7MGOI5IW5OWL6UESQFP6S4T4AW2CRGDV65A/src/main/java/com/bp/gem/util/servlet/RequestLoggingInnerFilter.java:[246,32]
 cannot find symbol
  symbol:   class TeeOutputStream
  location: class 
com.bp.gem.util.servlet.RequestLoggingInnerFilter.TeeServletOutputStream
[INFO] 9 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.216 s
[INFO] Finished at: 2018-03-23T15:12:08+00:00
[INFO] Final Memory: 32M/366M
[INFO] ------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to