Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.3
-
Fix Version/s: JRuby 1.6.6, JRuby 1.7.0.pre1
-
Component/s: Miscellaneous
-
Labels:
-
Environment:HideLinux Fedora 15.
[philippe@victor jruby-1.6.3]$ mvn --version
/usr/lib/jvm/java-openjdk
Apache Maven 2.2.1 (rNON-CANONICAL_2011-06-28_14-50_mockbuild; 2011-06-28 16:50:25+0200)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux" version: "2.6.38.8-35.fc15.i686" arch: "i386" Family: "unix"
ShowLinux Fedora 15. [ philippe@victor jruby-1.6.3]$ mvn --version /usr/lib/jvm/java-openjdk Apache Maven 2.2.1 (rNON-CANONICAL_2011-06-28_14-50_mockbuild; 2011-06-28 16:50:25+0200) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux" version: "2.6.38.8-35.fc15.i686" arch: "i386" Family: "unix"
-
Number of attachments :
Description
$ cd jruby-1.6.3/
$ mvn clean install
ends up with:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) jline:jline:jar:1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=jline -DartifactId=jline -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=jline -DartifactId=jline -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.jruby:jruby:jar:1.6.3
2) jline:jline:jar:1.0
----------
1 required artifact is missing.
for artifact:
org.jruby:jruby:jar:1.6.3
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
__jpp_pom_repo__ (file:///usr/share/maven-poms),
__jpp_repo2__ (file:///usr/share/maven/repository),
__jpp_repo__ (file:///usr/share/maven2/repository)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 30 seconds
[INFO] Finished at: Sat Jul 30 15:08:51 CEST 2011
[INFO] Final Memory: 21M/107M
[INFO] ------------------------------------------------------------------------
Its broken on master too.
There appears to be something wrong with jline's deployment.
As a temporary workaround, you can clone jline (https://github.com/jline/jline), run 'mvn install' in the jline dir, and then try and rebuild jruby.