1 | <?xml version="1.0"?>
|
---|
2 | <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">
|
---|
3 | <modelVersion>4.0.0</modelVersion>
|
---|
4 | <parent>
|
---|
5 | <groupId>gov.va.med.edp</groupId>
|
---|
6 | <artifactId>edis-tracking-parent</artifactId>
|
---|
7 | <version>1.0-T29-SNAPSHOT</version>
|
---|
8 | <relativePath>../tracking-parent</relativePath>
|
---|
9 | </parent>
|
---|
10 | <groupId>gov.va.med.edp</groupId>
|
---|
11 | <artifactId>edis-tracking-server-bigboard</artifactId>
|
---|
12 | <packaging>war</packaging>
|
---|
13 | <name>EDIS Tracking Server Big Board</name>
|
---|
14 | <version>1.0-T29-SNAPSHOT</version>
|
---|
15 | <description>Emergency Department Integration Software - Tracking Server Big Board</description>
|
---|
16 | <dependencies>
|
---|
17 | <dependency>
|
---|
18 | <groupId>gov.va.med.edp</groupId>
|
---|
19 | <artifactId>edis-tracking-ui-bigboard</artifactId>
|
---|
20 | <version>${project.version}</version>
|
---|
21 | <type>swf</type>
|
---|
22 | <scope>runtime</scope>
|
---|
23 | </dependency>
|
---|
24 | <dependency>
|
---|
25 | <groupId>gov.va.med.edp</groupId>
|
---|
26 | <artifactId>edis-tracking-server-core</artifactId>
|
---|
27 | <version>${project.version}</version>
|
---|
28 | </dependency>
|
---|
29 | <dependency>
|
---|
30 | <groupId>javax.servlet</groupId>
|
---|
31 | <artifactId>jstl</artifactId>
|
---|
32 | <version>1.0.6</version>
|
---|
33 | </dependency>
|
---|
34 | <dependency>
|
---|
35 | <groupId>taglibs</groupId>
|
---|
36 | <artifactId>standard</artifactId>
|
---|
37 | <version>1.0.6</version>
|
---|
38 | </dependency>
|
---|
39 | <dependency>
|
---|
40 | <groupId>junit</groupId>
|
---|
41 | <artifactId>junit</artifactId>
|
---|
42 | <version>3.8.1</version>
|
---|
43 | <scope>test</scope>
|
---|
44 | </dependency>
|
---|
45 | </dependencies>
|
---|
46 | <build>
|
---|
47 | <finalName>${edis.tracking.boardContextRoot}</finalName>
|
---|
48 | <resources>
|
---|
49 | <resource>
|
---|
50 | <directory>src/main/resources</directory>
|
---|
51 | <filtering>true</filtering>
|
---|
52 | </resource>
|
---|
53 | </resources>
|
---|
54 | <plugins>
|
---|
55 | <plugin>
|
---|
56 | <groupId>org.apache.maven.plugins</groupId>
|
---|
57 | <artifactId>maven-war-plugin</artifactId>
|
---|
58 | <configuration>
|
---|
59 | <webResources>
|
---|
60 | <resource>
|
---|
61 | <directory>src/main/webapp/WEB-INF</directory>
|
---|
62 | <includes>
|
---|
63 | <include>weblogic.xml</include>
|
---|
64 | </includes>
|
---|
65 | <filtering>true</filtering>
|
---|
66 | <targetPath>WEB-INF</targetPath>
|
---|
67 | </resource>
|
---|
68 | <resource>
|
---|
69 | <directory>${edis.tracking.build.swf.directory}</directory>
|
---|
70 | <targetPath>/</targetPath>
|
---|
71 | <filtering>false</filtering>
|
---|
72 | <includes>
|
---|
73 | <include>*.swf</include>
|
---|
74 | </includes>
|
---|
75 | </resource>
|
---|
76 | </webResources>
|
---|
77 | </configuration>
|
---|
78 | </plugin>
|
---|
79 | <plugin>
|
---|
80 | <artifactId>maven-antrun-plugin</artifactId>
|
---|
81 | <executions>
|
---|
82 | <execution>
|
---|
83 | <phase>process-resources</phase>
|
---|
84 | <configuration>
|
---|
85 | <tasks>
|
---|
86 | <tstamp>
|
---|
87 | <format property="timestamp" pattern="yyyy/MM/dd HH:mm:ss z"/>
|
---|
88 | </tstamp>
|
---|
89 | <replaceregexp byline="true">
|
---|
90 | <regexp pattern="app.buildtime=BUILD_TIME_PLACEHOLDER"/>
|
---|
91 | <substitution expression="app.buildtime=${timestamp}"/>
|
---|
92 | <fileset dir="target" includes="**/*.properties"/>
|
---|
93 | </replaceregexp>
|
---|
94 | </tasks>
|
---|
95 | </configuration>
|
---|
96 | <goals>
|
---|
97 | <goal>run</goal>
|
---|
98 | </goals>
|
---|
99 | </execution>
|
---|
100 | </executions>
|
---|
101 | <dependencies>
|
---|
102 | <dependency>
|
---|
103 | <groupId>ant</groupId>
|
---|
104 | <artifactId>ant-nodeps</artifactId>
|
---|
105 | <version>1.6.5</version>
|
---|
106 | </dependency>
|
---|
107 | </dependencies>
|
---|
108 | </plugin>
|
---|
109 | <plugin>
|
---|
110 | <groupId>org.apache.maven.plugins</groupId>
|
---|
111 | <artifactId>maven-dependency-plugin</artifactId>
|
---|
112 | <version>2.0</version>
|
---|
113 | <executions>
|
---|
114 | <execution>
|
---|
115 | <id>include-latest-client-version</id>
|
---|
116 | <phase>generate-resources</phase>
|
---|
117 | <goals>
|
---|
118 | <goal>copy-dependencies</goal>
|
---|
119 | </goals>
|
---|
120 | <configuration>
|
---|
121 | <includeTypes>swf</includeTypes>
|
---|
122 | <outputDirectory>${edis.tracking.build.swf.directory}</outputDirectory>
|
---|
123 | <overWriteSnapshots>true</overWriteSnapshots>
|
---|
124 | <excludeTransitive>true</excludeTransitive>
|
---|
125 | </configuration>
|
---|
126 | </execution>
|
---|
127 | <execution>
|
---|
128 | <id>include-backwards-compatible-client-versions</id>
|
---|
129 | <phase>generate-resources</phase>
|
---|
130 | <goals>
|
---|
131 | <goal>copy</goal>
|
---|
132 | </goals>
|
---|
133 | <configuration>
|
---|
134 | <artifactItems>
|
---|
135 | <artifactItem>
|
---|
136 | <groupId>${project.groupId}</groupId>
|
---|
137 | <artifactId>edis-tracking-ui-bigboard</artifactId>
|
---|
138 | <version>1.0-T28</version>
|
---|
139 | <type>swf</type>
|
---|
140 | </artifactItem>
|
---|
141 | </artifactItems>
|
---|
142 | <outputDirectory>${edis.tracking.build.swf.directory}</outputDirectory>
|
---|
143 | <overWriteSnapshots>true</overWriteSnapshots>
|
---|
144 | </configuration>
|
---|
145 | </execution>
|
---|
146 | </executions>
|
---|
147 | </plugin>
|
---|
148 | </plugins>
|
---|
149 | </build>
|
---|
150 | <profiles>
|
---|
151 | <profile>
|
---|
152 | <id>dev</id>
|
---|
153 | <build>
|
---|
154 | <plugins>
|
---|
155 | <plugin>
|
---|
156 | <groupId>org.apache.maven.plugins</groupId>
|
---|
157 | <artifactId>maven-war-plugin</artifactId>
|
---|
158 | <configuration>
|
---|
159 | <webResources>
|
---|
160 | <resource>
|
---|
161 | <directory>src/main/webapp-dev/WEB-INF</directory>
|
---|
162 | <includes>
|
---|
163 | <include>web.xml</include>
|
---|
164 | </includes>
|
---|
165 | <targetPath>WEB-INF</targetPath>
|
---|
166 | </resource>
|
---|
167 | <resource>
|
---|
168 | <directory>src/main/webapp/WEB-INF</directory>
|
---|
169 | <excludes>
|
---|
170 | <exclude>web.xml</exclude>
|
---|
171 | </excludes>
|
---|
172 | </resource>
|
---|
173 | <resource>
|
---|
174 | <directory>src/main/webapp-dev</directory>
|
---|
175 | <includes>
|
---|
176 | <include>BigBoard.jsp</include>
|
---|
177 | </includes>
|
---|
178 | </resource>
|
---|
179 | <resource>
|
---|
180 | <directory>src/main/webapp</directory>
|
---|
181 | <excludes>
|
---|
182 | <exclude>BigBoard.jsp</exclude>
|
---|
183 | </excludes>
|
---|
184 | </resource>
|
---|
185 | <resource>
|
---|
186 | <directory>src/main/webapp/WEB-INF</directory>
|
---|
187 | <includes>
|
---|
188 | <include>weblogic.xml</include>
|
---|
189 | </includes>
|
---|
190 | <filtering>true</filtering>
|
---|
191 | <targetPath>WEB-INF</targetPath>
|
---|
192 | </resource>
|
---|
193 | <resource>
|
---|
194 | <directory>${edis.tracking.build.swf.directory}</directory>
|
---|
195 | <targetPath>/</targetPath>
|
---|
196 | <filtering>false</filtering>
|
---|
197 | <includes>
|
---|
198 | <include>*.swf</include>
|
---|
199 | </includes>
|
---|
200 | </resource>
|
---|
201 | </webResources>
|
---|
202 | </configuration>
|
---|
203 | </plugin>
|
---|
204 | </plugins>
|
---|
205 | </build>
|
---|
206 | </profile>
|
---|
207 | </profiles>
|
---|
208 | <properties>
|
---|
209 | <edis.tracking.build.swf.directory>${project.build.directory}/swf</edis.tracking.build.swf.directory>
|
---|
210 | </properties>
|
---|
211 | </project>
|
---|