<?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.samples.dgoat</groupId> | |
<artifactId>dgoat</artifactId> | |
<version>0.3-SNAPSHOT</version> | |
</parent> | |
<artifactId>org.apache.aries.samples.dgoat.web</artifactId> | |
<name>Apache Aries GOAT web bundle </name> | |
<packaging>bundle</packaging> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse</groupId> | |
<artifactId>osgi</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>javax.servlet</artifactId> | |
<version>1.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.directwebremoting</groupId> | |
<artifactId>dwr</artifactId> | |
<version>3.0.0.109.dev-SNAPSHOT</version> | |
<scope>provided</scope> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.aries.application</groupId> | |
<artifactId>org.apache.aries.application.utils</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.aries.samples.dgoat</groupId> | |
<artifactId>org.apache.aries.samples.dgoat.api</artifactId> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>unpack dojo</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>unpack</goal> | |
</goals> | |
<configuration> | |
<artifactItems> | |
<artifactItem> | |
<groupId>org.dojotoolkit</groupId> | |
<artifactId>dojo</artifactId> | |
<version>1.4.2</version> | |
<type>zip</type> | |
</artifactItem> | |
</artifactItems> | |
<outputDirectory>${project.build.directory}/dojo</outputDirectory> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<configuration> | |
<instructions> | |
<Bundle-ClassPath>.,WEB-INF/lib</Bundle-ClassPath> | |
<Include-Resource>{maven-resources},target/dojo/dojo-1.4.2</Include-Resource> | |
<Web-ContextPath>/</Web-ContextPath> | |
<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> | |
<Private-Package>org.apache.aries.samples.goat.web.*</Private-Package> | |
<Import-Package> | |
org.apache.aries.samples.goat.info, | |
javax.imageio, | |
javax.jms;resolution:=optional, | |
javax.servlet, | |
javax.servlet.http, | |
javax.sql, | |
javax.swing.event, | |
javax.xml.parsers, | |
javax.xml.transform, | |
javax.xml.transform.dom, | |
javax.xml.transform.stream, | |
org.w3c.dom, | |
org.xml.sax, | |
net.sf.hibernate;resolution:=optional, | |
nu.xom;resolution:=optional, | |
org.aopalliance.intercept;resolution:=optional, | |
org.apache.bsf;resolution:=optional, | |
org.apache.catalina;resolution:=optional, | |
org.apache.commons.fileupload;resolution:=optional, | |
org.apache.commons.fileupload.disk;resolution:=optional, | |
org.apache.commons.fileupload.servlet;resolution:=optional, | |
org.apache.commons.logging;resolution:=optional, | |
org.apache.struts.action;resolution:=optional, | |
org.apache.struts.config;resolution:=optional, | |
org.apache.struts.util;resolution:=optional, | |
org.apache.xmlbeans;resolution:=optional, | |
org.dom4j*;resolution:=optional, | |
org.hibernate*;resolution:=optional, | |
org.jdom*;resolution:=optional, | |
org.mortbay*;resolution:=optional, | |
org.mozilla*;resolution:=optional, | |
org.springframework*;resolution:=optional, | |
com.google.inject*;resolution:=optional, | |
com.yahoo.platform.yui.compressor;resolution:=optional, | |
dojox.cometd;resolution:=optional, | |
* | |
</Import-Package> | |
<Embed-Dependency>dwr</Embed-Dependency> | |
<Embed-Directory>WEB-INF/lib</Embed-Directory> | |
</instructions> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<repositories> | |
<repository> | |
<id>dwr-snapshots</id> | |
<name>DWR SNAPSHOT Repository</name> | |
<url>http://download.directwebremoting.org/maven2-snapshot/</url> | |
</repository> | |
</repositories> | |
</project> |