Category Archive For "Maven"
The Complete Maven pom.xml Structure Documentation
Maven is a tool for building Java applications. It has a pom.xml file that contains all the build instructions as well as a list of project dependencies. The pom.xml file has a bewildering amount of configurable options. The complete Maven pom.xml structure documentation (project descriptor file) is here on the Maven web site. This page …
How to find project dependencies in a Maven project
It’s very useful to be able to see what is included in your class path especially when you’re trying to track down a troublesome dependency. Recently I had an issue with a JDOM dependency; however I had not defined a JDOM dependency in my pom.xml file and I couldn’t quite figure out why this dependency …
Want to use Spring 3.0 milestone release from Maven?
I wanted to add the Spring 3.0 M4 milestone early access release to a Maven project to test out some of the new features. However SpringĀ milestone releases are not readily available in the standard public Maven repositories, so what do you do? For the full explanation check out the link to “Spring/Maven Repositories” link …
Maven, Log4j and javax.jms
Log4j version 1.2.15 added features which has new dependencies on sun and javax packages. When you try to build your project using Maven and log4j 1.2.15 you will see this: [INFO] Unable to find resource ‘com.sun.jmx:jmxri:jar:1.2.1’ in repository central (http://repo1.maven.org/maven2) [INFO] Unable to find resource ‘com.sun.jdmk:jmxtools:jar:1.2.1’ in repository central (http://repo1.maven.org/maven2) [INFO] Unable to find resource …
Recent Comments