reactive-streams/reactive-streams — pull request #151 by ktoso (2014-11-24 15:13:52+00:00)
Title: publish in a style that is consumable by SBT

This change makes the locally published ivy-style repo consumable from sbt, which requires the "nested style" ivy repo layout.

Previously published artifacts would be like:

```
build/repo/org.reactivestreams/reactive-streams-tck
build/repo/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso
build/repo/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/ivy-1.0.0.M1-ktoso.xml
build/repo/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/ivy-1.0.0.M1-ktoso.xml.sha1
build/repo/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/reactive-streams-tck-1.0.0.M1-ktoso.jar
build/repo/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/reactive-streams-tck-1.0.0.M1-ktoso.jar.sha1
```

Whereas the layout we want is like this:

```
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/ivys << nested style
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/ivys/ivy.xml
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/ivys/ivy.xml.sha1
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/jar << nested style
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/jar/reactive-streams-tck.jar
./Users/ktoso/.ivy2/local/org.reactivestreams/reactive-streams-tck/1.0.0.M1-ktoso/jar/reactive-streams-tck.jar.sha1
```

Also, the target directory was changed from `./build/repo` (this was in the docs, so I assume it's just a copy-paste – not that anyone depends on this), to `~/.ivy2/local` which is used by ivy/sbt for locally deploying and resolving artifacts.

PS: I'm not sure if anyone else from @reactive-streams/contributors cares about local ivy publishing?