source: vlo/branches/vlo-2.13-param/vlo_web_app/pom.xml @ 2668

Last change on this file since 2668 was 2668, checked in by keeloo, 11 years ago

Cleaned up packaging. Ready to start tests on server

File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" 
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
5>
6   
7    <modelVersion>4.0.0</modelVersion>
8   
9    <parent>
10        <artifactId>vlo_parent</artifactId>
11        <groupId>eu.clarin.cmdi</groupId>
12        <version>2.13</version>
13    </parent>
14
15    <groupId>mpi</groupId>
16   
17    <artifactId>vlo_web_app</artifactId>
18   
19    <version>2.13</version>
20   
21    <packaging>war</packaging>
22
23    <name>vlo_web_app</name>
24
25    <properties>
26        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
27        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28    </properties>
29
30    <dependencies>
31        <dependency>
32            <groupId>org.mortbay.jetty</groupId>
33            <artifactId>jetty</artifactId>
34            <version>6.1.4</version>
35            <scope>test</scope>
36        </dependency>
37        <dependency>
38            <groupId>eu.clarin.cmdi</groupId>
39            <artifactId>vlo</artifactId>
40            <version>2.13</version>
41            <type>jar</type>
42        </dependency>
43        <dependency>
44            <groupId>javax</groupId>
45            <artifactId>javaee-web-api</artifactId>
46            <version>6.0</version>
47            <scope>provided</scope>
48        </dependency>
49    </dependencies>
50
51    <build>
52        <!-- added by kj, need to check this -->
53        <resources>
54            <resource>
55                <directory>src/main/java</directory>
56                <excludes>
57                    <exclude>**/*.java</exclude> <!-- java not needed in the source -->
58                </excludes>
59            </resource>
60        </resources>
61
62        <plugins>
63            <plugin>
64                <groupId>org.apache.maven.plugins</groupId>
65                <artifactId>maven-compiler-plugin</artifactId>
66                <version>2.3.2</version>
67                <configuration>
68                    <source>1.6</source>
69                    <target>1.6</target>
70                    <compilerArguments>
71                        <endorseddirs>${endorsed.dir}</endorseddirs>
72                    </compilerArguments>
73                </configuration>
74            </plugin>
75           
76            <plugin>
77                <groupId>org.apache.maven.plugins</groupId>
78                <artifactId>maven-war-plugin</artifactId>
79                <version>2.1.1</version>
80                <configuration>
81                    <failOnMissingWebXml>false</failOnMissingWebXml>
82                </configuration>
83            </plugin>
84           
85            <plugin>
86                <groupId>org.apache.maven.plugins</groupId>
87                <artifactId>maven-dependency-plugin</artifactId>
88                <version>2.1</version>
89                <executions>
90                    <execution>
91                        <phase>validate</phase>
92                        <goals>
93                            <goal>copy</goal>
94                        </goals>
95                        <configuration>
96                            <outputDirectory>${endorsed.dir}</outputDirectory>
97                            <silent>true</silent>
98                            <artifactItems>
99                                <artifactItem>
100                                    <groupId>javax</groupId>
101                                    <artifactId>javaee-endorsed-api</artifactId>
102                                    <version>6.0</version>
103                                    <type>jar</type>
104                                </artifactItem>
105                            </artifactItems>
106                        </configuration>
107                    </execution>
108                </executions>
109            </plugin>
110           
111            <plugin>
112                <artifactId>maven-assembly-plugin</artifactId>
113                <version>2.3</version>
114                <configuration>
115                    <descriptors>
116                        <descriptor>src/main/assembly/buildwar.xml</descriptor>
117                    </descriptors>
118                </configuration>
119                <executions>
120                    <execution>
121                        <id>make-assemblyJ</id>
122                        <phase>package</phase>
123                        <goals>
124                            <goal>single</goal>
125                        </goals>
126                    </execution>
127                </executions>
128            </plugin>
129        </plugins>
130       
131    </build>
132</project>
Note: See TracBrowser for help on using the repository browser.