Announcement Announcement Module
Collapse
No announcement yet.
Using latest snapshot from Ivy Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using latest snapshot from Ivy

    Hi!

    I am trying to use the latest snapshot (nightly build) in order to test the airline sample with more than one schema. See http://opensource.atlassian.com/proj.../browse/SWS-44 but I have not been successful so far. :-(

    I have added changed the "rev" attribute in ivy.xml "1.0-m2-SNAPSHOT":

    Code:
    <dependency org="springframework" name="spring-oxm" rev="1.0-m2-SNAPSHOT" conf="global->default,jaxb1"/>
    <dependency org="springframework" name="spring-ws-core" rev="1.0-m2-SNAPSHOT" conf="global->default,saaj"/>
    <dependency org="springframework" name="spring-ws-security" rev="1.0-m2-SNAPSHOT" conf="global->default,xwss"/>
    I have also added a new resolver in common-build/ivyconf.xml:

    Code:
    <url name="spring-repo-nightly-snapshots" m2compatible="true">
      <ivy pattern="http://static.springframework.org/maven2-snapshots/[organisation]/[module]/ivy-[revision].xml" />
      <artifact pattern="http://static.springframework.org/maven2-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
    </url>
    But I cannot get it working. Ivy complains that it cannot find the JARs:


    Code:
            WARN:           spring-repo-nightly-snapshots: tried http://static.springframework.org/maven2-snapshots/org.springframework/spring-oxm/ivy-1.0-m2-SNAPSHOT.xml
            WARN:           spring-repo-nightly-snapshots: tried artifact [ org.springframework | spring-oxm | 1.0-m2-SNAPSHOT ]/spring-oxm.jar[jar]:
            WARN:                   http://static.springframework.org/maven2-snapshots/org.springframework/spring-oxm/1.0-m2-SNAPSHOT/spring-oxm-1.0-m2-SNAPSHOT.jar
            WARN:   module not found: [ springframework | spring-ws-core | 1.0-m2-SNAPSHOT ]
    This is actually because such URLs do not exist. The layout of the repository is actually:

    Code:
    http://static.springframework.org/maven2-snapshots/org/springframework/ws/
    ------------------------------------------------------------------------^--------------------^^
    Am I doing this completely wrong? What is the best/fastest way to try the nightly snapshots?

    I have also noticed that the latest snapshot contains two more JARs: java-xml and oxm-tiger. Will they be resolved "automagically" by Ivy or should I also put them in the ivy.xml file?

    Thanks a lot four your time!

    /rafa
    Last edited by rafacm; Aug 29th, 2006, 10:57 AM.
Working...
X