Skip to content

Instantly share code, notes, and snippets.

@ThomasStuetz
Last active December 9, 2019 19:21
Show Gist options
  • Save ThomasStuetz/4b65fa4264fe1acec35b to your computer and use it in GitHub Desktop.
Save ThomasStuetz/4b65fa4264fe1acec35b to your computer and use it in GitHub Desktop.
Simple pom.xml for JavaEE 7
<?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>at.htl.vehicle-jpa</groupId>
<artifactId>vehicle-jpa</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>vehicle</finalName>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment