archetype-resources.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-archetype-j2ee-simple
Show all versions of maven-archetype-j2ee-simple
An archetype which contains a simplified sample J2EE application.
The newest version!
<?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>${version.maven-clean-plugin}</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>${version.maven-resources-plugin}</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${version.maven-compiler-plugin}</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${version.maven-surefire}</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>${version.maven-jar-plugin}</version> </plugin> <plugin> <artifactId>maven-war-plugin</artifactId> <version>${version.maven-war-plugin}</version> </plugin> <plugin> <artifactId>maven-ear-plugin</artifactId> <version>${version.maven-ear-plugin}</version> </plugin> <plugin> <artifactId>maven-ejb-plugin</artifactId> <version>${version.maven-ejb-plugin}</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>${version.maven-install-plugin}</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>${version.maven-deploy-plugin}</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${version.maven-javadoc-plugin}</version> </plugin> </plugins> </pluginManagement> </build> </project>