source: vlo/branches/to-wicket-1.6/vlo_web_app/pom.xml @ 4220

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

Merged twagoo branch of to-wicket-1.6 back to original, removed this branch

File size: 8.3 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>javax</groupId>
57            <artifactId>javaee-web-api</artifactId>
58            <version>6.0</version>
59            <scope>provided</scope>
60        </dependency>
61        <dependency>
62            <groupId>junit</groupId>
63            <artifactId>junit</artifactId>
64            <version>4.10</version>
65            <scope>test</scope>
66            <type>jar</type>
67        </dependency>
68
69    </dependencies>
70
71    <build>
72        <resources>
73            <resource>
74                <directory>src/main/java</directory>
75                <excludes>
76                    <!-- Exclude java source files because they are not needed
77                    in the archive. -->
78                    <exclude>**/*.java</exclude>
79                </excludes>
80            </resource>
81            <resource>
82                <!-- Include vlo importer resources in the WEB-INF/classes
83                     directory. Including a source is not the same thing as
84                     depending on it. When you depend on a source, it only needs
85                     to be in the location specified, it
86                     will not be included however.
87                -->
88                <directory>../vlo_importer/src/main/resources</directory>
89                <includes>
90                    <include>cmdi2xhtml.xsl</include>
91                </includes>                   
92            </resource>
93        </resources>
94
95        <plugins>
96            <plugin>
97                <groupId>org.apache.maven.plugins</groupId>
98                <artifactId>maven-compiler-plugin</artifactId>
99                <version>2.3.2</version>
100                <configuration>
101                    <source>1.6</source>
102                    <target>1.6</target>
103                    <compilerArguments>
104                        <endorseddirs>${endorsed.dir}</endorseddirs>
105                    </compilerArguments>
106                </configuration>
107            </plugin>
108           
109            <plugin>
110                <!-- Add the remote resources plugin to let de web application
111                     depend on the cmdi2xhtml.xml file from the vlo_importer
112                     module. For more information on this plugin, please refer
113                     the Apache Maven Project website
114                -->
115                <groupId>org.apache.maven.plugins</groupId>
116                <artifactId>maven-remote-resources-plugin</artifactId>
117                <version>1.4</version>
118                <configuration>
119                    <resourceBundles>
120                        <resourceBundle>eu.clarin.cmdi:vlo_importer:${project.version}</resourceBundle>
121                    </resourceBundles>
122                </configuration>
123                <executions>
124                    <execution>
125                        <goals>
126                            <goal>process</goal>
127                        </goals>
128                    </execution>
129                </executions>
130            </plugin>
131
132            <plugin>
133                <groupId>org.apache.maven.plugins</groupId>
134                <artifactId>maven-war-plugin</artifactId>
135                <version>2.1.1</version>
136                <configuration>
137                    <failOnMissingWebXml>false</failOnMissingWebXml>
138                   
139                    <!-- Add the cmdi2xhtml file from the vlo_importer module
140                         to the web application archive file. Please note that
141                         because of this the archive the file it is in will be
142                         included in its entirety. Please note that the file
143                         will not show up in the web application module in the
144                         Netbeans IDE.
145                    -->
146                   
147                    <srcFiles>
148                        <srcFile>${project.build.directory}/src/main/resources/cmdi2xhtml.xsl</srcFile>
149                    </srcFiles>
150                </configuration>
151            </plugin>
152           
153            <plugin>
154                <groupId>org.apache.maven.plugins</groupId>
155                <artifactId>maven-dependency-plugin</artifactId>
156                <version>2.1</version>
157                <executions>
158                    <execution>
159                        <phase>validate</phase>
160                        <goals>
161                            <goal>copy</goal>
162                        </goals>
163                        <configuration>
164                            <outputDirectory>${endorsed.dir}</outputDirectory>
165                            <silent>true</silent>
166                            <artifactItems>
167                                <artifactItem>
168                                    <groupId>javax</groupId>
169                                    <artifactId>javaee-endorsed-api</artifactId>
170                                    <version>6.0</version>
171                                    <type>jar</type>
172                                </artifactItem>
173                            </artifactItems>
174                        </configuration>
175                    </execution>
176                </executions>
177            </plugin>
178           
179            <plugin>
180                <artifactId>maven-assembly-plugin</artifactId>
181                <version>2.3</version>
182                <configuration>
183                    <descriptors>
184                        <descriptor>src/main/assembly/buildwar.xml</descriptor>
185                    </descriptors>
186                </configuration>
187                <executions>
188                    <execution>
189                        <id>make-assemblyJ</id>
190                        <phase>package</phase>
191                        <goals>
192                            <goal>single</goal>
193                        </goals>
194                    </execution>
195                </executions>
196            </plugin>
197        </plugins>
198       
199    </build>
200   
201    <reporting>
202        <plugins>
203            <plugin>
204                <groupId>org.codehaus.mojo</groupId>
205                <artifactId>cobertura-maven-plugin</artifactId>
206                <version>2.6</version>
207            </plugin>
208        </plugins>
209    </reporting>
210   
211    <repositories>
212        <repository>
213            <id>MPI</id>
214            <name>MPI LAT Repository</name>
215            <url>http://lux15.mpi.nl/nexus/content/groups/public</url>
216        </repository>
217        <repository>
218            <id>55Minutes_wicket</id>
219            <name>55Minutes opensource wicket extensions</name>
220            <url>http://opensource.55minutes.com/maven/</url>
221        </repository>
222    </repositories>
223</project>
Note: See TracBrowser for help on using the repository browser.