https://github.com/avdv/coursier-issue308
https://github.com/avdv/coursier-issue308
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/avdv/coursier-issue308
- Owner: avdv
- Created: 2016-11-17T15:25:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-01T07:18:30.000Z (about 9 years ago)
- Last Synced: 2025-01-24T16:34:58.537Z (over 1 year ago)
- Language: Scala
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
1. publish projectA locally
```
cd projectA
sbt publishLocal
```
2. test artefact is not in the test config classpath
```
cd projectB
sbt 'show test:dependencyClasspath' :(
...
[info] Fetched artifacts of projectb
[info] * Attributed(/home/claudio/sandbox/sample308/projectB/target/scala-2.10/classes)
[info] * Attributed(/home/claudio/.sbt/boot/scala-2.10.6/lib/scala-library.jar)
[info] * Attributed(/home/claudio/.ivy2/local/example/a_2.10/1.0/jars/a_2.10.jar)
^^^^^^^^^^
```
3. disable coursier-sbt in projectB
4. Re-try step 3
```
cd projectB
sbt 'show test:dependencyClasspath'
...
[info] * Attributed(/home/claudio/sandbox/sample308/projectB/target/scala-2.10/classes)
[info] * Attributed(/home/claudio/.sbt/boot/scala-2.10.6/lib/scala-library.jar)
[info] * Attributed(/home/claudio/.ivy2/local/example/a_2.10/1.0/jars/a_2.10.jar)
[info] * Attributed(/home/claudio/.ivy2/local/example/a_2.10/1.0/jars/a_2.10-tests.jar)
^^^^^^^^^^^^^^^^
```