[undertow-dev] Compile error on clean checkout
Stuart Douglas
sdouglas at redhat.com
Wed May 13 02:19:18 EDT 2015
Where you building with -Dmaven.test.skip=true? The build will fail if
you attempt to skip tests the first time you use it using this command.
This is because the Servlet tests depend on the core tests, and if tests
are skipped the core test jar will not be built. This only affects the
first build for a given snapshot version, after this there will be a
tests jar snapshot in the local repository.
If you use -DskipTests instead you will not have this problem, as the
tests jar will still be built, even though the tests are not run.
Stuart
Greg Hellings wrote:
> On Mon, May 11, 2015 at 4:25 PM, Ken Wills<kwills at redhat.com> wrote:
>> Odd, that (1.2.x) builds for me too (mvn clean install -U). I think that artifact might
>> be built by the project itself. I'll take a quick look at what master builds.
>
> The -U switch apparently busted some cache entry that deleting
> ~/.m2/repository hadn't busted. Your command did get me through the
> build. Thanks!
>
> --Greg
>
>> Ken
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
More information about the undertow-dev
mailing list