| <?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.karaf</groupId> |
| <artifactId>webconsole</artifactId> |
| <version>0.3.0-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>org.apache.karaf.webconsole</groupId> |
| <artifactId>org.apache.karaf.webconsole.web</artifactId> |
| <name>Apache Karaf :: WebConsole :: Web Support</name> |
| <packaging>war</packaging> |
| |
| <properties> |
| <bundlesDirectory>${project.build.directory}/bundles</bundlesDirectory> |
| <slf4j.version>1.6.1</slf4j.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.karaf.webconsole</groupId> |
| <artifactId>org.apache.karaf.webconsole.core</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.http.bridge</artifactId> |
| <version>2.2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <version>4.0.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.http.proxy</artifactId> |
| <version>2.2.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.wicket</groupId> |
| <artifactId>pax-wicket-service</artifactId> |
| <version>0.8.0-SNAPSHOT</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.logging</groupId> |
| <artifactId>pax-logging-api</artifactId> |
| <version>1.6.4</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.logging</groupId> |
| <artifactId>pax-logging-service</artifactId> |
| <version>1.6.4</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.configadmin</artifactId> |
| <version>1.2.8</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.prefs</artifactId> |
| <version>1.0.4</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.aries.proxy</groupId> |
| <artifactId>org.apache.aries.proxy.impl</artifactId> |
| <version>0.3</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-bundles</id> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <excludeGroupIds>org.apache.wicket,org.springframework.osgi,aopalliance,commons-logging,org.apache.geronimo.specs,org.osgi,org.apache.aries.testsupport</excludeGroupIds> |
| <excludeArtifactIds>servlet-api,org.apache.felix.http.api,org.apache.felix.http.base,org.apache.karaf.util,org.osgi.core,javax.servlet,org.osgi.foundation,log4j,commons-codec</excludeArtifactIds> |
| <includeScope>provided</includeScope> |
| <outputDirectory>${bundlesDirectory}</outputDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <packagingExcludes>WEB-INF/servlet-api*.jar,WEB-INF/org.osgi.core-*.jar</packagingExcludes> |
| <webResources> |
| <resource> |
| <directory>${bundlesDirectory}</directory> |
| <targetPath>WEB-INF/bundles</targetPath> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>7.5.4.v20111024</version> |
| <configuration> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| <webAppConfig> |
| <contextPath>/</contextPath> |
| </webAppConfig> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |