| <?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. |
| --> |
| |
| <!-- $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.framework</groupId> |
| <artifactId>configs</artifactId> |
| <version>2.2</version> |
| </parent> |
| |
| <artifactId>geronimo-boilerplate</artifactId> |
| <packaging>car</packaging> |
| <name>Geronimo Assemblies :: Boilerplate</name> |
| |
| <description> |
| Provides boilerplate files for all Geronimo Server assemblies. |
| </description> |
| |
| <dependencies> |
| <!-- lib/boot Dependencies --> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell</groupId> |
| <artifactId>gshell-bootstrap</artifactId> |
| </dependency> |
| |
| <!-- lib Dependencies --> |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm-commons</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>cglib</groupId> |
| <artifactId>cglib-nodep</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>xpp3</groupId> |
| <artifactId>xpp3_min</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-reflect</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.thoughtworks.xstream</groupId> |
| <artifactId>xstream</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>geronimo-cli</artifactId> |
| <version>${version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>geronimo-kernel</artifactId> |
| <version>${version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>geronimo-deploy-jsr88-bootstrapper</artifactId> |
| <version>${version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>geronimo-transformer</artifactId> |
| <version>${version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>jsr88-deploymentfactory</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>client-system</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>online-deployer</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <!-- lib/endorsed Dependencies --> |
| <dependency> |
| <groupId>org.apache.yoko</groupId> |
| <artifactId>yoko-spec-corba</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.yoko</groupId> |
| <artifactId>yoko-rmi-spec</artifactId> |
| </dependency> |
| |
| <!-- bin Dependencies (executable jars) --> |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>j2ee-system</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>shutdown</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>transformer-agent</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>process-resources</phase> |
| <id>copy-txt-files</id> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <echo>Copying README, and RELEASE_NOTES txt files ${project.basedir}/../.. to underlay - ${project.build.outputDirectory}/contents</echo> |
| <copy todir="${project.build.outputDirectory}/contents" failonerror="true" overwrite="true"> |
| <fileset dir="${project.basedir}/../.."> |
| <include name="README.txt" /> |
| <include name="RELEASE_NOTES-${pom.version}.txt" /> |
| </fileset> |
| <filterset> |
| <filter token="VERSION" value="${pom.version}" /> |
| </filterset> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| |
| <execution> |
| <id>install-underlay</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <mkdir dir="${project.build.outputDirectory}" /> |
| <copy todir="${project.build.outputDirectory}"> |
| <fileset dir="${project.build.directory}/${project.build.finalName}"> |
| <include name="**" /> |
| </fileset> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.geronimo.buildsupport</groupId> |
| <artifactId>car-maven-plugin</artifactId> |
| <configuration> |
| <useMavenDependencies> |
| <value>true</value> |
| <includeVersion>true</includeVersion> |
| </useMavenDependencies> |
| <category>Geronimo Core</category> |
| <instance> |
| <plugin-artifact> |
| <copy-file relative-to="geronimo" dest-dir="">contents/</copy-file> |
| <copy-file relative-to="server" dest-dir="">instance/</copy-file> |
| </plugin-artifact> |
| </instance> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>boilerplate</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>directory-single</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| <appendAssemblyId>false</appendAssemblyId> |
| <descriptors> |
| <descriptor>${project.basedir}/src/main/assembly/boilerplate.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |