Commit 1d66533
committed
Exclude scala-xml from transitive dependencies of partest.
As discovered here:
#6 (comment)
we would have two different versions of scala-xml on test classpath:
1. scala-xml classes compiled from source (we are in scala-xml
project)
2. scala-xml transitive dependencies of partest
Duplicated classpath entries are always dangerous. I implemented a
set of exclude rules that get rid of transitive dependencies of
scala-xml. This fixes the problem of JUnit using wrong version of
scala-xml for testing (now there's only one choice).
Also, this allowed me to to enable conflictWarning again. They are
very useful to warn us against dangerous situations that almost always
result in broken classpath (as we just learned).1 parent dd1e0e4 commit 1d66533
1 file changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
94 | 116 | | |
95 | 117 | | |
96 | 118 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 119 | | |
102 | 120 | | |
103 | 121 | | |
| |||
0 commit comments