Sunday, February 19, 2012

Maven http plugin error on Windows

I did a quick search for this problem when I first had it and couldn't find anything about it, so here's a solution.

Building a new project with Maven 3.0.3 on Windows, if you get an error like the following:
[ERROR] No plugin found for prefix 'http' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories ...
...first confirm that you're using the default Windows shell. Using an atypical shell caused the above problem for me, likely due to different handling of environment variables. You don't have to change your shell: just launch the default shell with "cmd.exe" and run the command from within there.

Tuesday, February 07, 2012

Incompetence?

Since you seldom meet members of "the bad crowd" -- just people who claim to have fallen in with it or been led by it; and since you seldom meet bad drivers -- just people who claim to have been victimized by them; it shouldn't come as any surprise that I meet a vast majority of people who know many others who are incompetent than I do people who are actually incompetent.