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

Key: JRUBY-901
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nick Sieger
Reporter: ant elder
Votes: 0
Watchers: 1
Operations

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

Published JRuby pom.xml has a <dependency> on requireTest snapshot

Created: 29/Apr/07 09:02 AM   Updated: 06/May/07 09:49 PM
Component/s: Java Integration
Affects Version/s: JRuby 0.9.9
Fix Version/s: JRuby 1.0.0RC1

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide
The pom.xml published in the Maven repositories for JRuby includes a system scoped snapshot dependency for a 'requireTest' artifact. This breaks projects that try to use the JRuby pom.xml with things like the Maven assembly plugin, see the Maven error below.

See the pom.xml files published in the maven repo:
http://repo1.maven.org/maven2/org/jruby/jruby/0.9.9/jruby-0.9.9.pom
http://repo1.maven.org/maven2/org/jruby/jruby-complete/0.9.9/jruby-complete-0.9.9.pom

The Maven failure you get is:

Project ID: org.jruby:jruby-complete
POM Location: Artifact [org.jruby:jruby-complete:jar:0.9.9:compile]
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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Nick Sieger - 04/May/07 11:14 AM
A 1.0RC1 snapshot has been deployed to http://snapshots.repository.codehaus.org/

Can you try adding the codehaus snapshots repository to your POM or settings, and try this version?

<repositories>
  <repository>
    <id>codehaus-snapshot-repository</id>
    <url>http://snapshots.repository.codehaus.org/</url>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
    <releases>
    </releases>
  </repository>
</repositories>

ant elder - 04/May/07 12:08 PM
Yes much better, works fine for me now thanks.

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