timetracker-app
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.andromda.timetracker</groupId>
<artifactId>timetracker-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</artifactId>
<version>3.4</version>
</parent>
<artifactId>timetracker-app</artifactId>
<packaging>ear</packaging>
<name>TimeTracker Application</name>
<dependencies>
<!-- jar dependencies not needed if not using EJBs -->
<!--dependency>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-core</artifactId>
<version>${project.version}</version>
<type>ejb</type>
</dependency-->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-web</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
<!--dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>provided</scope>
</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>
<generateApplicationXml>true</generateApplicationXml>
<includeJar>false</includeJar>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<includes>**/*.xml</includes>
<excludes>**/jboss-app.xml</excludes>
<version>6</version>
<modules>
<!--jarModule>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-common</artifactId>
<includeInApplicationXml>false</includeInApplicationXml>
</jarModule>
<ejbModule>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-core</artifactId>
</ejbModule-->
<webModule>
<groupId>${project.groupId}</groupId>
<artifactId>timetracker-web</artifactId>
<contextRoot>/${application.id}</contextRoot>
</webModule>
</modules>
<jboss>
<version>5</version>
<loader-repository>org.andromda.timetracker:loader=${project.build.finalName}</loader-repository>
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</jboss>
</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>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</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>