source: vlo/trunk/vlo_web_app/pom.xml @ 2768

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

Integrated parameter branche into trunk again

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