| <?xml version="1.0" encoding="UTF-8"?> |
| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>test</groupId> |
| <artifactId>test</artifactId> |
| <version>0.1-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <source>1.5</source> |
| <target xml:space="preserve"> 1.5 </target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-ear-plugin</artifactId> |
| <version>3.3.0</version> |
| <configuration> |
| <modules> |
| <module> |
| <test>test</test> |
| </module> |
| <jarModule> |
| <groupId>artifactGroupId</groupId> |
| <artifactId>artifactId</artifactId> |
| <uri>APP-INF/lib/anotherName-1.2.3.jar</uri> |
| </jarModule> |
| </modules> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>test</id> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-ear-plugin</artifactId> |
| <configuration> |
| <modules> |
| <webModule> |
| <groupId>artifactGroupId</groupId> |
| <artifactId>artifactId</artifactId> |
| <excluded>true</excluded> |
| </webModule> |
| </modules> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>default-active</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| </profile> |
| <profile> |
| <id>file</id> |
| <activation> |
| <file> |
| <exists>simple.xml</exists> |
| </file> |
| </activation> |
| <properties> |
| <profile.file>activated</profile.file> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |