Indeed, it is broken in a non-cached maven build. I get even weirder
error messages but I have no idea where they are coming from, given that
all required dependencies are provided by the IDE itself.
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve
project dependencies: Missing:
[ERROR] ----------
[ERROR] 1) org.scala-ide:org.scala-ide.sbt.full.library:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library -Dversion=4.1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy
the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library -Dversion=4.1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
[ERROR] 2) org.scala-ide:org.scala-ide.sbt.full.library:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] 2)
org.scala-ide:org.scala-ide.sbt.full.library.source:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy
the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
[ERROR] 2)
org.scala-ide:org.scala-ide.sbt.full.library.source:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] 3)
org.scala-ide:org.scala-ide.sbt.compiler.interface:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy
the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
[ERROR] 2)
org.scala-ide:org.scala-ide.sbt.compiler.interface:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] 4)
org.scala-ide:org.scala-ide.sbt.compiler.interface.source:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy
the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
[ERROR] 2)
org.scala-ide:org.scala-ide.sbt.compiler.interface.source:jar:4.1.0-SNAPSHOT
[ERROR]
[ERROR] ----------
[ERROR] 4 required artifacts are missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] sonatype.release
(
https://oss.sonatype.org/content/repositories/releases/, releases=true,
snapshots=false),
[ERROR] sonatype.snapshot
(
https://oss.sonatype.org/content/repositories/snapshots, releases=true,
snapshots=true),
[ERROR] central (
https://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: Could not resolve project dependencies
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:166)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: Could not resolve project
dependencies
at
org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:268)
at
org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:197)
at
org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:99)
at
org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:310)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
... 11 more
Caused by:
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
----------
1) org.scala-ide:org.scala-ide.sbt.full.library:jar:4.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library -Dversion=4.1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library -Dversion=4.1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
2) org.scala-ide:org.scala-ide.sbt.full.library:jar:4.1.0-SNAPSHOT
2) org.scala-ide:org.scala-ide.sbt.full.library.source:jar:4.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.full.library.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
2)
org.scala-ide:org.scala-ide.sbt.full.library.source:jar:4.1.0-SNAPSHOT
3) org.scala-ide:org.scala-ide.sbt.compiler.interface:jar:4.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
2)
org.scala-ide:org.scala-ide.sbt.compiler.interface:jar:4.1.0-SNAPSHOT
4)
org.scala-ide:org.scala-ide.sbt.compiler.interface.source:jar:4.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.scala-ide
-DartifactId=org.scala-ide.sbt.compiler.interface.source
-Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
2)
org.scala-ide:org.scala-ide.sbt.compiler.interface.source:jar:4.1.0-SNAPSHOT
----------
4 required artifacts are missing.
for artifact:
org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT
from the specified remote repositories:
sonatype.release
(
https://oss.sonatype.org/content/repositories/releases/, releases=true,
snapshots=false),
sonatype.snapshot
(
https://oss.sonatype.org/content/repositories/snapshots, releases=true,
snapshots=true),
central (
https://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
at
org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71)
at
org.apache.maven.DefaultProjectDependenciesResolver.resolveImpl(DefaultProjectDependenciesResolver.java:163)
at
org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:76)
at
org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:60)
at
org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:255)
... 16 more
[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/InternalErrorException