Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Add profile for skipping test compilation/resolution #713
Would it be feasible to support a Maven profile that removes or omits test dependencies? I want to be able to build/install ADAM without resolving/building/installing the tests (while developing/iterating).
I have a workflow where I am
I have patches to both ADAM and Spark that I need to use and this seems like the best way to do it.
I'm interested in maximally streamlining the process of building/installing ADAM when I make changes to ADAM, so that I can link against the newly-built version in other projects.
Right now, I run
While this skips running of tests, it still resolves, compiles, and installs the tests / test JARs. This makes my process take noticeably longer, and feels wasteful/wrong on principle.
Attempting to skip compiling (and installing) the tests:
results in errors like:
I was able to work-around this in Pageant:
I tried to do a similar thing in ADAM but dealing with the
Anyone have thoughts on how this could be done, and whether it should?
OK I figured out the issue:
If you change the
Maybe this is specific to my workflow, but what I'm trying to do seems pretty reasonable and I don't see any way to work around it; it seems like a weird bootstrapping problem: I can only
More about my use case:
The other workaround is just to keep
If you look in the Sonatype snapshots repository
you will see timestamped snapshot builds, e.g.
Another workaround is to tell Pageant to use offline mode