SANSA-Stack / SANSA-Template-Maven-Spark

Maven Template Project for SANSA using Spark
Apache License 2.0
5 stars 5 forks source link

Issue with build using maven #10

Closed mileswhen closed 3 years ago

mileswhen commented 3 years ago

Hi! This is probably a naive question, since I'm not familiar with scala. But I'm following the steps from the downloads and usage, and I keep getting this error when I $ mvn clean package:

[ERROR] Failed to execute goal on project SANSA-Template-Maven-Spark: Could not resolve dependencies for project net.sansa-stack:SANSA-Template-Maven-Spark:jar:0.7.2-SNAPSHOT: Failed to collect dependencies at net.sansa-stack:sansa-inference-spark_2.11:jar:0.7.2-SNAPSHOT -> net.sansa-stack:sansa-inference-common_2.11:jar:0.7.2-SNAPSHOT -> org.gephi:gephi-toolkit:jar:0.9.2 -> org.netbeans.modules:org-netbeans-modules-masterfs:jar:RELEASE82: Failed to read artifact descriptor for org.netbeans.modules:org-netbeans-modules-masterfs:jar:RELEASE82: Could not transfer artifact org.netbeans.modules:org-netbeans-modules-masterfs:pom:RELEASE82 from/to netbeans (http://bits.netbeans.org/nexus/content/groups/netbeans/): Not authorized , ReasonPhrase:Repository decommissioned. Please refer to https://netbeans.apache.org/about/oracle-transition.html for more information..

mileswhen commented 3 years ago

Feeling a little stupid, but in case any other JVM-inept people stumble into this issue as well I fixed it by inserting the following into the pom.xml:

<repository>
    <id>netbeans</id>
    <name>NetBeans</name>
    <url>http://netbeans.apidesign.org/maven2/</url>
</repository>