Maven quick tip: adding a local dependency

Well after almost 6 months of silence, here’s a maven quick tipif you need to add a dependency on a library without adding ityour local maven repository.Define the dependency scope as system and the path to your library:


Then, either declare the weblogic.home property in your pom :


or add it to your settings.xml file by adding it to a default profile:


I am not yet fully committed to maven but it really shines for kickstartingJ2EE projects with artifacts and easily downloadable dependencies libraries.