| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2005-2006 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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/maven-v4_0_0.xsd"> |
| |
| <parent> |
| <groupId>org.apache.pluto</groupId> |
| <artifactId>pluto</artifactId> |
| <version>1.1.0-SNAPSHOT</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>pluto-portal</artifactId> |
| <packaging>war</packaging> |
| <name>Pluto Portal</name> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.pluto</groupId> |
| <artifactId>pluto-portal-driver</artifactId> |
| <version>${pom.version}</version> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jsp-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.pluto</groupId> |
| <artifactId>pluto-portal-driver-impl</artifactId> |
| <version>${pom.version}</version> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jsp-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <artifactId>junit</artifactId> |
| <groupId>junit</groupId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
|
|
| <dependency>
|
| <groupId>commons-fileupload</groupId>
|
| <artifactId>commons-fileupload</artifactId>
|
| <version>${commons-fileupload.version}</version>
|
| <scope>runtime</scope>
|
| </dependency>
|
|
|
| </dependencies> |
| |
| |
| <build> |
| <finalName>pluto-portal</finalName> |
| |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <configuration> |
| <tasks> |
| <get src="http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.9/bin/jakarta-tomcat-5.5.9.tar.gz" |
| dest="target/tomcat.tar.gz"/> |
| <gunzip src="target/tomcat.tar.gz"/> |
| <untar src="target/tomcat.tar"/> |
| </tasks> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptor>src/assemble/bin.xml</descriptor> |
| <finalName>pluto-portal-${pom.version}</finalName> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <resourcesDirectory>${basedir}/../pluto-site/src/site/resources</resourcesDirectory> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| </build> |
| |
| </project> |
| |
| |