| <?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>\${groupId}</groupId> |
| <artifactId>\${artifactId}</artifactId> |
| <version>\${version}</version> |
| <packaging>pom</packaging> |
| |
| <name>\${artifactId}</name> |
| |
| <modules> |
| <module>projects</module> |
| <module>primary-source</module> |
| <module>servlets</module> |
| <module>ejbs</module> |
| <module>ear</module> |
| </modules> |
| |
| <distributionManagement> |
| <site> |
| <id>site</id> |
| <name>project website</name> |
| <url>scp://local.company.com/websites/project.company.com/</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>\${groupId}</groupId> |
| <artifactId>logging</artifactId> |
| <version>\${version}</version> |
| </dependency> |
| <dependency> |
| <groupId>\${groupId}</groupId> |
| <artifactId>primary-source</artifactId> |
| <version>\${version}</version> |
| </dependency> |
| <dependency> |
| <groupId>\${groupId}</groupId> |
| <artifactId>servlet</artifactId> |
| <version>\${version}</version> |
| <type>war</type> |
| </dependency> |
| <dependency> |
| <groupId>\${groupId}</groupId> |
| <artifactId>ejbs</artifactId> |
| <version>\${version}</version> |
| <type>ejb</type> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
| <plugins> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>${clean}</version> |
| </plugin> |
| <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${resources}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${compiler}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${jar}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>${war}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-ear-plugin</artifactId> |
| <version>${ear}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-ejb-plugin</artifactId> |
| <version>${ejb}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>${install}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>${deploy}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${javadoc}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </project> |