After blowing 5 hours on trying to release today, I've finally found that:

1) The RAT plugin is _terrible_ about indicating why something failed.
2) Our build passed on mvn apache-rat:rat but _not_ on apache-rat:check

I couldn't figure out for the life of me why things all built
beautifully, apache-rat:rat worked, but the build continually failed
during release only, especially after we put apache-rat:rat in our
release <preparationGoals/> section.  The build output, even when
using the -X (debug) and -e options didn't say _anything_ as to why
the build failed.

On a gut feeling, I decided to try apache-rat:check instead of
apache-rat:rat, and that finally found the culprit: the
DomainPermissionTest.java class did not have an ASL header.

As a security measure to prevent this again, I'm going to change
preparation goals and our CI server config to use apache-rat:check
instead so we can catch this in the future.

Just a friendly reminder: please configure your IDE to use a copyright
plugin to update file headers when working within Apache projects :)

Ok, now that I know what's going on, I should be able to start a vote
fairly soon.  Yay! :)

Cheers,

--
Les Hazlewood | @lhazlewood
CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282
Stormpath wins GigaOM Structure Launchpad Award! http://bit.ly/MvZkMk

Reply via email to