timetracker-ejb3-app
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.andromda.timetracker</groupId>
<artifactId>timetracker-ejb3-app</artifactId>
<version>3.4</version>
</dependency><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>
<parent>
<groupId>org.andromda.timetracker</groupId>
<artifactId>timetracker-ejb3</artifactId>
<version>3.4</version>
</parent>
<artifactId>timetracker-ejb3-app</artifactId>
<packaging>ear</packaging>
<name>TimeTracker EJB3 Application</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-ejb3-common</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-ejb3-mda</artifactId>
</exclusion>
<exclusion>
<groupId>org.andromda.profiles.uml14</groupId>
<artifactId>andromda-profile</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-ejb3-core</artifactId>
<version>${project.version}</version>
<type>ejb</type>
<exclusions>
<exclusion>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
</exclusion>
<exclusion>
<groupId>jboss.jboss-embeddable-ejb3</groupId>
<artifactId>hibernate-all</artifactId>
</exclusion>
<exclusion>
<groupId>jboss.jboss-embeddable-ejb3</groupId>
<artifactId>jboss-ejb3-all</artifactId>
</exclusion>
<exclusion>
<groupId>jboss.jboss-embeddable-ejb3</groupId>
<artifactId>thirdparty-all</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-ejb3-web</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${application.id}-${project.version}</finalName>
<resources>
<resource>
<directory>src/main/config</directory>
<targetPath>../</targetPath>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/application</directory>
<targetPath>../${application.id}-${project.version}</targetPath>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-ear-plugin</artifactId>
<version>2.8</version>
<configuration>
<includes>**/*.xml</includes>
<excludes>**/jboss-app.xml</excludes>
<version>5</version>
<ejbVersion>3.0</ejbVersion>
<modules>
<jarModule>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-ejb3-common</artifactId>
<includeInApplicationXml>true</includeInApplicationXml>
</jarModule>
<ejbModule>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-ejb3-core</artifactId>
</ejbModule>
<webModule>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-ejb3-web</artifactId>
<contextRoot>/${application.id}</contextRoot>
</webModule>
</modules>
</configuration>
</plugin>
<plugin>
<groupId>org.andromda.maven.plugins</groupId>
<artifactId>andromdapp-maven-plugin</artifactId>
<version>${andromda.version}</version>
<executions>
<execution>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<deployLocation>${jboss.home}/server/default/deploy</deployLocation>
<!-- include the generated data source file -->
<includes>
<include>*ds.xml</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- This profile here will allow you to specify -Ddeploy=link in order deploy an exploded ear using symbolic links,
this allows you to easily edit things like jsp, xhtml, etc and just build the web module without having
to deploy the ear -->
<profile>
<id>link</id>
<activation>
<property>
<name>deploy</name>
<value>link</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.andromda.maven.plugins</groupId>
<artifactId>andromdapp-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>link</goal>
</goals>
</execution>
</executions>
<configuration>
<deployLocation>${jboss.home}/server/default/deploy</deployLocation>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>