| <?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> |
| <groupId>org.apache.maven.plugins.maven-ant-plugin.it</groupId> |
| <artifactId>ear-it</artifactId> |
| <version>1.0</version> |
| <packaging>pom</packaging> |
| <name>Ear project</name> |
| <modules> |
| <module>projects</module> |
| <module>primary-source</module> |
| <module>servlets</module> |
| <module>ejbs</module> |
| <module>ear</module> |
| </modules> |
| |
| <properties> |
| <build.compiler>extJavac</build.compiler> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-ant-plugin</artifactId> |
| <version>@pom.version@</version> |
| </plugin> |
| <plugin> |
| <inherited>true</inherited> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.4.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.1</version> |
| <configuration> |
| <tasks> |
| <ant dir="${basedir}" antfile="${basedir}/build.xml" target="clean"/> |
| <ant dir="${basedir}" antfile="${basedir}/build.xml" target="package"/> |
| </tasks> |
| </configuration> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>2.0-beta-6</version> |
| <configuration> |
| <unzipCommand>/usr/bin/unzip -o > err.txt</unzipCommand> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}.${project.artifactId}.projects</groupId> |
| <artifactId>logging</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}.${project.artifactId}</groupId> |
| <artifactId>primary-source</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}.${project.artifactId}.servlets</groupId> |
| <artifactId>servlet</artifactId> |
| <version>1.0</version> |
| <type>war</type> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}.${project.artifactId}</groupId> |
| <artifactId>ejbs</artifactId> |
| <version>1.0</version> |
| <type>ejb</type> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <distributionManagement> |
| <site> |
| <id>site</id> |
| <name>project website</name> |
| <url>scp://local.company.com/websites/project.company.com/</url> |
| </site> |
| </distributionManagement> |
| |
| <profiles> |
| <profile> |
| <id>jdk9</id> |
| <activation> |
| <jdk>[1.9,)</jdk> |
| </activation> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </profile> |
| </profiles> |
| </project> |