| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| 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. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <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.geronimo.plugins</groupId> |
| <artifactId>plugins</artifactId> |
| <version>2.1.5</version> |
| </parent> |
| |
| <groupId>org.apache.geronimo.configs</groupId> |
| <artifactId>sharedlib</artifactId> |
| <name>Geronimo Plugins, Shared Library</name> |
| <description>Shared Library GBean</description> |
| <packaging>car</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>geronimo-gbean-deployer</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>rmi-naming</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- workaround to get empty directories included in car file --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <mkdir dir="${project.build.outputDirectory}" /> |
| <copy todir="${project.build.outputDirectory}"> |
| <fileset dir="src/main/resources"> |
| <include name="**" /> |
| </fileset> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.geronimo.buildsupport</groupId> |
| <artifactId>car-maven-plugin</artifactId> |
| <configuration> |
| <category>Shared</category> |
| <useMavenDependencies> |
| <value>true</value> |
| <includeVersion>true</includeVersion> |
| </useMavenDependencies> |
| <instance> |
| <plugin-artifact> |
| <copy-file relative-to="server" dest-dir="var">shared</copy-file> |
| </plugin-artifact> |
| </instance> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |