I'm running into some trickiness finishing this work.
Several tests have some test dependencies. I've been adding these to my -libjars list, but some of these tests have a lot of transitive dependencies (I'm looking at you, Kerberos).
So, the suggested way of fixing this would be to move the test/src/test/java code into it's own project, and move the classes from test/src/test/java to project/src/main/java.
The fact that these two jars share the org.apache.accumulo.test namespace has already been an issue, so I had to stop Sealing the test-jar.
So, I would like to move these tests to a new project (it-test? test-it? cluster-test?), and maybe shade in the dependencies so invoking the map-reduce job is simpler. I've never used shading before, so I'm not sure if this would be prohibitive. Of course, the test jar would not be in the accumulo-bin.tar.gz file unless we use a specific profile.
Alternatively, there might be some way to use maven to discover the recursive test dependencies and pull them down at runtime.