Continuous Integration - Maven
Properties for Maven You can reference a property value in pom.xml using ${propertyName} notation. The value can either be passed in command line as "mvn clean install -DpropertyName=value or can be defined inside pom.xml inside <properties><propertyName>value</propertyName></properties> node. If you are using Jenkins for CI, then you can also define properties either via Global Properties -> Environment Variables or by specifying settings.xml under "Maven Configuration". These configurations are available under "Manage Jenkins" menu option. How to reference dependencies from Parent project The dependencies in parent project don't automatically get included in child project. You need to at least include <groupId> and <artifactId> in the child project's pom file <dependency> element. settings.xml The <localRepository> value in settings.xml is very ...