| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.aries</groupId> |
| <artifactId>parent</artifactId> |
| <version>2.0.1</version> |
| <relativePath>../../parent/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.sample.war</artifactId> |
| <name>Apache Aries Blueprint WAR Sample</name> |
| <packaging>war</packaging> |
| <version>1.0.1-SNAPSHOT</version> |
| <description> |
| Example blueprint web application using blueprint-noosgi, mostly used for integration tests. |
| </description> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/aries/trunk/blueprint/blueprint-sample-war</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/aries/trunk/blueprint/blueprint-sample-war</developerConnection> |
| <url>http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-sample-war</url> |
| </scm> |
| |
| <properties> |
| <context>/</context> |
| <httpPort>8080</httpPort> |
| <blueprint.web.version>1.0.0</blueprint.web.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| <version>1.2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.web</artifactId> |
| <version>${blueprint.web.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>8.1.8.v20121106</version> |
| <configuration> |
| <scanIntervalSeconds>1</scanIntervalSeconds> |
| <useTestScope>true</useTestScope> |
| <webAppConfig> |
| <contextPath>${context}</contextPath> |
| </webAppConfig> |
| <connectors> |
| <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> |
| <port>${httpPort}</port> |
| <maxIdleTime>60000</maxIdleTime> |
| </connector> |
| </connectors> |
| <systemProperties> |
| <systemProperty> |
| <key>foo</key> |
| <value>bar</value> |
| </systemProperty> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <version>2.0</version> |
| <configuration> |
| <port>${httpPort}</port> |
| <path>${context}</path> |
| <systemProperties> |
| </systemProperties> |
| <useTestClasspath>false</useTestClasspath> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat6-maven-plugin</artifactId> |
| <version>2.0</version> |
| <configuration> |
| <port>${httpPort}</port> |
| <path>${context}</path> |
| <systemProperties> |
| </systemProperties> |
| <useTestClasspath>false</useTestClasspath> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <webResources> |
| <resource> |
| <!-- this is relative to the pom.xml directory --> |
| <directory>target/maven-shared-archive-resources</directory> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |