| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2006 The Apache Software Foundation |
| |
| Licensed 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> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>modules-parent</artifactId> |
| <version>1.2-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>geronimo-tomcat-builder</artifactId> |
| <name>Geronimo :: Tomcat :: Builder</name> |
| |
| <properties> |
| <buildDir>${project.build.directory}</buildDir> |
| <endorsedDir>${buildDir}/endorsed</endorsedDir> |
| <localRepoDir>${settings.localRepository}</localRepoDir> |
| </properties> |
| |
| <build> |
| <!-- move this to parent pom --> |
| <resources> |
| <resource> |
| <directory>src/schema</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>geronimo-tomcat-1.1.xsd</include> |
| <include>geronimo-tomcat-config-1.0.xsd</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemProperties> |
| <java.endorsed.dirs>${endorsedDir}</java.endorsed.dirs> |
| <java.security.auth.login.config>src/test-resources/data/login.config</java.security.auth.login.config> |
| <user.dir>${basedir}</user.dir> |
| </systemProperties> |
| <forkMode>once</forkMode> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>xmlbeans-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>xmlbeans</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <schemaDirectory>src/schema</schemaDirectory> |
| <sourceSchemas>geronimo-tomcat-1.1.xsd,geronimo-tomcat-config-1.0.xsd</sourceSchemas> |
| <xmlConfigs> |
| <xmlConfig implementation="java.io.File">src/schema/xmlconfig.xml</xmlConfig> |
| </xmlConfigs> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>process-test-resources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <copy todir="${buildDir}/var/catalina/conf" file="src/var/web.xml" /> |
| <copy todir="${buildDir}/var/catalina/webapps"> |
| <fileset dir="src/test-resources/deployables"> |
| <include name="war1/**" /> |
| <include name="war3/**" /> |
| <include name="war4/**" /> |
| </fileset> |
| </copy> |
| <copy todir="${endorsedDir}" flatten="true"> |
| <fileset dir="${localRepoDir}"> |
| <include name="xerces/xercesImpl/${xercesVersion}/*.jar" /> |
| <include name="xml-apis/xml-apis/${xmlApisVersion}/*.jar" /> |
| </fileset> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>xmlbeans</groupId> |
| <artifactId>xbean</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| </dependency> |
| |
| <!--<dependency>--> |
| <!--<groupId>org.apache.geronimo.specs</groupId>--> |
| <!--<artifactId>geronimo-servlet_2.4_spec</artifactId>--> |
| <!--<scope>test</scope>--> |
| <!--</dependency>--> |
| <!----> |
| <!--<dependency>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-deployment</artifactId>--> |
| <!--</dependency>--> |
| <!----> |
| <!--<dependency>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-j2ee</artifactId>--> |
| <!--</dependency>--> |
| <!----> |
| <!--<dependency>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-j2ee-schema</artifactId>--> |
| <!--</dependency>--> |
| <!----> |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-naming-builder</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-tomcat</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-service-builder</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-j2ee-builder</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-security-builder</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-web-builder</artifactId> |
| </dependency> |
| |
| <!--<dependency>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-axis</artifactId>--> |
| <!--<scope>test</scope>--> |
| <!--</dependency>--> |
| |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commonsIoVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |
| |