source: vlo/tags/vlo-2.18/vlo_web_app/pom.xml @ 4457

Last change on this file since 4457 was 4457, checked in by twagoo, 10 years ago

tagged 2.18 stable release

File size: 8.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<project xmlns="http://maven.apache.org/POM/4.0.0" 
4         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
5         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
6>
7   
8    <modelVersion>4.0.0</modelVersion>
9
10    <groupId>eu.clarin.cmdi</groupId>
11   
12    <artifactId>vlo_web_app</artifactId>
13   
14    <version>2.18</version>
15   
16    <packaging>war</packaging>
17
18    <name>vlo_web_app</name>
19
20    <properties>
21        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
22        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23    </properties>
24
25    <dependencies>
26        <dependency>
27            <groupId>org.apache.wicket</groupId>
28            <artifactId>wicket-extensions</artifactId>
29            <version>6.12.0</version>
30            <type>jar</type>
31        </dependency>
32        <dependency>
33            <groupId>com.55minutes</groupId>
34            <artifactId>fiftyfive-wicket-core</artifactId>
35            <version>4.0</version>
36            <exclusions>
37                <exclusion>
38                    <artifactId>wicket</artifactId>
39                    <groupId>org.apache.wicket</groupId>
40                </exclusion>
41            </exclusions>
42        </dependency>
43        <dependency>
44            <groupId>org.mortbay.jetty</groupId>
45            <artifactId>jetty</artifactId>
46            <version>6.1.4</version>
47            <scope>test</scope>
48        </dependency>
49        <dependency>
50            <groupId>eu.clarin.cmdi</groupId>
51            <artifactId>vlo_importer</artifactId>
52            <version>2.18</version>
53            <type>jar</type>
54        </dependency>
55        <dependency>
56            <groupId>org.apache.wicket</groupId>
57            <artifactId>wicket-request</artifactId>
58            <version>6.12.0</version>
59            <type>jar</type>
60        </dependency>
61        <dependency>
62            <groupId>javax</groupId>
63            <artifactId>javaee-web-api</artifactId>
64            <version>6.0</version>
65            <scope>provided</scope>
66        </dependency>
67        <dependency>
68            <groupId>junit</groupId>
69            <artifactId>junit</artifactId>
70            <version>4.10</version>
71            <scope>test</scope>
72            <type>jar</type>
73        </dependency>
74
75    </dependencies>
76
77    <build>
78        <resources>
79            <resource>
80                <directory>src/main/java</directory>
81                <excludes>
82                    <!-- Exclude java source files because they are not needed
83                    in the archive. -->
84                    <exclude>**/*.java</exclude>
85                </excludes>
86            </resource>
87            <resource>
88                <directory>src/main/resources</directory>
89                <filtering>true</filtering>
90            </resource>
91        </resources>
92
93        <plugins>
94            <plugin>
95                <groupId>org.apache.maven.plugins</groupId>
96                <artifactId>maven-compiler-plugin</artifactId>
97                <version>2.3.2</version>
98                <configuration>
99                    <source>1.6</source>
100                    <target>1.6</target>
101                    <compilerArguments>
102                        <endorseddirs>${endorsed.dir}</endorseddirs>
103                    </compilerArguments>
104                </configuration>
105            </plugin>
106           
107            <plugin>
108                <!-- Add the remote resources plugin to let de web application
109                     depend on the cmdi2xhtml.xml file from the vlo_importer
110                     module. For more information on this plugin, please refer
111                     the Apache Maven Project website
112                -->
113                <groupId>org.apache.maven.plugins</groupId>
114                <artifactId>maven-remote-resources-plugin</artifactId>
115                <version>1.4</version>
116                <configuration>
117                    <resourceBundles>
118                        <resourceBundle>eu.clarin.cmdi:vlo_importer:${project.version}</resourceBundle>
119                    </resourceBundles>
120                </configuration>
121                <executions>
122                    <execution>
123                        <goals>
124                            <goal>process</goal>
125                        </goals>
126                    </execution>
127                </executions>
128            </plugin>
129
130            <plugin>
131                <groupId>org.apache.maven.plugins</groupId>
132                <artifactId>maven-war-plugin</artifactId>
133                <version>2.1.1</version>
134                <configuration>
135                    <failOnMissingWebXml>false</failOnMissingWebXml>
136                   
137                    <!-- Add the cmdi2xhtml file from the vlo_importer module
138                         to the web application archive file. Please note that
139                         because of this the archive the file it is in will be
140                         included in its entirety. Please note that the file
141                         will not show up in the web application module in the
142                         Netbeans IDE.
143                    -->
144                   
145                    <srcFiles>
146                        <srcFile>${project.build.directory}/src/main/resources/cmdi2xhtml.xsl</srcFile>
147                    </srcFiles>
148                </configuration>
149            </plugin>
150           
151            <plugin>
152                <groupId>org.apache.maven.plugins</groupId>
153                <artifactId>maven-dependency-plugin</artifactId>
154                <version>2.1</version>
155                <executions>
156                    <execution>
157                        <phase>validate</phase>
158                        <goals>
159                            <goal>copy</goal>
160                        </goals>
161                        <configuration>
162                            <outputDirectory>${endorsed.dir}</outputDirectory>
163                            <silent>true</silent>
164                            <artifactItems>
165                                <artifactItem>
166                                    <groupId>javax</groupId>
167                                    <artifactId>javaee-endorsed-api</artifactId>
168                                    <version>6.0</version>
169                                    <type>jar</type>
170                                </artifactItem>
171                            </artifactItems>
172                        </configuration>
173                    </execution>
174                </executions>
175            </plugin>
176           
177            <plugin>
178                <artifactId>maven-assembly-plugin</artifactId>
179                <version>2.3</version>
180                <configuration>
181                    <descriptors>
182                        <descriptor>src/main/assembly/buildwar.xml</descriptor>
183                    </descriptors>
184                </configuration>
185                <executions>
186                    <execution>
187                        <id>make-assemblyJ</id>
188                        <phase>package</phase>
189                        <goals>
190                            <goal>single</goal>
191                        </goals>
192                    </execution>
193                </executions>
194            </plugin>
195        </plugins>
196       
197    </build>
198   
199    <reporting>
200        <plugins>
201            <plugin>
202                <groupId>org.codehaus.mojo</groupId>
203                <artifactId>cobertura-maven-plugin</artifactId>
204                <version>2.6</version>
205            </plugin>
206        </plugins>
207    </reporting>
208   
209    <repositories>
210        <repository>
211            <id>MPI</id>
212            <name>MPI LAT Repository</name>
213            <url>http://lux15.mpi.nl/nexus/content/groups/public</url>
214        </repository>
215        <repository>
216            <id>55Minutes_wicket</id>
217            <name>55Minutes opensource wicket extensions</name>
218            <url>http://opensource.55minutes.com/maven/</url>
219        </repository>
220    </repositories>
221</project>
Note: See TracBrowser for help on using the repository browser.