09 September 2008

Nexus Not Finding Artifacts After Adding a Repository?



In my last post about Nexus, I provided some steps to get started quickly using Nexus. After adding some additional repositories, I found that Nexus doesn't always immediately handle the indexes as it should causing some builds to not be able to locate certain artifacts, so I took the following measures to rectify the situation.

After adding some repositories, sometimes I had to clear the cache for the public groups and reindex them using the following steps:


  1. Under the Views section, click on Browse Repositories

  2. Right-click on the Public Repositories group and select Clear Cache

  3. Right-click on the Public Repositories group and select Reindex

  4. Right-click on the Public Snapshot Repositories group and select Clear Cache

  5. Right-click on the Public Snapshot Repositories group and select Reindex



After following the steps above, Nexus happily reindexed the repositories I added and artifacts were located successfully.

At one point, I also had to manually publish the indexes for the public groups using the following steps:


  1. Under the Administration section, click Scheduled Tasks

  2. Click the Add button

  3. Give the task a name

  4. Task Type is Publish Indexes

  5. Repository/Group is Public Repositories (Group)

  6. Recurrance is Once



Upon doing this manual step, Nexus again started humming along.

Badger Badger Badger



Every once in a great while my youngest daughter requests that we watch 'the badger snake cartoon on your computer'. I haven't gotten this request in a quite a long time but this morning was one of those times. Although I'm sure most folks have seen it, I just had to blog about it.

I remember playing this in the Netscape browser from the command line on someone's Linux machine as a prank at a past company. I seem to recall an option to the command that tells the UI not to come up, so the song would drive them nuts and the only way to stop it is to find the process and kill it :-).

05 September 2008

Sprayed By a Skunk... Again!



In my family, we have two dogs. Each one is three years old, each one is a mutt that we got from a puppy rescue for my kids' birthdays, each one is about 100lbs, but one of them aims to please and is relatively smart while the other one is just a big, dumb teddy bear.

Over the last year, we moved house and discovered that there are many wild animals around the property. Luckily we have an invisible fence to keep the dogs from leaving the yard. Most of these animals have learned to simply stay away when the dogs are out, but the foxes like to taunt the dogs by staying just out of reach (hence the phrase, crazy like a fox). But one of the animals doesn't stay away, quite possibly due to arrogance - skunks.

So far, the two dogs have been sprayed by skunks together on two occasions. However, over the last month, the big, dumb teddy bear has been sprayed two more times on his own - what an idiot! I'm hoping that after being sprayed four times he'll learn. Fat chance I figure.

The first time it happened I googled all over looking for a remedy to clean the stink and found way too many answers and claims. So I contacted my friend Jeff who has had experience with this issue with his dogs. Jeff lives in the mountains and his dogs had been sprayed by skunks a few times, too, so I figured he had a solution that worked. Luckily he was able to recommend a recipe of baking soda, vinegar and Dawn dish washing liquid. I can tell you to this day it works like a charm - as long as you can stomach the stench for a bit while you're scrubbing!

A Decade of the Dude



For a movie that bombed at the box office, The Big Lebowski has done astoundingly well on DVD raking in $40 million as well as generating a cult following like no other from its generation. And with a 10th anniversary, limited-edition of the DVD due out this month, fans of the Dude proclaim, 'Far out, man.'

I can't believe that the Dude turns 10 this year because it sure doesn't seem to have been that long. A Decade of the Dude briefly recounts the Dude's escapades and the phenomenon that is the Dude in a manner that serves all the actors in the movie well. An interview with Bridges even caused the Dude's sweater to come out of hiding for a moment. For fans of the Dude, this article is well worth the 10 minute read.

I remember seeing The Big Lebowski in the theatre with my wife when it first came out and I thought it was hilarious; she thought it was goofy and kind shrugged it off. For my close friends and I, this movie unites us. We see it at the Boulder Theatre twice a year and anytime we talk with one another at least two or three quotes from Lebowski make it into the conversation.

The Dude represents everything that our uptight society needs today and it couldn't have been said better than Philip Seymour Hoffman, the brilliant actor who played Brandt, the wealthy Lebowski's obsequious personal assistant:


'The Dude abides, and I think that's something people really yearn for, to be able to live their life like that. You can see why young people would enjoy that.'


Ah, fuck it, Dude. Let's go bowlin.

27 August 2008

m2eclipse Loves Test Reports


Just a quick note about developing with m2eclipse and how much easier it makes tasks. When running tests in Eclipse, m2e now creates a link to the surefire report for quick access. See the image above for a screenshot. This is so much better than using cat or less from the command line because it just saves time (and I love the command line!). A single click v. typing many keys to view the report - rockin.

Thanks, Eugene ;-).

Live Coding Collaboration With Eclipse - Wow!



You've got to check out this video that demonstrates the a shared coding session using the Eclipse Communication Framework. This is amazing! They're editing the same class concurrently and changes are reflected in real time without saving!

I have often longed for the ability to collaborate with others beyond just commit/update via SVN with folks. In the past I've tried a multiplexing X server in Linux and SubEthaEdit for MacOS X, but neither is ideal. Given that so many people use Eclipse for writing code these days, this is exactly what we need. Now I just need to convince someone to install it and take it for a spin ;-).

26 August 2008

Do You Use Maven? If So, You Need Nexus



If you use Maven for your development or you manage a Maven repository inside your company then you need a Maven repository manager and Nexus is hands-down the best choice. Today Sonatype announced the release of Nexus 1.0, the easiest to use, enterprise-ready Maven repository manager.

Nexus serves as a proxy between your organization and public Maven repositories and as an easy-to-use deployment target for your own, possible commerical artifacts.

Nexus acts as a cache of artifacts between your organization and any public Maven repository. This means that artifacts and their dependencies only need to be downloaded once. I run Nexus locally on my laptop for this purpose and after the first download of artifacts, my builds sped up tremendously. I've done this since it was called Proximity because it works very well.

A shared, internal Maven repository inside of a company can be a very efficient way to share snapshots and releases of internal projects. Using Nexus dramatically simplifies this task and saves large amounts of time and effort.

Start Using Nexus in Minutes

If you want to speed up your Maven builds, follow these steps:


  1. Download Nexus

  2. Start up Nexus ($NEXUS_HOME/bin/nexus start)

  3. Drop this settings.xml in your ~/.m2/ directory

  4. Perform a Maven build



You might need to add more repositories to Nexus, but it's a cakewalk! Trust me, Nexus will simplify your use of Maven.