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

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

Repaired packaging. Still need to check the contents of the new
package, compare it with the old one, and test both the web
application and the importer by installing them outside the Netbeans
environment.

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