Comments (6)
Try to update your maven version. This same thing happened to me and it worked after update maven.
For me it worked with this version:
http://artfiles.org/apache.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
from sparkbwa.
Yes, updating Maven was the first thing I did. But I also had to update JDK.
from sparkbwa.
And it worked?
from sparkbwa.
Yup. For some reason I had to update both. Maven 3.3.9 / Java 1.8.0_121
from sparkbwa.
Great! Thanks!
from sparkbwa.
Hi, I'm having the same issue.
mvn --version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_141, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-71-generic", arch: "amd64", family: "unix"
The error msg:
mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building SparkBWA 0.2
[INFO] ------------------------------------------------------------------------
Downloading: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-metadata.xml from/to 128 (https://mvn.128.no/maven2): Access denied to: https://mvn.128.no/m$
ven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-metadata.xml from https://mvn.128.no/maven2 was cached in the local repository, resolution will not $
e reattempted until the update interval of 128 has elapsed or updates are forced. Original error: Could not transfer metadata cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-meta$
ata.xml from/to 128 (https://mvn.128.no/maven2): Access denied to: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden$
Downloading: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/native-utils-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.298 s
[INFO] Finished at: 2017-11-27T18:17:05+00:00
[INFO] Final Memory: 32M/1963M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SparkBWA: Could not resolve dependencies for project com.github.sparkbwa:SparkBWA:jar:0.2: Failed to collect dependencies at cz.adamh.ut
ils:native-utils:jar:1.0-SNAPSHOT: Failed to read artifact descriptor for cz.adamh.utils:native-utils:jar:1.0-SNAPSHOT: Could not transfer artifact cz.adamh.utils:native-utils:po
m:1.0-SNAPSHOT from/to 128 (https://mvn.128.no/maven2): Access denied to: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/native-utils-1.0-SNAPSHOT.pom , Reaso
nPhrase:Forbidden. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Please let me know if full errors from -X
are needed. Thank you!
Edit:
I also tried using java 1.8_121 later:
mvn -version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jre1.8.0_121
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-71-generic", arch: "amd64", family: "unix"
However, it's getting the same errors:
mvn package [14/1905]
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building SparkBWA 0.2
[INFO] ------------------------------------------------------------------------
Downloading: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-metadata.xml from/to 128 (https://mvn.128.no/maven2): Access denied to: https://mvn.128.no/m$
ven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-metadata.xml from https://mvn.128.no/maven2 was cached in the local repository, resolution will not $
e reattempted until the update interval of 128 has elapsed or updates are forced. Original error: Could not transfer metadata cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-meta$
ata.xml from/to 128 (https://mvn.128.no/maven2): Access denied to: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/native-utils-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.048 s
[INFO] Finished at: 2017-11-27T19:06:40+00:00
[INFO] Final Memory: 26M/1562M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SparkBWA: Could not resolve dependencies for project com.github.sparkbwa:SparkBWA:jar:0.2: Failed to collect dependencies at cz.adamh.ut
ils:native-utils:jar:1.0-SNAPSHOT: Failed to read artifact descriptor for cz.adamh.utils:native-utils:jar:1.0-SNAPSHOT: Could not transfer artifact cz.adamh.utils:native-utils:po
m:1.0-SNAPSHOT from/to 128 (https://mvn.128.no/maven2): Access denied to: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/native-utils-1.0-SNAPSHOT.pom , Reaso
nPhrase:Forbidden. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Edit2:
My working environment requires proxies. I think it's related. I will try if it works after whitelist https://mvn.128.no/maven2
Edit3:
Yeah, it's because of the proxy. Problem solved. Thank you.
from sparkbwa.
Related Issues (20)
- mvn package compilation failing with certificate error HOT 3
- Unable to build with Maven HOT 2
- Index file cannot be located HOT 1
- Error when using Azure blob storage paths for FASTQ files and SAM output file HOT 1
- SparkBWA generates empty sam files HOT 8
- BUILD FAILURE: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec HOT 2
- Wouldn't it be good to add a feature in your program to execute the BWA program directly? HOT 3
- Single-end reads crash HOT 4
- ERROR: java.lang.ClassNotFoundException: com.github.sparkbwa.FASTQRecordGrouper HOT 10
- Problem when using spark-bwa (not linked to the reducer) ends up with bad header HOT 1
- Output is empty .sam file!! HOT 1
- If you run it with Spark-submit, will not the BwaJni class and native BWA run?
- Missing an output location for shuffle 0 HOT 1
- jni_md.h file is not found HOT 4
- Can't run SparkBWA on Amazon EMR Yarn cluster HOT 1
- --master local[n] results in an error HOT 1
- Error while running master as local
- Spark job fails saying methods cannot be called on a stopped SparkContext
- [Question - RDD creation step , BWA-MEM step] WIth alignment input size 280GB
- mvn.128.no/maven2 unreachable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparkbwa.