mvn dependency:go-offline does not work in camel-scala
------------------------------------------------------
Key: CAMEL-799
URL: https://issues.apache.org/activemq/browse/CAMEL-799
Project: Apache Camel
Issue Type: Bug
Components: camel-scala
Affects Versions: 1.4.0
Reporter: Jonathan Anstey
Priority: Minor
Fix For: 1.5.0
Attachments: fixDependencyGoOffline.patch, fixDependencyGoOffline.patch
When I run 'mvn dependency:go-offline' I get the following error in camel-scala:
{code}
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.scala-tools
ArtifactId: maven-scala-plugin
Version: RELEASE
Reason: Unable to determine the release version
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.scala-tools
-DartifactId=maven-scala-plugin
-Dversion=RELEASE -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.scala-tools
-DartifactId=maven-scala-plugin
-Dversion=RELEASE -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
org.scala-tools:maven-scala-plugin:maven-plugin:RELEASE
{code}
Adding an explicit version for the scala plugin fixes this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.