| POM: |
Show
hide
<?xml version="1.0" encoding="UTF-8"?>
<!--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- JOnAS: Java(TM) Open Application Server
- Copyright (C) 2011 Bull S.A.S.
- Contact: jonas-team@ow2.org
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- USA
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- $Id: pom.xml 21879 2011-11-03 09:58:44Z benoitf $
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>jonas-web-container-tomcat-7.0</artifactId>
<groupId>org.ow2.jonas</groupId>
<version>5.3.0-M5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jonas-web-container-tomcat-7.0-core</artifactId>
<packaging>bundle</packaging>
<name>JOnAS :: Services :: Web Container :: Tomcat :: 7.0.x :: Core</name>
<dependencies>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
<version>${tomcat7.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ow2.bundles</groupId>
<artifactId>ow2-util-log</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ow2.bundles</groupId>
<artifactId>ow2-util-ee-metadata-common-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ow2.jonas</groupId>
<artifactId>jonas-security-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina-ha</artifactId>
<version>${tomcat7.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina</artifactId>
<version>${tomcat7.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-coyote</artifactId>
<version>${tomcat7.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-util</artifactId>
<version>${tomcat7.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-api</artifactId>
<version>${tomcat7.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper-el</artifactId>
<version>${tomcat7.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper</artifactId>
<version>${tomcat7.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jdt</groupId>
<artifactId>ecj</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>3.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-tribes</artifactId>
<version>${tomcat7.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-juli</artifactId>
<version>${tomcat7.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.jonas</groupId>
<artifactId>jonas-webservices-jaxws-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.ow2.util.maven</groupId>
<artifactId>maven-jbuilding-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<deploymentPlans>
<deploymentPlan>
<name>web-tomcat7</name>
<artifactItems>
<artifactItem>
<groupId>org.ow2.jonas</groupId>
<artifactId>jonas-web-container-tomcat-7.0-core</artifactId>
<version>${project.version}</version>
<classifier>ipojo</classifier>
</artifactItem>
</artifactItems>
</deploymentPlan>
</deploymentPlans>
</configuration>
<executions>
<execution>
<id>generate-jonas-services-maven2-deployment-plans</id>
<goals>
<goal>generate-maven2-deployment-plans</goal>
</goals>
<phase>pre-integration-test</phase>
<configuration>
<directory>url-internal</directory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina</artifactId>
<version>${tomcat7.version}</version>
<classifier>sources</classifier>
<type>jar</type>
<outputDirectory>${project.build.directory}/tomcat-catalina-sources</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper</artifactId>
<version>${tomcat7.version}</version>
<classifier>sources</classifier>
<type>jar</type>
<outputDirectory>${project.build.directory}/tomcat-catalina-sources</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<fixcrlf srcdir="${project.build.directory}/tomcat-catalina-sources/org/apache/catalina/connector" includes="**/*.java" eof="remove" />
<fixcrlf srcdir="${project.build.directory}/tomcat-catalina-sources/org/apache/jasper/compiler" includes="**/*.java" eof="remove" />
<patch patchfile="src/main/patches/Response.patch" dir="${project.build.directory}/tomcat-catalina-sources/org/apache/catalina/connector" failonerror="true" />
<patch patchfile="src/main/patches/TagLibraryInfoImpl.patch" dir="${project.build.directory}/tomcat-catalina-sources/org/apache/jasper/compiler" failonerror="true" />
<delete dir="${project.build.directory}/generated-sources/tomcat7" />
<mkdir dir="${project.build.directory}/generated-sources/tomcat7/org/apache/catalina/connector" />
<mkdir dir="${project.build.directory}/generated-sources/tomcat7/org/apache/jasper/compiler" />
<copy file="${project.build.directory}/tomcat-catalina-sources/org/apache/catalina/connector/Response.java" todir="${project.build.directory}/generated-sources/tomcat7/org/apache/catalina/connector" />
<copy file="${project.build.directory}/tomcat-catalina-sources/org/apache/jasper/compiler/TagLibraryInfoImpl.java" todir="${project.build.directory}/generated-sources/tomcat7/org/apache/jasper/compiler" />
<delete dir="${project.build.directory}/tomcat-catalina-sources" />
<delete dir="${project.build.directory}/dependency-maven-plugin-markers" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/tomcat7</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>attach-properties</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classesDirectory>src/main/properties</classesDirectory>
<outputDirectory>${project.build.directory}</outputDirectory>
<classifier>properties</classifier>
<excludes>
<exclude>**/.svn/**</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>attach-config</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classesDirectory>src/main/jonas-resources/conf</classesDirectory>
<outputDirectory>${project.build.directory}</outputDirectory>
<classifier>config</classifier>
<excludes>
<exclude>**/.svn/**</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>attach-deployment-plan</id>
<phase>integration-test</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classesDirectory>${project.build.directory}/configuration-resources/url-internal</classesDirectory>
<outputDirectory>${project.build.directory}</outputDirectory>
<classifier>deployment-plan</classifier>
<excludes>
<exclude>**/.svn/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|