History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-904
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nick Sieger
Reporter: John Mettraux
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

pom for 'org.jruby:jruby:pom:0.9.9-SNAPSHOT:runtime' is invalid.

Created: 30/Apr/07 04:10 AM   Updated: 06/May/07 09:49 PM
Component/s: None
Affects Version/s: JRuby 0.9.9
Fix Version/s: JRuby 1.0.0RC1

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive maven2_jruby_try.zip (2 kb)
2. Zip Archive maven2_jruby_try_2.zip (4 kb)

Environment:
Maven version: 2.0.6,
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
Issue Links:
Related
 

Testcase included: yes


 Description  « Hide

Seems like the pom.xml attached to JRuby 0.9.9 on ibiblio.org (and JRuby 0.9.8) is invalid.

--8<--
[WARNING] POM for 'org.jruby:jruby:pom:0.9.9-SNAPSHOT:runtime' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
-->8--

--8<--
[INFO] Error building POM (may not be this project's POM).

Project ID: org.jruby:jruby
POM Location: Artifact [org.jruby:jruby:jar:0.9.9-SNAPSHOT:runtime]
Validation Messages:

[0] For dependency Dependency {groupId=requireTest, artifactId=requireTest, version=SNAPSHOT, type=jar}: system-scoped dependency must specify an absolute path systemPath.

Reason: Failed to validate POM
-->8--

Attached is a project skeleton.

run
mvn install

or
mvn assembly:assembly

to see the error messages.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
John Mettraux - 30/Apr/07 04:20 AM
I've re-read carefully JRUBY-901.

This JRUBY-904 seems just another symptom of 901.

The attachment may be useful though.

Sorry for the spam.

John


John Mettraux - 30/Apr/07 04:24 AM
The initial attachement was pointing to 0.9.9-SNAPSHOT.
This one points to 0.9.9.

John Mettraux - 30/Apr/07 06:31 AM
commenting out this block (line 17 of maven/jruby/pom.xml)

--8<--
<dependencies>
<dependency>
<groupId>requireTest</groupId>
<artifactId>requireTest</artifactId>
<version>SNAPSHOT</version>
<scope>system</scope>
<systemPath>${project.basedir}/../../test/requireTest.jar</systemPath>
</dependency>
</dependencies>
-->8---

works around the problem.

The systemPath should be absolute. I'm not a Maven2 connoisseur, can't tell how to fix that without commenting out the whole block.


Charles Oliver Nutter - 06/May/07 09:49 PM
Closing for 1.0RC1