timetracker-ejb3
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.andromda.timetracker</groupId>
<artifactId>timetracker-ejb3</artifactId>
<version>3.4</version>
</dependency><?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>org.andromda.timetracker</groupId>
<artifactId>timetracker-ejb3</artifactId>
<packaging>pom</packaging>
<version>3.4</version>
<name>TimeTracker EJB3</name>
<description>The TimeTracker EJB3 Project.</description>
<url>http://www.andromda.org/docs</url>
<issueManagement>
<system>jira</system>
<url>http://jira.andromda.org/</url>
</issueManagement>
<scm>
<connection>scm:svn:http://andromda.svn.sourceforge.net/svnroot/andromda/trunk/andromda-documentation/samples/timetracker-ejb3</connection>
<developerConnection>scm:svn:https://andromda.svn.sourceforge.net/svnroot/andromda/trunk/andromda-documentation/samples/timetracker-ejb3</developerConnection>
<url>http://andromda.svn.sourceforge.net/viewvc/andromda/trunk/andromda-documentation/samples/timetracker-ejb3/</url>
</scm>
<organization>
<name>AndroMDA.org</name>
<url>http://www.andromda.org/</url>
</organization>
<licenses>
<license>
<name>The AndroMDA Project</name>
<url>LICENSE.txt</url>
<distribution>repo</distribution>
<comments>AndroMDA runs under a BSD license</comments>
</license>
</licenses>
<ciManagement>
<system>husdon</system>
<url>http://www.andromda.org/husdon</url>
<notifiers>
<notifier>
<type>mail</type>
<configuration>
<address></address>
</configuration>
</notifier>
</notifiers>
</ciManagement>
<developers>
<developer>
<id></id>
<name>Vance Karimi</name>
<email></email>
<organization></organization>
<roles>
<role>Developer</role>
</roles>
<timezone></timezone>
</developer>
</developers>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.andromda.cartridges</groupId>
<artifactId>andromda-jsf-cartridge-components</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.andromda.cartridges</groupId>
<artifactId>andromda-jsf-cartridge</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.tomahawk</groupId>
<artifactId>tomahawk12</artifactId>
<version>1.1.13</version>
</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>
<dependency>
<artifactId>hibernate-validator</artifactId>
<groupId>org.hibernate</groupId>
<version>4.3.0.Final</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.0</version>
<scope>provided</scope>
</dependency>
<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>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.sun.facelets</groupId>
<artifactId>jsf-facelets</artifactId>
<version>1.1.14</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.andromda</groupId>
<artifactId>andromda-utils</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
<exclusions>
<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>
<dependency>
<groupId>org.andromda.translationlibraries</groupId>
<artifactId>andromda-ocl-query-library</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- 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>runtime</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>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
<!-- JBoss contains a version which causes a classloader conflict unless not bundled -->
<scope>provided</scope>
</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>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</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>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>2.6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.7</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1</version>
<scope>runtime</scope>
<!--exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions-->
</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>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2.1-b03</version>
<scope>provided</scope>
</dependency-->
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>2.0.8</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.168</version>
<!--scope>test</scope-->
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.7</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>qdox</groupId>
<artifactId>qdox</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- JBoss Dependencies -->
<!--dependency>
<groupId>org.jboss</groupId>
<artifactId>ejb3-persistence</artifactId>
<version>4.0.5-GA</version>
<scope>provided</scope>
</dependency-->
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-annotations-ejb3</artifactId>
<version>4.2.3.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.3.GA</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jnp-client</artifactId>
<version>4.2.2.GA</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>jboss.jboss-embeddable-ejb3</groupId>
<artifactId>jboss-ejb3-all</artifactId>
<version>1.0.0.Alpha9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss.jboss-embeddable-ejb3</groupId>
<artifactId>thirdparty-all</artifactId>
<version>1.0.0.Alpha9</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>jboss.jboss-embeddable-ejb3</groupId>
<artifactId>thirdparty-all</artifactId>
<version>1.0.0.Alpha9</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>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>
</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>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/src/main/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-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.3</version>
</plugin>
<plugin>
<artifactId>maven-ejb-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<excludes>
<exclude>**/*.ref</exclude>
</excludes>
</configuration>
</plugin>
<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>
<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>
<!-- 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 -->
<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>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.6.v20120903</version>
</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>
<!-- JXR must be run before other static analysis plugins, to link to scource code lines in report, error if velocity-tools not added -->
<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>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<versionRange>[1.6,)</versionRange>
<goals>
<goal>run</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<!-- v3.1 gives error only on this project when running javadoc site: ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be cast to com.sun.javadoc.AnnotationTypeDoc -->
<version>2.4</version>
</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 1.6!</message>
<version>1.6.0</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>
<plugin>
<!-- Automatically attach sources to build artifact as artifact-version-sources.jar and deploy to local repository -->
<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>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<!-- v3.1 gives error only on this project when running javadoc site: ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be cast to com.sun.javadoc.AnnotationTypeDoc -->
<version>2.4</version>
<!--dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-twiki</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies-->
</plugin>
</plugins>
</build>
<modules>
<!-- Save the values used to generate this project from andromdapp
ejb3Persistence=$ejb3Persistence
ear=true
ejb=$ejb
ejb3=true
transactionPersistenceType=ejb3
jsr181Webservice=true
hibernate=$hibernate
spring=$spring
webservice=true
web=true
struts=$struts
jsf=true
cxf=$cxf
rest=$rest
ear=true
jbossSeam=false
soapStack=$soapStack
-->
<module>mda</module>
<module>common</module>
<module>core</module>
<module>web</module>
<module>app</module>
<module>client</module>
</modules>
<properties>
<andromda.version>3.4</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>
<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:~/timetracker;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>
<!--
Change this to generate to the correct MDA database mappings,
For MySql use: MySQL
For H2 use: H2Sql
For Hypersonic use: HypersonicSql
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>H2Sql</sql.mappings>
<!--
Change this for the appropriate database
For Derby use: org.hibernate.dialect.DerbyDialect
For H2 use: org.hibernate.dialect.H2Dialect
For MySql use: org.hibernate.dialect.MySQL5Dialect
For MySql InnoDB use: org.hibernate.dialect.MySQL5InnoDBDialect
For MySql MyISAM use: org.hibernate.dialect.MySQLMyISAMDialect
For Hypersonic use: org.hibernate.dialect.HSQLDialect
For Oracle any version use: org.hibernate.dialect.OracleDialect
For Oracle9i/10g use: org.hibernate.dialect.Oracle10gDialect
For DB2 use: org.hibernate.dialect.DB2Dialect or org.hibernate.dialect.DB2390Dialect org.hibernate.dialect.DB2400Dialect
For Informix use: org.hibernate.dialect.InformixDialect
For MSSQL use: org.hibernate.dialect.SQLServerDialect
For Pointbase use: org.hibernate.dialect.PointbaseDialect
For Postgres use: org.hibernate.dialect.PostgreSQLDialect
For Sybase use: org.hibernate.dialect.SybaseDialect or org.hibernate.dialect.Sybase11Dialect
For Sybase Anywhere use: org.hibernate.dialect.SybaseAnywhereDialect
For SapDB use: org.hibernate.dialect.SAPDBDialect
For Progress use: org.hibernate.dialect.ProgressDialect
For Derby use: org.hibernate.dialect.DerbyDialect
-->
<hibernate.dialect>org.hibernate.dialect.H2Dialect</hibernate.dialect>
<!--
Change this to the correct database type mappings (for Jboss)
For MySql use: mySQL
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>Hypersonic</jboss.typeMappings>
<jboss.home>${env.JBOSS_HOME}</jboss.home>
<application.id>timetracker-ejb3</application.id>
<application.package>org.andromda.timetracker</application.package>
<application.name>TimeTrackerEJB3</application.name>
<application.version>${project.version}</application.version>
<dataSource.name>jdbc/${application.id}</dataSource.name>
<dataSource>java:/${dataSource.name}</dataSource>
<!-- hibernate v4 incompatible with JBoss microcontainer logging TRACE -->
<hibernate.version>4.1.7.Final</hibernate.version>
<spring.version>3.1.2.RELEASE</spring.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<profiles>
<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>
<!-- JBoss gives classloader exceptions if the JDBC driver is bundled with the EAR
Updated here for JBoss7
${jboss.home}/server/default/lib/mysql-connector-java-5.1.14.jar -->
${jboss.home}/modules/com/h2database/h2/main/h2-1.2.145.jar
</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>org.h2.Driver</jdbc.driver>
<!--
Change connection url for appropriate database
For MySQL use: jdbc:mysql://localhost:3306/timetracker
For H2 use: jdbc:h2:~/timetracker;AUTO_SERVER=TRUE;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1
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:timetracker
For Informix use: jdbc:informix-sqli://localhost:1557/timetracker:INFORMIXSERVER=myserver
For MSSQL use: jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=timetracker
For Pointbase use: jdbc:pointbase:server://@pointbase.server@:@pointbase.port/pointbase.timetracker@,new
For Postgres use: jdbc:postgresql://localhost/timetracker
For Sybase use: jdbc:sybase:Tds:localhost:5000/timetracker?JCONNECT_VERSION=6
For SapDB use: jdbc:sapdb://127.0.0.1/timetracker
For Progress use: jdbc:JdbcProgress:T:localhost:3305:timetracker
-->
<jdbc.url>jdbc:h2:~/timetracker;AUTO_SERVER=TRUE;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</jdbc.url>
<jdbc.username>sa</jdbc.username>
<jdbc.password>sa</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>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</jdbc.exception.sorter>
</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>
<version>2.5</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgument>-Xlint:cast,unchecked,fallthrough,finally,serial</compilerArgument>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.3</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<distributionManagement>
<repository>
<id>andromda-repository</id>
<name>AndroMDA Repository</name>
<url>file:/scratch/hudson/workspace/Andromda/</url>
<uniqueVersion>false</uniqueVersion>
</repository>
<snapshotRepository>
<id>andromda-snapshots</id>
<name>AndroMDA Snapshot Repository</name>
<url>file:/scratch/hudson/workspace/Andromda/</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
<site>
<id>website</id>
<url>file:/scratch/hudson/workspace/Andromda/site/samples/timetracker-ejb3</url>
</site>
</distributionManagement>
</profile>
<profile>
<id>development</id>
<activation>
<property>
<name>env</name>
<value>dev</value>
</property>
</activation>
<properties>
<jdbc.driver.jar></jdbc.driver.jar>
<jdbc.driver></jdbc.driver>
<jdbc.url></jdbc.url>
<jdbc.username></jdbc.username>
<jdbc.password></jdbc.password>
<jdbc.exception.sorter></jdbc.exception.sorter>
</properties>
</profile>
<profile>
<id>validation</id>
<activation>
<property>
<name>env</name>
<value>val</value>
</property>
</activation>
<properties>
<jdbc.driver.jar></jdbc.driver.jar>
<jdbc.driver></jdbc.driver>
<jdbc.url></jdbc.url>
<jdbc.username></jdbc.username>
<jdbc.password></jdbc.password>
<jdbc.exception.sorter></jdbc.exception.sorter>
</properties>
</profile>
<profile>
<id>production</id>
<activation>
<property>
<name>env</name>
<value>prod</value>
</property>
</activation>
<properties>
<jdbc.driver.jar></jdbc.driver.jar>
<jdbc.driver></jdbc.driver>
<jdbc.url></jdbc.url>
<jdbc.username></jdbc.username>
<jdbc.password></jdbc.password>
<jdbc.exception.sorter></jdbc.exception.sorter>
</properties>
</profile>
<!-- Only needed when signing release artifacts -->
<profile>
<id>gpg-andromda</id>
<build>
<plugins>
<plugin>
<inherited>true</inherited>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--Profile configuration for server builds-->
<id>sonatype</id>
<distributionManagement>
<repository>
<id>andromda-releases</id>
<name>Andromda Staging Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
<uniqueVersion>false</uniqueVersion>
</repository>
<snapshotRepository>
<id>andromda-snapshots</id>
<name>Andromda Snapshot Repository</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
<site>
<id>website</id>
<url>file:/scratch/hudson/workspace/Andromda/site/timetracker-ejb3</url>
</site>
</distributionManagement>
</profile>
<!-- Create/install javadoc and test-javadoc jars during the build. Run as part of deploy process -->
<profile>
<id>javadocs</id>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</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>
</profiles>
<repositories>
<!--repository>
<id>sonatype</id>
<name>Sonatype AndroMDA Repository</name>
<url>http://oss.sonatype.org/content/groups/public</url>
</repository-->
<repository>
<id>jboss-public</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
</repository>
</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>2.8.1</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>
<link>http://docs.jboss.org/hibernate/stable/core/api</link>
<link>http://static.springsource.org/spring/docs/3.0.x/javadoc-api</link>
<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://www.junit.org/junit/javadoc/</link>
<link>http://logging.apache.org/log4j/docs/api/</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.3</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>