
templates.j2ee.maven2.pom.xml.vsl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of andromda-andromdapp-project-j2ee-maven2
Show all versions of andromda-andromdapp-project-j2ee-maven2
AndroMDA powered J2EE Maven2 Application
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>$applicationPackage</groupId> <artifactId>$applicationId</artifactId> <packaging>pom</packaging> <version>$applicationVersion</version> <name>$applicationName</name> <description>The $applicationName Project.</description> ## Configuration values supplied by andromdapp configuration file, not command line #if ($stringUtils.isNotBlank($inceptionYear) && !$inceptionYear.equals('$inceptionYear')) <inceptionYear>$inceptionYear</inceptionYear> #else <inceptionYear></inceptionYear> #end #if ($stringUtils.isNotBlank($projectUrl) && !$projectUrl.equals('$projectUrl')) <url>$projectUrl</url> #else <url>http://www.andromda.org/</url> #end <issueManagement> #if ($stringUtils.isNotBlank($issueSystem) && !$issueSystem.equals('$issueSystem')) <system>$issueSystem</system> #else <system></system> #end #if ($stringUtils.isNotBlank($issueUrl) && !$issueUrl.equals('$issueUrl')) <url>$issueUrl</url> #else <url></url> #end </issueManagement> <scm> #if ($stringUtils.isNotBlank($scmConnection) && !$scmConnection.equals('$scmConnection')) <connection>$scmConnection</connection> <developerConnection>$scmConnection</developerConnection> <url>$scmConnection/</url> #else <connection></connection> <developerConnection></developerConnection> <url></url> #end </scm> <organization> #if ($stringUtils.isNotBlank($organizationName) && !$organizationName.equals('$organizationName')) <name>$organizationName</name> #else <name></name> #end #if ($stringUtils.isNotBlank($organizationUrl) && !$organizationUrl.equals('$organizationUrl')) <url>$organizationUrl</url> #else <url></url> #end </organization> <licenses> <license> #if ($stringUtils.isNotBlank($licenseName) && !$licenseName.equals('$licenseName')) <name>$licenseName</name> #else <name></name> #end #if ($stringUtils.isNotBlank($licenseUrl) && !$licenseUrl.equals('$licenseUrl')) <url>$licenseUrl</url> #else <url></url> #end <distribution></distribution> <comments></comments> </license> </licenses> <ciManagement> #if ($stringUtils.isNotBlank($ciSystem) && !$ciSystem.equals('$ciSystem')) <system>$ciSystem</system> #else <system></system> #end #if ($stringUtils.isNotBlank($ciUrl) && !$ciSystem.equals('$ciUrl')) <url>$ciUrl</url> #else <url></url> #end </ciManagement> <developers> <developer> <id></id> <name>$author</name> <email></email> <organization></organization> <roles> <role>Developer</role> </roles> <timezone></timezone> </developer> </developers> <dependencyManagement> <dependencies> #if (!$ejb && !$ejb3 && $spring) <dependency> <groupId>org.andromda</groupId> <artifactId>andromda-core</artifactId> <version>${andromda.version}</version> <scope>provided</scope> <exclusions> #if ($ear) <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> <exclusion> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </exclusion> #end <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.andromda.translationlibraries</groupId> <artifactId>andromda-ocl-translation-core</artifactId> <version>${andromda.version}</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.andromda.translationlibraries</groupId> <artifactId>andromda-ocl-validation-library</artifactId> <version>${andromda.version}</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> #if($groovy) <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all-minimal</artifactId> <version>1.5.8</version> </dependency> #end #end #if ($jsf) <dependency> <groupId>org.andromda.cartridges</groupId> <artifactId>andromda-jsf-cartridge</artifactId> <version>${andromda.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.andromda.cartridges</groupId> <artifactId>andromda-jsf-cartridge-components</artifactId> <version>${andromda.version}</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>org.andromda</groupId> <artifactId>andromda-core</artifactId> </exclusion> <exclusion> <groupId>org.andromda.metafacades</groupId> <artifactId>andromda-metafacades-uml</artifactId> </exclusion> <exclusion> <groupId>org.andromda.translationlibraries</groupId> <artifactId>andromda-ocl-validation-library</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-api</artifactId> <version>1.2.9</version> </dependency> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> <version>1.2.9</version> </dependency> <dependency> <groupId>org.apache.myfaces.tomahawk</groupId> <artifactId>tomahawk12</artifactId> <!--version>1.1.13</version--> <version>1.1.10</version> #if($ear) <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xmlParserAPIs</artifactId> </exclusion> </exclusions> #end </dependency> <!-- validation dependencies --> <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> <version>1.0.0.GA</version> </dependency> <dependency> <groupId>org.apache.myfaces.extensions.validator</groupId> <artifactId>myfaces-extval-core</artifactId> <version>1.2.4</version> </dependency> <dependency> <groupId>org.apache.myfaces.extensions.validator.validation-modules</groupId> <artifactId>myfaces-extval-property-validation</artifactId> <version>1.2.4</version> </dependency> <dependency> <groupId>org.apache.myfaces.extensions.validator.validation-modules</groupId> <artifactId>myfaces-extval-bean-validation</artifactId> <version>1.2.4</version> </dependency> <dependency> <groupId>org.apache.myfaces.extensions.validator.component-support-modules</groupId> <artifactId>myfaces-extval-generic-support</artifactId> <version>1.2.4</version> <exclusions> <exclusion> <groupId>cglib</groupId> <artifactId>cglib</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.myfaces.extensions.validator.component-support-modules</groupId> <artifactId>myfaces-extval-trinidad-support</artifactId> <version>1.2.4</version> </dependency> #if (!$spring && !$hibernate && !$ejb3) <dependency> <artifactId>hibernate-validator</artifactId> <groupId>org.hibernate</groupId> <version>4.3.0.Final</version> </dependency> #end <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.0</version> #if($ear && !$cxf) <scope>provided</scope> #end </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.0</version> #if($ear && !$cxf) <scope>provided</scope> #end </dependency> #if ($portlet) <dependency> <groupId>javax.portlet</groupId> <artifactId>portlet-api</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> #if ($ajaxLibrary.equals("icefaces")) <dependency> <groupId>org.icefaces</groupId> <artifactId>icefaces</artifactId> <version>1.8.0</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.icefaces</groupId> <artifactId>icefaces-comps</artifactId> <version>1.8.0</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.icefaces</groupId> <artifactId>icefaces-facelets</artifactId> <version>1.8.0</version> <scope>runtime</scope> </dependency> #end #else <dependency> <groupId>org.apache.myfaces.trinidad</groupId> <artifactId>trinidad-api</artifactId> <version>1.2.14</version> </dependency> <dependency> <groupId>org.apache.myfaces.trinidad</groupId> <artifactId>trinidad-impl</artifactId> <version>1.2.14</version> </dependency> <dependency> <groupId>com.sun.facelets</groupId> <artifactId>jsf-facelets</artifactId> <version>1.1.14</version> <scope>runtime</scope> </dependency> #end <dependency> <groupId>org.andromda</groupId> <artifactId>andromda-utils</artifactId> <version>${andromda.version}</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>org.andromda</groupId> <artifactId>andromda-core</artifactId> </exclusion> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> <exclusion> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> #end #if ($jbossSeam) <dependency> <groupId>org.andromda.cartridges</groupId> <artifactId>andromda-jsf-cartridge-components</artifactId> <version>${andromda.version}</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>myfaces</groupId> <artifactId>myfaces-impl</artifactId> </exclusion> <exclusion> <groupId>myfaces</groupId> <artifactId>myfaces-api</artifactId> </exclusion> <exclusion> <groupId>myfaces</groupId> <artifactId>tomahawk</artifactId> </exclusion> <exclusion> <groupId>javax.servlet</groupId> <artifactId>jsp-api</artifactId> </exclusion> </exclusions> </dependency> #end #if (!$transactionPersistenceType.equals("none")) <dependency> <groupId>org.andromda.translationlibraries</groupId> <artifactId>andromda-ocl-query-library</artifactId> <version>${andromda.version}</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> #end <!-- This dependency provides the ability to implement your business logic in an interpreted manner during development on your local machine --> <dependency> <groupId>org.andromda</groupId> <artifactId>andromda-script-wrappers</artifactId> <version>${andromda.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.8.3</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.6</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2.1</version> #if ($ear) <!-- JBoss contains a version which causes a classloader conflict unless not bundled --> <scope>provided</scope> #end </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> #if ($ear && !$cxf) <scope>provided</scope> #end </dependency> #if ($ejb3) <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>${hibernate.version}</version> </dependency> <dependency> <artifactId>hibernate-validator</artifactId> <groupId>org.hibernate</groupId> <version>4.3.0.Final</version> </dependency> <!-- JBoss Dependencies --> <dependency> <groupId>jboss</groupId> <artifactId>jboss-j2ee</artifactId> <version>4.2.2.GA</version> <scope>provided</scope> </dependency> <!--dependency> <groupId>jboss</groupId> <artifactId>jboss-ejb3-client</artifactId> <version>4.2.2.GA</version> <scope>provided</scope> </dependency--> <dependency> <groupId>jboss</groupId> <artifactId>jboss-ejb3x</artifactId> <version>4.2.2.GA</version> <scope>provided</scope> </dependency> <dependency> <groupId>jboss</groupId> <artifactId>jboss-serialization</artifactId> <version>4.2.2.GA</version> <scope>provided</scope> </dependency> <dependency> <groupId>jboss</groupId> <artifactId>jboss-remoting</artifactId> <version>4.2.2.GA</version> <scope>provided</scope> </dependency> <dependency> <groupId>jboss</groupId> <artifactId>jboss-aop-jdk50-client</artifactId> <version>4.2.2.GA</version> <scope>provided</scope> </dependency> <!--dependency> <groupId>org.jboss</groupId> <artifactId>jboss-aspect-jdk50-client</artifactId> <version>4.0.5-GA</version> <scope>provided</scope> </dependency--> <dependency> <groupId>jboss</groupId> <artifactId>jbossall-client</artifactId> <version>4.2.2.GA</version> <scope>runtime</scope> </dependency> <dependency> <groupId>jboss</groupId> <artifactId>jnp-client</artifactId> <version>4.2.2.GA</version> <scope>runtime</scope> </dependency> #if ($jsr181Webservice || $jaxws) <!-- Webservice JBossWS Dependencies --> <dependency> <groupId>org.jboss.ws</groupId> <artifactId>jbossws-framework</artifactId> <version>3.4.1.GA</version> <scope>provided</scope> </dependency> #end <!-- Embedded Microcontainer Dependencies --> <dependency> <groupId>org.jboss.microcontainer</groupId> <artifactId>hibernate-all</artifactId> <version>alpha_9</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.microcontainer</groupId> <artifactId>jboss-ejb3-all</artifactId> <version>alpha_9</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.microcontainer</groupId> <artifactId>thirdparty-all</artifactId> <version>alpha_9</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.microcontainer</groupId> <artifactId>jms-ra</artifactId> <version>alpha_9</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.microcontainer</groupId> <artifactId>jcainflow</artifactId> <version>alpha_9</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId> <version>2.6.0</version> <scope>provided</scope> </dependency> #if ($spring || $hibernate) <!-- Hibernate Dependencies --> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.16.1-GA</version> </dependency> #end #else <dependency> <groupId>jboss</groupId> <artifactId>jboss-j2ee</artifactId> <version>4.2.2.GA</version> #if ($ear) <scope>provided</scope> #end </dependency> #end #if (!$ejb && !$ejb3) #if ($spring || $hibernate) <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>${hibernate.version}</version> <exclusions> <exclusion> <groupId>javax.transaction</groupId> <artifactId>jta</artifactId> </exclusion> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> </exclusions> </dependency> <dependency> <artifactId>hibernate-validator</artifactId> <groupId>org.hibernate</groupId> <version>4.3.0.Final</version> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId> <version>2.6.0</version> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.16.1-GA</version> #if ($ear) <scope>test</scope> #end </dependency> #if (!$jsf) <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.0</version> #if($ear && !$cxf) <scope>provided</scope> #end </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.0</version> #if($ear && !$cxf) <scope>provided</scope> #end </dependency> #end #end #end #if ($spring) <dependency> <groupId>org.springframework</groupId> <artifactId>spring-asm</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>${spring.version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <version>${spring.version}</version> </dependency> #if ($embeddedJetty) <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> <!-- Uncomment out below if using spring test> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> </dependency --> #else <!-- Uncomment out below if using JDBC or aop or spring test> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> </dependency --> #end <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.2.2</version> <scope>runtime</scope> </dependency> #end #if ($workflow) <dependency> <groupId>org.jbpm</groupId> <artifactId>jbpm</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>org.jbpm</groupId> <artifactId>jbpm-identity</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.8.5.2</version> </dependency> #end #if ($web || $hibernate || $workflow) <dependency> <groupId>antlr</groupId> <artifactId>antlr</artifactId> <version>2.7.7</version> </dependency> #end #if ($web) <dependency> <groupId>commons-digester</groupId> <artifactId>commons-digester</artifactId> <version>2.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId> <version>2.1.7</version> <scope>runtime</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>oro</groupId> <artifactId>oro</artifactId> <version>2.0.8</version> <scope>runtime</scope> </dependency> #end #if ($struts) <dependency> <groupId>commons-validator</groupId> <artifactId>commons-validator</artifactId> <version>1.4.0</version> </dependency> <dependency> <groupId>struts</groupId> <artifactId>struts</artifactId> <version>1.2.9</version> <exclusions> <exclusion> <groupId>commons-chain</groupId> <artifactId>commons-chain</artifactId> </exclusion> <exclusion> <groupId>commons-digester</groupId> <artifactId>commons-digester</artifactId> </exclusion> <exclusion> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>struts-menu</groupId> <artifactId>struts-menu</artifactId> <version>2.3</version> </dependency> <dependency> <groupId>displaytag</groupId> <artifactId>displaytag</artifactId> <version>1.2</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>taglibs</groupId> <artifactId>standard</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> #end #if ($jsf) #if ($jbossSeam) <!-- MyFaces Dependencies --> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-api</artifactId> <version>1.1.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> <version>1.1.5</version> <scope>provided</scope> </dependency> #end #end #if ($axis) <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4.5</version> </dependency> #if ($axisVersion.equals("1")) <!-- Axis1 Dependencies --> <dependency> <groupId>axis</groupId> <artifactId>axis</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>axis</groupId> <artifactId>axis-jaxrpc</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>axis</groupId> <artifactId>axis-saaj</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>commons-discovery</groupId> <artifactId>commons-discovery</artifactId> <version>0.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>wsdl4j</groupId> <artifactId>wsdl4j</artifactId> <version>1.6.2</version> </dependency> #else <!-- Axis2 Dependencies --> <!-- TODO Update to 1.3 or later breaks webservice template code --> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>annogen</groupId> <artifactId>annogen</artifactId> <version>0.1.0</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-api</artifactId> <version>1.2.10</version> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-impl</artifactId> <version>1.2.10</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-dom</artifactId> <version>1.2.10</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>backport-util-concurrent</groupId> <artifactId>backport-util-concurrent</artifactId> <version>3.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>httpcomponents-httpcore</groupId> <artifactId>jakarta-httpcore</artifactId> <version>4.0-alpha4</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jms_1.1_spec</artifactId> <version>1.1.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.ws.commons.neethi</groupId> <artifactId>neethi</artifactId> <version>2.0.1</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>stax</groupId> <artifactId>stax-api</artifactId> <version>1.0.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.woden</groupId> <artifactId>woden-impl-om</artifactId> <version>1.0M9</version> <scope>runtime</scope> </dependency> <dependency> <groupId>wsdl4j</groupId> <artifactId>wsdl4j</artifactId> <version>1.6.2</version> </dependency> #end #elseif ($xfire) <dependency> <groupId>org.codehaus.xfire</groupId> <artifactId>xfire-all</artifactId> <version>1.2.5</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xmlParserAPIs</artifactId> </exclusion> </exclusions> </dependency> #elseif ($jaxws) <!-- Add Sun Jax-WS compile and runtime dependencies here --> <!--dependency> <groupId>org.codehaus.xfire</groupId> <artifactId>xfire-all</artifactId> <version>1.2.5</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xmlParserAPIs</artifactId> </exclusion> </exclusions> </dependency--> #end <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> #if (!$ejb) <scope>test</scope> #end </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> <!--scope>test</scope--> </dependency> #if (!$jsf && !$spring && !$hibernate) <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.0</version> #if($ear && !$cxf) <scope>provided</scope> #end </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.0</version> #if($ear && !$cxf) <scope>provided</scope> #end </dependency> #end #if ($cxf) <!-- Explicit Spring dependencies to avoid compile/run version mismatch, shown by: Error creating bean Caused by: java.lang.NoSuchFieldError: NULL --> #if (!$spring) <dependency> <groupId>org.springframework</groupId> <artifactId>spring-asm</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>${spring.version}</version> </dependency> #if (!$embeddedJetty) <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> #end <dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <version>${spring.version}</version> </dependency> #end <!-- Uncomment out four below if using JMS> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jms</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>5.4.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>commons-pool</groupId> <artifactId>commons-pool</artifactId> <version>1.5.5</version> <scope>runtime</scope> </dependency> <dependency> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> <version>1.0</version> </dependency --> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-bundle</artifactId> <version>${cxf.version}</version> <exclusions> <!-- Remove exclusion if using JMS --> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-jms</artifactId> </exclusion> <exclusion> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> </exclusion> <exclusion> <groupId>commons-pool</groupId> <artifactId>commons-pool</artifactId> </exclusion> <!-- Remove exclusion if using Apache Abdera for REST --> <exclusion> <groupId>org.apache.abdera</groupId> <artifactId>abdera-core</artifactId> </exclusion> <exclusion> <groupId>org.apache.abdera</groupId> <artifactId>abdera-i18n</artifactId> </exclusion> <exclusion> <groupId>org.apache.abdera</groupId> <artifactId>abdera-parser</artifactId> </exclusion> <exclusion> <groupId>org.apache.abdera</groupId> <artifactId>abdera-extensions-main</artifactId> </exclusion> <exclusion> <groupId>org.apache.abdera</groupId> <artifactId>abdera-extensions-json</artifactId> </exclusion> <!-- Remove exclusion if using REST --> <exclusion> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-api</artifactId> </exclusion> <exclusion> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-impl</artifactId> </exclusion> <exclusion> <groupId>jaxen</groupId> <artifactId>jaxen</artifactId> </exclusion> </exclusions> </dependency> <!-- CXF bundle dependencies needed for build that should not be bundled with artifact, especially for WebSphere--> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_3.0_spec</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity</artifactId> <version>1.6.4</version> <scope>provided</scope> </dependency> <!-- Should be either in the JDK6 runtime, or deployed on the AppServer already --> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-xjc</artifactId> <version>2.2.7-b41</version> <scope>provided</scope> </dependency> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.10.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> <version>2.0.2</version> <scope>provided</scope> </dependency> #end #if ($mysql) <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.20</version> #if (!$embeddedJetty) <scope>test</scope> #end </dependency> #elseif ($postgres) <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>9.1-901.jdbc4</version> #if (!$embeddedJetty) <scope>test</scope> #end </dependency> #elseif ($derby) <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.8.2.2</version> #if (!$embeddedJetty) <scope>test</scope> #end </dependency> #elseif ($hypersonic) <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>2.2.8</version> #if (!$embeddedJetty) <scope>test</scope> #end </dependency> #elseif ($h2) <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>1.3.168</version> #if (!$embeddedJetty) <scope>test</scope> #end </dependency> #else <!-- add the database jdbc dependency --> #end <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.7</version> <scope>test</scope> #if ($ejb3) <exclusions> <exclusion> <groupId>qdox</groupId> <artifactId>qdox</artifactId> </exclusion> <!--exclusion> <groupId>org.beanshell</groupId> <artifactId>bsh</artifactId> </exclusion--> </exclusions> #end </dependency> </dependencies> </dependencyManagement> <build> <defaultGoal>install</defaultGoal> <!-- To change from default src/main/java and src/test/java - doesn't work for Cobertura> <sourceDirectory>src</sourceDirectory> <testSourceDirectory>src-test</testSourceDirectory --> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.5</version> <configuration> <filesets> <fileset> <directory>${project.basedir}</directory> <includes> <include>*.log</include> <include>**/*.exc</include> <include>**/*.bak</include> </includes> <excludes> <!-- Allow mvn clean install > install.log --> <exclude>build.log</exclude> <exclude>install.log</exclude> </excludes> <followSymlinks>false</followSymlinks> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>add-target-src</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>target/src/main/java</source> </sources> </configuration> </execution> <execution> <id>add-target-test</id> <phase>generate-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>target/src/test/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.andromda.maven.plugins</groupId> <artifactId>andromda-maven-plugin</artifactId> <version>${andromda.version}</version> </plugin> <plugin> <groupId>org.andromda.maven.plugins</groupId> <artifactId>andromdapp-maven-plugin</artifactId> <version>${andromda.version}</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> <compilerArgument>-Xlint:cast,unchecked,fallthrough,finally,serial</compilerArgument> </configuration> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.3</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <useUniqueVersions>false</useUniqueVersions> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> <manifestEntries> <Implementation-Build>${maven.build.timestamp}</Implementation-Build> <url>${project.url}</url> </manifestEntries> </archive> <excludes> <exclude>**/*.ref</exclude> </excludes> </configuration> </plugin> #if($ear) <plugin> <artifactId>maven-ejb-plugin</artifactId> <version>2.3</version> </plugin> #end <!-- Comment to run Eclipse plugin for top level project only, as part of mda install. See mda/eclipse.bat --> <plugin> <artifactId>maven-eclipse-plugin</artifactId> <version>2.9</version> <inherited>true</inherited> <configuration> <wtpversion>1.5</wtpversion> <buildOutputDirectory>target/classes</buildOutputDirectory> </configuration> </plugin> <plugin> <!-- Automatically attach sources to build artifact as artifact-version-sources.jar and deploy to local repository. Causes generate-sources phase to execute twice if under plugins instead of pluginManagement - bug --> <artifactId>maven-source-plugin</artifactId> <version>2.2</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> #if ($embeddedJetty) <plugin> #else <!--plugin> #end <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>${jetty.version}</version> #if ($cxf) <configuration> <scanIntervalSeconds>10</scanIntervalSeconds> <webAppSourceDirectory>${project.basedir}/src/main/webapp</webAppSourceDirectory> <webAppConfig> <contextPath>/$applicationId</contextPath> </webAppConfig> <connectors> <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> <port>${service.port}</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> <stopKey>foo</stopKey> <stopPort>9999</stopPort> </configuration> <executions> <execution> <id>start-jetty</id> <phase>process-test-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> <daemon>true</daemon> </configuration> </execution> <execution> <id>stop-jetty</id> <phase>prepare-package</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> #end </plugin#if (!$embeddedJetty)--#end> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <contextFile>${project.basedir}/src/test/resources/context.xml</contextFile> <additionalConfigFilesDir>${project.basedir}/src/test/resources</additionalConfigFilesDir> </configuration> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.7</version> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.1</version> </plugin> <!-- Missing velocity dependency when run from command line insteadd of site --> <plugin> <artifactId>maven-jxr-plugin</artifactId> <version>2.3</version> <dependencies> <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity-tools</artifactId> <version>2.0-beta4</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.3.2</version> <configuration> <preparationGoals>verify</preparationGoals> <autoVersionSubmodules>true</autoVersionSubmodules> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.1.1</version> <executions> <execution> <id>enforce-versions</id> <goals> <goal>enforce</goal> </goals> <inherited>false</inherited> <configuration> <rules> <requireMavenVersion> <version>2.2.1</version> </requireMavenVersion> <requireJavaVersion> <message>You need at least Java ${java.version}!</message> <version>${java.version}</version> </requireJavaVersion> <requirePluginVersions> <message>Best Practice is to always define plugin versions!</message> <banSnapshots>false</banSnapshots> <phases>clean,deploy,site</phases> </requirePluginVersions> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> <modules> <!-- Save the values used to generate this project from andromdapp applicationType=$applicationType war=$war ear=$ear ejb3Persistence=$ejb3Persistence transactionPersistenceType=$transactionPersistenceType jsr181Webservice=$jsr181Webservice ejb=$ejb ejb3=$ejb3 hibernate=$hibernate spring=$spring web=$web webservice=$webservice struts=$struts jsf=$jsf cxf=$cxf rest=$rest jbossSeam=$jbossSeam soapStack=$soapStack embeddedJetty=$embeddedJetty --> <module>mda</module> <module>common</module> #if (!$transactionPersistenceType.equals("none") || $cxf) <module>core</module> #end #if ($struts || $jsf) <module>web</module> #end #if ($webservice && !$jsr181Webservice && ($ear || $cxf)) <module>webservice</module> #if ($cxf) <module>CXF</module> #end #end #if ($workflow) <module>workflow</module> #end #if ($ear) <module>app</module> #end </modules> <properties> <andromda.version>$andromdaVersion</andromda.version> <java.version>1.6</java.version> <downloadSources>true</downloadSources> <createChecksum>true</createChecksum> <uniqueVersion>false</uniqueVersion> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <stagingDirectory>${applicationParentDirectory.replace('\', '/')}/${applicationId}/target/site</stagingDirectory> #if ($hibernate || $spring || $ejb3) #if ($h2) <testdb.groupId>com.h2database</testdb.groupId> <testdb.artifactId>h2</testdb.artifactId> <testdb.version>1.3.168</testdb.version> #elseif ($hypersonic) <testdb.groupId>org.hsqldb</testdb.groupId> <testdb.artifactId>hsqldb</testdb.artifactId> <testdb.version>2.2.8</testdb.version> #elseif ($derby) <testdb.groupId>org.apache.derby</testdb.groupId> <testdb.artifactId>derby</testdb.artifactId> <testdb.version>10.8.2.2</testdb.version> #end #if ($testDatabase.equals("h2")||$testDatabase.equals("hypersonic")||$testDatabase.equals("derby")) <testdb.driver>$${jdbc.driver}</testdb.driver> <testdb.dialect>$${jdbc.dialect}</testdb.dialect> <testdb.url>$${jdbc.url}</testdb.url> <testdb.username>$${jdbc.username}</testdb.username> <testdb.password>$${jdbc.password}</testdb.password> #else ## Always use H2 for testdb because it can emulate most major DBMSs <testdb.groupId>com.h2database</testdb.groupId> <testdb.artifactId>h2</testdb.artifactId> <testdb.version>1.3.168</testdb.version> <testdb.driver>org.h2.Driver</testdb.driver> <testdb.dialect>org.hibernate.dialect.H2Dialect</testdb.dialect> <!-- See http://www.h2database.com/html/features.html#database_url (mixed mode) --> <testdb.url>jdbc:h2:~/${application.id};AUTO_SERVER=TRUE;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</testdb.url> <testdb.username>sa</testdb.username> <testdb.password>sa</testdb.password> #end <!-- Change this to generate to the correct MDA database mappings, For MySql use: MySQL For Hypersonic use: HypersonicSql For H2 use: H2Sql For Oracle9i use: Oracle9i For DB2 use: DB2 For Informix use: InformixDB For MSSQL use: MSSQL For Pointbase use: PointBase For Postgres use: PostgreSQL For Sybase use: Sybase For SapDB use: SapDB For Derby use: Derby --> <sql.mappings> #if ($mysql) MySQL #elseif ($oracle) Oracle9i #elseif ($db2) DB2 #elseif ($informix) InformixDB #elseif ($mssql) MSSQL #elseif ($pointbase) PointBase #elseif ($postgres) PostgreSQL #elseif ($sybase) Sybase #elseif ($sapdb) SapDB #elseif ($progress) PostgreSQL 7.2 #elseif ($derby) Derby #elseif ($h2) H2Sql #elseif ($hypersonic) HypersonicSql #end </sql.mappings> <!-- Change this for the appropriate database For DB2 use: org.hibernate.dialect.DB2Dialect or org.hibernate.dialect.DB2390Dialect org.hibernate.dialect.DB2400Dialect For Derby use: org.hibernate.dialect.DerbyDialect For H2 use: org.hibernate.dialect.H2Dialect For Hypersonic use: org.hibernate.dialect.HSQLDialect For Informix use: org.hibernate.dialect.InformixDialect For MySql4 use: org.hibernate.dialect.MySQLDialect For MySql5+ use: org.hibernate.dialect.MySQL5Dialect For MySql InnoDB use: org.hibernate.dialect.MySQL5InnoDBDialect For MySql MyISAM use: org.hibernate.dialect.MySQLMyISAMDialect For MSSQL use: org.hibernate.dialect.SQLServerDialect For Oracle any version use: org.hibernate.dialect.OracleDialect For Oracle8i use: org.hibernate.dialect.Oracle8iDialect For Oracle9i use: org.hibernate.dialect.Oracle9iDialect For Oracle10g or later use: org.hibernate.dialect.Oracle10gDialect For Pointbase use: org.hibernate.dialect.PointbaseDialect For Postgres use: org.hibernate.dialect.PostgreSQLDialect For Progress use: org.hibernate.dialect.ProgressDialect For SapDB use: org.hibernate.dialect.SAPDBDialect For Sybase use: org.hibernate.dialect.SybaseDialect or org.hibernate.dialect.Sybase11Dialect For Sybase Anywhere use: org.hibernate.dialect.SybaseAnywhereDialect --> <hibernate.dialect> #if ($mysql) org.hibernate.dialect.MySQL5InnoDBDialect #elseif ($oracle) org.hibernate.dialect.Oracle10gDialect #elseif ($db2) org.hibernate.dialect.DB2Dialect #elseif ($informix) org.hibernate.dialect.InformixDialect #elseif ($mssql) org.hibernate.dialect.SQLServerDialect #elseif ($pointbase) org.hibernate.dialect.PointbaseDialect #elseif ($postgres) org.hibernate.dialect.PostgreSQLDialect #elseif ($sybase) org.hibernate.dialect.SybaseDialect #elseif ($sapdb) org.hibernate.dialect.SAPDBDialect #elseif ($progress) org.hibernate.dialect.ProgressDialect #elseif ($derby) org.hibernate.dialect.DerbyDialect #elseif ($h2) org.hibernate.dialect.H2Dialect #elseif ($ypersonic) org.hibernate.dialect.HSQLDialect #end </hibernate.dialect> #end #if ($ejb || $ejb3) <!-- Change this to the correct database type mappings (for Jboss) For MySql use: mySQL For H2 use: H2 SQL For Hypersonic use: Hypersonic SQL For Oracle9i use: Oracle9i For DB2 use: DB2 For Informix use: InformixDB For MSSQL use: MS SQLSERVER2000 For Pointbase use: PointBase For Postgres use: PostgreSQL 7.2 For Sybase use: Sybase For SapDB use: SapDB For Derby use: Derby --> <jboss.typeMappings> #if ($mysql) mySQL #elseif ($oracle) Oracle9i #elseif ($db2) DB2 #elseif ($informix) InformixDB #elseif ($mssql) MS SQLSERVER2000 #elseif ($pointbase) PointBase #elseif ($postgres) PostgreSQL 7.2 #elseif ($sybase) Sybase #elseif ($sapdb) SapDB #elseif ($derby) Derby #elseif ($progress) PostgreSQL 7.2 #elseif ($h2) H2 SQL #elseif ($hypersonic) Hypersonic SQL #end </jboss.typeMappings> #end #if ($ear) <jboss.home>${env.JBOSS_HOME}</jboss.home> #else <tomcat.home>${env.CATALINA_HOME}</tomcat.home> #end <application.id>$applicationId</application.id> <application.package>$applicationPackage</application.package> <application.name>$applicationName</application.name> <application.version>$applicationVersion</application.version> #if ($embeddedJetty) <!-- uncomment to use the context configured datasource #end <dataSource.name>jdbc/${application.id}</dataSource.name> #if ($ear) <dataSource>java:/${dataSource.name}</dataSource> #else <dataSource>java:comp/env/${dataSource.name}</dataSource> #end #if ($embeddedJetty) --> #end #if ($cxf) <cxf.version>2.6.2</cxf.version> <cxf.xjc.version>2.6.0</cxf.xjc.version> #end #if ($spring) <!-- Set andromda.xml hibernateVersion=4, sessionFactory and localTransactionManager to hibernate4 Spring cartridge only works with hibernate3. <hibernate.version>4.1.7.Final</hibernate.version--> <hibernate.version>3.6.9.Final</hibernate.version> #elseif ($hibernate || $ejb3) <!-- Set andromda.xml hibernateVersion=3, sessionFactory and localTransactionManager to hibernate3 <hibernate.version>3.6.9.Final</hibernate.version--> <hibernate.version>4.1.7.Final</hibernate.version> #end #if ($cxf || $embeddedJetty) <jetty.version>8.1.6.v20120903</jetty.version> #end #if ($cxf || $spring) <spring.version>3.1.2.RELEASE</spring.version> #end <!-- SCM user ID and Password here, or in user specific settings.xml file --> <username></username> <password></password> <maven-javadoc-plugin.version>2.8.1</maven-javadoc-plugin.version> </properties> <profiles> <!--Profile configuration for local builds, activeByDefault, customize for your project --> <profile> <id>local</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <!-- Change driver path and jar for appropriate database For MySQL use: mysql-connector-java-X-bin.jar For Hypersonic use: hsqldb.jar --> <jdbc.driver.jar> #if ($ear) <!-- JBoss gives classloader exceptions if the JDBC driver is bundled with the EAR --> #if ($mysql) ${jboss.home}/common/lib/mysql-connector-java-5.1.16.jar #elseif ($oracle) ${jboss.home}/common/lib/ojdbc14.jar #elseif ($db2) ${jboss.home}/common/lib/db2java.zip #elseif ($informix) ${jboss.home}/common/lib/ifxjdbc.jar #elseif ($mssql) ${jboss.home}/common/lib/Mssqlserver.jar #elseif ($pointbase) ${jboss.home}/common/lib/pbclient.jar #elseif ($postgres) ${jboss.home}/common/lib/postgresql.jar #elseif ($sybase) ${jboss.home}/common/lib/jconn2.jar #elseif ($sapdb) ${jboss.home}/common/lib/sapdbc.jar #elseif ($progress) ${jboss.home}/common/lib/progress.jar #elseif ($derby) ${jboss.home}/common/lib/derby.jar #elseif ($h2) ${jboss.home}/common/lib/h2.jar #elseif ($hypersonic) ${jboss.home}/common/lib/hsqldb.jar #end #else #if ($mysql) /path/to/mysql/lib/mysql-connector-java-5.1.16.jar #elseif ($oracle) /path/to/oracle/jdbc/lib/ojdbc14.jar #elseif ($db2) /path/to/db2/java/db2java.zip #elseif ($informix) /path/to/informix/lib/ifxjdbc.jar #elseif ($mssql) /path/to/SQLServerh/java/Mssqlserver.jar #elseif ($pointbase) /path/to/pointbase/lib/pbclient.jar #elseif ($postgres) /path/to/postgres/lib/postgresql.jar #elseif ($sybase) /path/to/sybase/java/jconn2.jar #elseif ($sapdb) /path/to/sapdb/lib/sapdbc.jar #elseif ($progress) /path/to/progress/lib/progress.jar #elseif ($derby) /path/to/derby/lib/derby.jar #elseif ($h2) /path/to/h2/lib/h2.jar #elseif ($hypersonic) /path/to/hsqldb/lib/hsqldb.jar #end #end </jdbc.driver.jar> <!-- Change driver for appropriate database For MySQL use: com.mysql.jdbc.Driver For H2 use: org.h2.Driver For Hypersonic use: org.hsqldb.jdbcDriver For Oracle9i use: oracle.jdbc.driver.OracleDriver For DB2 use: COM.ibm.db2.jdbc.app.DB2Driver For Informix use: com.informix.jdbc.IfxDriver For MSSQL use: com.microsoft.jdbc.sqlserver.SQLServerDriver For Pointbase use: com.pointbase.jdbc.jdbcUniversalDriver For Postgres use: org.postgresql.Driver For Sybase use: com.sybase.jdbc2.jdbc.SybDataSource For SapDB use: com.sap.dbtech.jdbc.DriverSapDB For Progress use: com.progress.sql.jdbc.JdbcProgressDriver For Derby use: org.apache.derby.jdbc.EmbeddedDriver --> <jdbc.driver> #if ($mysql) com.mysql.jdbc.Driver #elseif ($oracle) oracle.jdbc.driver.OracleDriver #elseif ($db2) COM.ibm.db2.jdbc.app.DB2Driver #elseif ($informix) com.informix.jdbc.IfxDriver #elseif ($mssql) com.microsoft.jdbc.sqlserver.SQLServerDriver #elseif ($pointbase) com.pointbase.jdbc.jdbcUniversalDriver #elseif ($postgres) org.postgresql.Driver #elseif ($sybase) com.sybase.jdbc2.jdbc.SybDataSource #elseif ($sapdb) com.sap.dbtech.jdbc.DriverSapDB #elseif ($progress) com.progress.sql.jdbc.JdbcProgressDriver #elseif ($derby) org.apache.derby.jdbc.EmbeddedDriver #elseif ($h2) org.h2.Driver #elseif ($hypersonic) org.hsqldb.jdbcDriver #end </jdbc.driver> <!-- Change connection url for appropriate database For MySQL use: jdbc:mysql://localhost:3306/$applicationId For Hypersonic use: jdbc:hsqldb:hsql://127.0.0.1:1701 For Oracle9i use: jdbc:oracle:thin:@localhost:1521:yoursid For DB2 use: jdbc:db2:$applicationId For Informix use: jdbc:informix-sqli://localhost:1557/${applicationId}:INFORMIXSERVER=myserver For MSSQL use: jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=$applicationId For Pointbase use: jdbc:pointbase:server://@pointbase.server@:@pointbase.port/pointbase.${applicationId}@,new For Postgres use: jdbc:postgresql://localhost/$applicationId For Sybase use: jdbc:sybase:Tds:localhost:5000/${applicationId}?JCONNECT_VERSION=6 For SapDB use: jdbc:sapdb://127.0.0.1/$applicationId For Progress use: jdbc:JdbcProgress:T:localhost:3305:$applicationId --> <jdbc.url> #if ($mysql) jdbc:mysql://localhost:3306/$applicationId #elseif ($oracle) jdbc:oracle:thin:@localhost:1521:yoursid #elseif ($db2) jdbc:db2:$applicationId #elseif ($informix) jdbc:informix-sqli://localhost:1557/${applicationId}:INFORMIXSERVER=myserver #elseif ($mssql) jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=$applicationId #elseif ($pointbase) jdbc:pointbase:server://@pointbase.server@:@pointbase.port/pointbase.${applicationId}@,new #elseif ($postgres) jdbc:postgresql://localhost/$applicationId #elseif ($sybase) jdbc:sybase:Tds:localhost:5000/${applicationId}?JCONNECT_VERSION=6 #elseif ($sapdb) jdbc:sapdb://127.0.0.1/$applicationId #elseif ($progress) jdbc:JdbcProgress:T:localhost:3305:$applicationId #elseif ($derby) jdbc:derby:$applicationId #elseif ($h2) jdbc:h2:~/$applicationId #elseif ($hypersonic) #if ($embeddedJetty) jdbc:hsqldb:file:database/${applicationId};shutdown=true #else jdbc:hsqldb:hsql://127.0.0.1:1701 #end #end </jdbc.url> <!-- Enter id/password for the database connection --> <jdbc.username> #if ($mysql) $applicationId #elseif ($oracle) SYSTEM #elseif ($db2) db2admin #elseif ($informix) informix #elseif ($mssql || $sybase || $hypersonic || $h2) sa #elseif ($pointbase) pointbase #elseif ($postgres) postgres #elseif ($sapdb) sap #elseif ($progress) progress #elseif ($derby) derby #else sa #end </jdbc.username> <jdbc.password> #if(!$hypersonic) $applicationId #end </jdbc.password> <!-- Change exception sorter class name for appropriate database For MySQL use: org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter For Hypersonic use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter For Oracle9i use: org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter For DB2 use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter For Informix use: org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter For MSSQL use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter For Pointbase use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter For Postgres use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter For Sybase use: org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter For SapDB use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter For Progress use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter --> <jdbc.exception.sorter> #if ($mysql) org.jboss.resource.adapter.jdbc.MySQLExceptionSorter #elseif ($oracle) org.jboss.resource.adapter.jdbc.OracleExceptionSorter #elseif ($informix) org.jboss.resource.adapter.jdbc.InformixExceptionSorter #elseif ($sybase) org.jboss.resource.adapter.jdbc.SybaseExceptionSorter #else org.jboss.resource.adapter.jdbc.NullExceptionSorter #end </jdbc.exception.sorter> #if ($webservice) <!-- Change this to the host on which your webapp/service will be deployed --> <service.host>localhost</service.host> #end #if ($cxf || $embeddedJetty) <!-- Change this the port on which your webapp/service will be deployed --> <service.port>9090</service.port> #end </properties> <build> <pluginManagement> <plugins> <plugin> <groupId>org.andromda.maven.plugins</groupId> <artifactId>andromdapp-maven-plugin</artifactId> <version>${andromda.version}</version> <!-- provides the injection of the script wrapper support into the class files (this should only be done when developing locally), uncomment this executions element to enable <executions> <execution> <id>instrument-scripts</id> <goals> <goal>instrument-scripts</goal> </goals> </execution> </executions> --> <configuration> <scriptWrapper>org.andromda.scriptwrappers.GroovyScriptWrapper</scriptWrapper> <locations> <location> <rootPath>${project.basedir}/src/main/java</rootPath> <!-- adjust these to include or exclude specific files, by default all files found in the rootPath are considered <includes> <include>relative/path/to/file/to/include/SomeClass.java</include> </includes> <excludes> <exclude>relative/path/to/file/to/include/SomeClass.java</exclude> </excludes> --> </location> </locations> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> </plugin> </plugins> </pluginManagement> </build> <!-- Customize for your project --> #if ($stringUtils.isNotBlank($distributionManagementRepositoryUrl) && !$distributionManagementRepositoryUrl.equals('$distributionManagementRepositoryUrl')) <distributionManagement> <repository> <id>$distributionManagementRepositoryId</id> <url>$distributionManagementRepositoryUrl</url> <uniqueVersion>true</uniqueVersion> </repository> <snapshotRepository> <id>$distributionManagementSnapshotRepositoryId</id> <url>$distributionManagementSnapshotRepositoryUrl</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> <site> <id>website</id> #if ($stringUtils.isNotBlank($website) && !$website.equals('$website')) <url>$website</url> #else <url>file:/var/www/docs/$applicationId</url> #end </site> </distributionManagement> #else <!--distributionManagement> <repository> <id>andromda-repository</id> <name>AndroMDA Repository</name> <url>file:/scratch/hudson/workspace/Andromda/$applicationId/</url> <uniqueVersion>false</uniqueVersion> </repository> <snapshotRepository> <id>andromda-snapshots</id> <name>AndroMDA Snapshot Repository</name> <url>file:/scratch/hudson/workspace/Andromda/$applicationId/</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> <site> <id>website</id> #if ($stringUtils.isNotBlank($website) && !$website.equals('$website')) <url>$website</url> #else <url>file:/scratch/hudson/workspace/Andromda/site/$applicationId/</url> #end </site> </distributionManagement--> #end </profile> <!-- Cloudbees WebDav: See https://github.com/CloudBees-community/maven-config-github-cloudbees/blob/master/pom.xml Configure server id/password in settings.xml to deploy. --> <profile> <id>cloudbees</id> <activation> <activeByDefault>false</activeByDefault> </activation> <!-- Deploy releases and snapshots to the CloudBees maven repositories. Customize for your project if using Cloudbees, or remove. --> <distributionManagement> <repository> <id>andromdabuild-cloudbees-release</id> <name>andromdabuild-cloudbees-release</name> <!-- Webdav repository url are prefixed with dav: --> <url>dav:https://repository-andromdabuild.forge.cloudbees.com/release/</url> <uniqueVersion>true</uniqueVersion> </repository> <snapshotRepository> <id>andromdabuild-cloudbees-snapshot</id> <name>andromdabuild-cloudbees-snapshot</name> <url>dav:https://andromdabuild-javaetmoi.forge.cloudbees.com/snapshot/</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> <site> <id>website</id> <url>file:/scratch/hudson/workspace/Andromda/site/</url> </site> </distributionManagement> <repositories> <repository> <id>andromdabuild-cloudbees-release</id> <name>andromdabuild-cloudbees-release</name> <url>https://andromdabuild-javaetmoi.forge.cloudbees.com/release/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>andromdabuild-cloudbees-snapshot</id> <name>andromdabuild-cloudbees-snapshot</name> <url>https://repository-andromdabuild.forge.cloudbees.com/snapshot/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> </profile> <!-- Sourceforge SCP site deployment: See http://maven.apache.org/plugins/maven-site-plugin/examples/site-deploy-to-sourceforge.net.html Configure server id/password in settings.xml to deploy. Must create sourceforge shell before running, with 240 minute time limit: ssh -t sfusername,[email protected] create --> <profile> <id>sourceforge</id> <activation> <activeByDefault>false</activeByDefault> </activation> <distributionManagement> <site> <id>andromda.sourceforge.net</id> <url>scp://shell.sourceforge.net/home/project-web/andromda/htdocs</url> </site> </distributionManagement> </profile> <!-- Sonatype builds and distribution, for synch to maven central. See https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide --> <profile> <id>sonatype</id> <build> <plugins> <!-- Deploy source and javadocs with each snapshot deployment. Javadocs take a while to generate --> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> <goal>test-jar</goal> </goals> </execution> </executions> <configuration> <show>package</show> <version>true</version> <javadocVersion>${source.version}</javadocVersion> <failOnError>false</failOnError> <linksource>true</linksource> <detectLinks>true</detectLinks> <detectOfflineLinks>true</detectOfflineLinks> <extdirs>${project.basedir}/target/src/min/java</extdirs> <links> <link>http://download.oracle.com/javase/6/docs/api/</link> <link>http://download.oracle.com/javaee/1.4/api/</link> <link>http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.1.0/</link> <link>http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/</link> <link>http://dom4j.sourceforge.net/dom4j-1.6.1/apidocs/</link> <link>http://freemarker.org/docs/api/</link> <link>http://groovy.codehaus.org/api/</link> <link>http://www.jajakarta.org/ant/ant-1.6.1/docs/ja/manual/api/</link> <link>http://jakarta.apache.org/commons/collections/apidocs/</link> <link>http://jakarta.apache.org/commons/logging/apidocs/</link> <link>http://jakarta.apache.org/regexp/apidocs/</link> <link>http://jaxb.java.net/nonav/2.2.4/docs/api/</link> <link>http://logging.apache.org/log4j/docs/api/</link> <link>http://maven.apache.org/ref/2.2.1/maven-core/apidocs/</link> <link>http://maven.apache.org/ref/2.2.1/maven-plugin-api/apidocs/</link> <link>http://maven.apache.org/ref/2.2.1/maven-project/apidocs/</link> <link>http://maven.apache.org/ref/2.2.1/maven-artifact/apidocs/</link> <link>http://velocity.apache.org/engine/devel/apidocs/</link> <link>http://www.andromda.org/docs/jmi-uml1.4/</link> <link>http://www.csg.is.titech.ac.jp/~chiba/javassist/html/</link> <link>http://www.junit.org/junit/javadoc/</link> </links> </configuration> </plugin> </plugins> </build> <!-- Sonatype server id/password must be specified in settings.xml --> <distributionManagement> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Staging Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <repositoryId>andromda-snapshots</repositoryId> <url>http://oss.sonatype.org/content/repositories/snapshots</url> </properties> </profile> <!-- Create/install javadoc and test-javadoc jars during the build. Run as part of deploy process. Central synch requires source and javadocs artifacts. --> <profile> <id>javadocs</id> <build> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>javadoc-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> <execution> <id>test-jar</id> <phase>package</phase> <goals> <goal>test-jar</goal> </goals> </execution> </executions> <configuration> <show>package</show> <version>true</version> <javadocVersion>${source.version}</javadocVersion> <failOnError>false</failOnError> <linksource>true</linksource> <detectLinks>true</detectLinks> <detectOfflineLinks>true</detectOfflineLinks> <links> <link>http://download.oracle.com/javase/6/docs/api/</link> <link>http://download.oracle.com/javaee/1.4/api/</link> <link>http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.1.0/</link> <link>http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/</link> <link>http://dom4j.sourceforge.net/dom4j-1.6.1/apidocs/</link> <link>http://freemarker.org/docs/api/</link> <link>http://groovy.codehaus.org/api/</link> <link>http://www.jajakarta.org/ant/ant-1.6.1/docs/ja/manual/api/</link> <link>http://jakarta.apache.org/commons/collections/apidocs/</link> <link>http://jakarta.apache.org/commons/logging/apidocs/</link> <link>http://jakarta.apache.org/regexp/apidocs/</link> <link>http://jaxb.java.net/nonav/2.2.4/docs/api/</link> <link>http://logging.apache.org/log4j/docs/api/</link> <link>http://maven.apache.org/ref/2.2.1/maven-core/apidocs/</link> <link>http://maven.apache.org/ref/2.2.1/maven-plugin-api/apidocs/</link> <link>http://maven.apache.org/ref/2.2.1/maven-project/apidocs/</link> <link>http://maven.apache.org/ref/2.2.1/maven-artifact/apidocs/</link> <link>http://velocity.apache.org/engine/devel/apidocs/</link> <link>http://www.andromda.org/docs/jmi-uml1.4/</link> <link>http://www.csg.is.titech.ac.jp/~chiba/javassist/html/</link> <link>http://www.junit.org/junit/javadoc/</link> </links> </configuration> </plugin> </plugins> </build> </profile> <!-- Needed for releases only. settings.xml: Add same profile with gpg.keyname, gpg.passphrase, gpg.homedir properties. Run mvn deploy -Pjavadocs,local,gpg-andromda > deploy.txt --> <profile> <id>gpg-andromda</id> <build> <plugins> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>1.4</version> <inherited>true</inherited> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <repositories> <!--repository> <id>sonatype</id> <name>Sonatype AndroMDA Repository</name> <url>http://oss.sonatype.org/content/groups/public</url> </repository--> #if ($ejb3 || $jbossSeam) <repository> <id>jboss-public</id> <name>JBoss Repository</name> <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url> </repository> #end </repositories> <!--pluginRepositories> <pluginRepository> <id>sonatype</id> <name>Sonatype AndroMDA Repository</name> <url>http://oss.sonatype.org/content/groups/public</url> </pluginRepository> </pluginRepositories--> <prerequisites> <maven>2.2.1</maven> </prerequisites> <!-- Comment to disable project reporting using default maven plugins --> <reporting> <plugins> <plugin> <artifactId>maven-jxr-plugin</artifactId> <version>2.3</version> </plugin> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.5.1</version> <reportSets> <reportSet> <reports> <report>cim</report> <report>dependencies</report> <report>dependency-convergence</report> <report>dependency-management</report> <report>help</report> <report>index </report> <report>issue-tracking</report> <report>license</report> <report>mailing-list</report> <report>modules</report> <report>plugin-management</report> <report>plugins</report> <report>project-team</report> <report>scm</report> <report>summary</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> <minmemory>128m</minmemory> <maxmemory>1g</maxmemory> <sourcepath>${project.basedir}/src/main/java;${project.basedir}/target/src/main/java</sourcepath> <detectLinks/> <links> <link>http://java.sun.com/javase/6/docs/api/</link> <link>http://java.sun.com/j2ee/1.4/docs/api/</link> #if ($spring || $hibernate || $cxf) <link>http://docs.jboss.org/hibernate/stable/core/javadocs/</link> <link>http://static.springsource.org/spring/docs/3.0.x/javadoc-api</link> #end <link>http://jakarta.apache.org/commons/collections/apidocs</link> <link>http://jakarta.apache.org/commons/lang/apidocs</link> <link>http://jakarta.apache.org/commons/logging/apidocs/</link> <link>http://logging.apache.org/log4j/docs/api/</link> <link>http://www.junit.org/junit/javadoc/</link> </links> </configuration> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.12.3</version> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <version>2.7.1</version> <configuration> <targetJdk>${java.version}</targetJdk> <linkXRef>true</linkXRef> <rulesets> <ruleset>/rulesets/basic.xml</ruleset> <ruleset>/rulesets/braces.xml</ruleset> <ruleset>/rulesets/clone.xml</ruleset> <ruleset>/rulesets/codesize.xml</ruleset> <ruleset>/rulesets/controversial.xml</ruleset> <ruleset>/rulesets/coupling.xml</ruleset> <ruleset>/rulesets/design.xml</ruleset> <ruleset>/rulesets/finalizers.xml</ruleset> <ruleset>/rulesets/logging-java.xml</ruleset> <ruleset>/rulesets/j2ee.xml</ruleset> <ruleset>/rulesets/javabeans.xml</ruleset> <ruleset>/rulesets/junit.xml</ruleset> <ruleset>/rulesets/naming.xml</ruleset> <ruleset>/rulesets/optimizations.xml</ruleset> <ruleset>/rulesets/strictexception.xml</ruleset> <ruleset>/rulesets/strings.xml</ruleset> <ruleset>/rulesets/sunsecure.xml</ruleset> <ruleset>/rulesets/typeresolution.xml</ruleset> <ruleset>/rulesets/unusedcode.xml</ruleset> </rulesets> </configuration> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.9.1</version> <configuration> <configLocation>config/maven_checks.xml</configLocation> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> <version>2.0-beta-2</version> </plugin> <plugin> <artifactId>maven-changes-plugin</artifactId> <version>2.7.1</version> <reportSets> <reportSet> <reports> <report>changes-report</report> <!-- Uncomment if using JIRA --> <!--report>jira-report</report--> </reports> </reportSet> </reportSets> <configuration> <columnNames>Key,Type,Summary,Assignee,Status,Resolution,Priority,Component</columnNames> <sortColumnNames>Key</sortColumnNames> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.4</version> <configuration> <tagListOptions> <tagClasses> <tagClass> <displayName>Todo Work</displayName> <tags> <tag> <matchString>todo</matchString> <matchType>ignoreCase</matchType> </tag> <tag> <matchString>FIXME</matchString> <matchType>exact</matchType> </tag> <tag> <matchString>XXX</matchString> <matchType>exact</matchType> </tag> <tag> <matchString>@deprecated</matchString> <matchType>exact</matchType> </tag> </tags> </tagClass> </tagClasses> </tagListOptions> </configuration> </plugin> <!-- Uncomment after configuring SCM connection> <plugin> <artifactId>maven-changelog-plugin</artifactId> <version>2.2</version> <reportSets> <reportSet> <id>All Reports</id> <configuration> <type>range</type> <range>90</range> <dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat> </configuration> <reports> <report>changelog</report> <report>file-activity</report> <report>dev-activity</report> </reports> </reportSet> </reportSets> </plugin--> <!--plugin> <artifactId>maven-docck-plugin</artifactId> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin--> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.5.1</version> <configuration> <formats> <format>html</format> <format>xml</format> </formats> </configuration> </plugin> <!-- Compare APIs to a previous version, uncomment when a release version exists --> <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> <version>2.4</version> <inherited>true</inherited> <configuration> <minSeverity>info</minSeverity> </configuration> </plugin--> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0</version> <inherited>true</inherited> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.2</version> <configuration> <xmlOutput>true</xmlOutput> <effort>Default</effort> <threshold>Normal</threshold> <!--xmlOutputDirectory>directory location of findbugs xdoc xml report</xmlOutputDirectory> <threshold>High|Normal|Low|Exp|Ignore</threshold> <effort>Min|Default|Max</effort> <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> <includeFilterFile>findbugs-include.xml</includeFilterFile> <visitors>FindDeadLocalStores,UnreadFields</visitors> <omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors> <onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze> <pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList> <debug>true|false</debug> <relaxed>true|false</relaxed> <findbugsXmlOutput>true|false</findbugsXmlOutput> <findbugsXmlOutputDirectory>location of legacy xml format report</findbugsXmlOutputDirectory--> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>1.3.1</version> <reportSets> <reportSet> <reports> <report>dependency-updates-report</report> <report>plugin-updates-report</report> <report>property-updates-report</report> </reports> </reportSet> </reportSets> </plugin> <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dashboard-maven-plugin</artifactId> <version>1.0.0-beta-1</version> </plugin--> <!--plugin> <artifactId>maven-doap-plugin</artifactId> <version>1.0</version> <configuration> <doapOptions> <programmingLanguage>java</programmingLanguage> <category>build-management</category> </doapOptions> <asfExtOptions> <included>false</included> </asfExtOptions> </configuration> </plugin--> </plugins> </reporting> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy