Maven2 is driving me crazy during the experimentation / quick and dirty mock-up phase of development.
I have a pom.xml file that defines the dependenc
pom.xml
For throw away code only
set scope == system and just make up a groupId, artifactId, and version
org.swinglabs swingx 0.9.2 system ${project.basedir}/lib/swingx-0.9.3.jar
Note: system dependencies are not copied into resulted jar/war (see How to include system dependencies in war built using maven)