Annoying password resets in Archiva

Our dev shop at work had very little in the way of Continuous Integration (CI) infrastructure.  I’ve been praising the benefits of the CI gospel since I arrived here, but paradigm shifts are never easy.

Since my development is isolated from The Corp’s standard procedures, I began using as much CI best practices as possible.  I wanted to start with something that would be simple for other, non-CI developers to adopt, so I started with jar file management.  After reviewing a few options, it seemed like Archiva would fit the trick.

After a few weeks of using this on my own, it did not take long for other developers to see the benefit of using Archiva, and I was more than willing to give them access and help.  I had my own user, and I gave them a username/password combo that they shared amongst all of their developers.

Every so often these usernames’ passwords would expire, and it was a very annoying process to reset them.  After much time googling the issue, I was able to find the documentation that would prevent me from having to reset the passwords on a regular basis:

Just add the following entries to your <ARCHIVA_HOME>/apps/archiva/WEB-INF/classes/org/apache/maven/archiva/security.properties

security.policy.password.expiration.days=999999
security.policy.password.expiration.enabled=false
security.policy.allowed.login.attempt=300
security.policy.password.previous.count=1
security.policy.password.rule.reuse.enabled=false

Hopefully this will help to remove me as the bottle neck for any Archiva related issues.

Kayak & Camping trip down the Brazos

2014-05-05_kayak_setupIt has been about 5 years since I last slept in a tent, and before that it was probably when I was 10 years old.  All of my outdoor activities as of late have included a camper.  So when my bro-in-law (BB) invited me to go camp with him and some of his buddies, I was pumped, but his friends were not as excited.  The day before we were to leave, it was down to just BB and me.

I have done a great deal of kayak fishing over the last 5 years, and know what is needed and not needed for a day in the yak fishing.  Since I have no camping & kayaking experience, and neither did BB, we both compensated by bringing anything and everything that would fit in our kayaks.  When we started to put everything in the kayaks before entering the water, floating safety became a serious concern.

We put in at the Whitney dam, and the original plan was to paddle all the way to Gholson, but late afternoon it occurred to us that this was a horrible idea.  We had a late start to the day, and did a lot more fishing than paddling the first half of the day.  Even when we realized we needed to pick up the pace, we still did not make it nearly as far as needed.

We made it past the primary day-trip exit point, and were headed for a predetermined campsite until acknowledging this locale was already preoccupied by other campers.  The next known campsites were a few miles down the river, and due to sunlight, we elected to paddle back up stream and find a spot.  We were lucky and after a few turns we found a lot that was being cleared for a new home that already had a hole dug for a fire and a handy folding-chair.

2014-05-05_campsite_setup

After a chilly night of sleep, we awoke, fished, and made it back to the first exit-point without major issue.  Paddling upstream is not fun.  We had to get out and pull our yaks twice, and were very lucky a stiff wind was at our backs.

Much like the first sprint in an agile project, we treated this as a learning trip.  We way over prepared in most areas, and the only places we really under-prepared was in river knowledge and fishing tackle.

Things I should not have taken for just me:

  • flask – on a more relaxing trip, not trying to paddle 20 miles, possibly
  • 2 propane stoves – I had a tiny one as a backup, but the backup stove is a match and wood
  • 4 pairs of shoes – this was not intentional, and the last time I went kayaking on the Brazos it was very early Spring and still quite cold, so it made sense to bring extra shoes.  The high recently was 90+ degrees; 2 pairs would have been fine
  • gourmet dinner plans – I brought full 1 gallon bags of frozen: pulled pork, brown rice, and  veggies.  This was wayyyyy too much food for a 2 person trip
  • Drinks – I brought 8 bottles of water, and that turned out to be fairly accurate.  However, in addition, I also brought 8 small bottles of Gatorade.  That is way too much, especially when Gatorade is pretty gross when hot
  • Snacks – there are so many opportunities (and desires) to eat a snack when fishing/paddling all day.  2 bags of sunflower seeds, 8 pack of combo peanut butter or cheese crackers, and 5 sticks of beef jerky.  I should have done some math on this beforehand (e.g. use how often I snack at work as a baseline, instead of just guessing)
  • 3 fishing poles – I usually take 3 poles on simple day-trips, but on a camping trip there is just not room for a third pole

2014-05-05_fishThings that I am very glad I brought:

  • My fishing bandana by Hoo-rag – this significantly reduced my need for sunscreen on my face, neck, and ears.  It is also very thin, preventing my head/neck from overheating
  • fleece balaclava  – the morning was pretty cold and windy, especially in the shade, and this provided great comfort
  • head lamp – everything is easier in the dark when your light is on your head and you have two hands free to do things
  • fire starting kit – we keep all of our dryer lent and lots of old toilet paper rolls
  • extra blanket – I knew my sleeping bag was probably not truly rated for 40 degrees even though it said so, and I was glad to have a blanket and a fleece pullover near me at night
  • tarp – it was nice to have a clean place at the campsite to organize things
  • water proof bags – I only had 2, but they were very easy to use and store
  • compression bag – I had a change of clothes and my pillow easily stored and compressed in the one bag I brought
  • lotion – not very manly, but your handles get incredibly dry on the water, and digging in dirt (sunscreen can also be used)

Things I want for my next trip:

  • good sleeping bag – due to space restrictions on the kayak, I had to buy a little sleeping bag (the one I had took up way too much volume).  The Wal-Mart one I bought was rated at 40 degrees, but it was freezing at 50 degrees
  • paddling gloves – got a couple of blisters on my hands from paddling so much, these would be a “nice-to-have”, and not necessary, but handy
  • good hatchet – I brought a hatchet I have had for years, but it needs a new handle, so I should either get a new handle, or a one-piece version
  • mini shovel – before we realized someone had already dug a fire pit, I started using my hatchet to dig one up.  Would have been much easier with a simple shovel
  • campsite chair – if I reduce the quantity of items brought, a regular pop-out chair would be easy to put on/in the kayak
  • machete – we were lucky and found a good camping spot, but with a machete, we could have hacked our way to a decent spot if we had to

I’m very glad that I have this new memory with BB.  I hope that this is not the last kayak/camp trip I take this year.  The wife is unlikely to take an over-night trip like this (if there are more women, she might go she says), but at a minimum, she said she would definitely want to take a day-trip down the river, so hopefully that can be done before it gets too hot down here.