Maven project.xml Example
Jump to navigation
Jump to search
An example of a Project.xml and Project.properties files for Maven 1.1-beta-2.
Project.xml
<?xml version="1.0" encoding="UTF-8"?> <project> <pomVersion>3</pomVersion> <artifactId></artifactId> <name>Trap</name> <groupId>trap</groupId> <currentVersion>1.0</currentVersion> <inceptionYear>2006</inceptionYear> <logo></logo> <build> <sourceDirectory>c:\temp\TRaP\build_TRaP\src</sourceDirectory> <unitTestSourceDirectory>c:\temp\TRaP\build_TRaP\test</unitTestSourceDirectory> <unitTest> <includes> <include>**/*Test.java</include> </includes> </unitTest> </build> <dependencies> <dependency><groupId>was</groupId><jar>recjava.jar</jar></dependency> <dependency><groupId>was</groupId><jar>j2ee.jar</jar></dependency> <dependency><groupId>was</groupId><jar>eablib.jar</jar></dependency> <dependency><groupId>was</groupId><jar>ecutils.jar</jar></dependency> <dependency><groupId>was</groupId><jar>ejbcontainer.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ACI001_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ACI001_Implementation.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ACI001_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ACI001_Taglib.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ACI002_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ACI002_Implementation.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ACI002_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>AabContext-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>AabContext.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>AabUriResolver-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>AabUriResolver.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>AutoLogon.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI001_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI001_Implementation.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI001_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI002_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI002_EJBClient.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI002_Implementation.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI002_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI053_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI053_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI054_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>BSI054_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>CBus.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>CBusProxy.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>CBusProxy_ejb.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ConfigurationService-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ConfigurationService.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ContentService_Client-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ContentService_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ContentService_Interfaces-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ContentService_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>CookieService-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>CookieService.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>Environment.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>FileAndXSLServlet-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>FileAndXSLServlet.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>GenericComponents-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>GenericComponents.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>GenericWebComponents-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>GenericWebComponents.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>GracefulShutdownFilter-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>GracefulShutdownFilter.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>KeyToolsPro_All_1_2.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>Kopie van GenericComponents.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>Kopie van commons-logging.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>Kopie van log4j.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>LanguageFilter-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>LanguageFilter.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>Logging-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>Logging.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecCommons.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecExternalInterfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecExternalUserNodeComponent.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecInternalInterfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecInternalUserNodeComponent.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecInternalUserNodeComponentStub.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecInternalUserNodeComponentWSAD.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecLogging.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecSecurityAgentResultMapper.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MSecTagLib.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuService_Client-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuService_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuService_Implementation-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuService_Implementation.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuService_Interfaces-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuService_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuTag-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>MenuTag.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ResourceServiceClient-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ResourceService_Client-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ResourceService_Client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ResourceService_Interfaces-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ResourceService_Interfaces.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ResourceServlet-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ResourceServlet.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>TDFCwa.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>TDFramework.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>TrimFilter-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>TrimFilter.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>URLEncoderFilter-src.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>URLEncoderFilter.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>aab-ant-extends.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>aab-customdoclet.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>aab-xdoclet-extends.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ant-contrib.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>aspectjrt.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>baltimore_pki_plus_5.0.6.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>bbc_crypto.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>cactus.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>cd_broker.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>cd_core.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>cd_transport.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>classes12.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-beanutils.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-collections-2.0.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-collections.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-digester.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-fileupload.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-httpclient.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-lang.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-logging.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>commons-validator.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>db2jcc.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>db2jcc_license_cisuz.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>db2jcc_license_cu.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>dca_2_client.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>ezlicrun.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>httpunit.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>jakarta-oro.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>jstl.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>junit.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>log4j.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>maven-xdoclet-plugin-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>standard.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>struts-el.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>struts-legacy.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>struts.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xalan.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-apache-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-bea-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-borland-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-caucho-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-de-locale-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-ejb-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-exolab-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-fr_FR-locale-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-hibernate-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-hp-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-ibm-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-java-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-jboss-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-jdo-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-jmx-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-jsf-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-libelis-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-macromedia-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-mockobjects-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-mvcsoft-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-mx4j-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-objectweb-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-openejb-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-oracle-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-orion-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-portlet-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-pramati-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-pt_BR-locale-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-solarmetric-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-spring-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-sun-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-sybase-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-tjdo-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-web-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-webwork-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-wsee-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xdoclet-xdoclet-module-1.2.3.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xjavadoc-1.1.jar</jar></dependency> <dependency><groupId>trap</groupId><jar>xsdbeans.jar</jar></dependency> <!-- Dependencies for report-plugins --> <dependency> <groupId>lint4j</groupId> <artifactId>jutils-lint4j-plugin</artifactId> <version>1.2</version> <type>plugin</type> </dependency> <dependency> <groupId>maven-plugins</groupId> <artifactId>maven-cobertura-plugin</artifactId> <version>1.1.1</version> <type>plugin</type> </dependency> <dependency> <groupId>maven-plugins</groupId> <artifactId>maven-javancss-plugin</artifactId> <version>1.3</version> <type>plugin</type> </dependency> <dependency> <groupId>maven-plugins</groupId> <artifactId>maven-findbugs-plugin</artifactId> <version>0.9.2</version> <type>plugin</type> </dependency> </dependencies> <reports> <!-- Non-compiling reports --> <report>maven-pmd-plugin</report> <report>maven-jxr-plugin</report> <report>jutils-lint4j-plugin</report> <report>maven-checkstyle-plugin</report> <report>maven-javadoc-plugin</report> <report>maven-junit-report-plugin</report> <report>maven-javancss-plugin</report> <report>maven-cobertura-plugin</report> <!-- Compiling dependencies --> <report>maven-simian-plugin</report> <report>maven-jdepend-plugin</report> <report>maven-findbugs-plugin</report> </reports> </project>
Project.properties
# Checkstyle settings # maven.checkstyle.excludes=**/*generated*/** maven.checkstyle.properties=${basedir}/AAB_checks.xml # CPD/PMD settings # maven.pmd.cpd.enable=true maven.pmd.excludes=**/*generated*/** # SIMIAN settings # maven.simian.linecount=5 maven.simian.includetests=false maven.simian.excludes=**/*generated*/** # JUnit settings # maven.test.failure.ignore=true