Skip to content

Instantly share code, notes, and snippets.

@darbyluv2code
Created February 22, 2018 12:55
Show Gist options
  • Select an option

  • Save darbyluv2code/a81d8dd6a6351818e5d98b7e69d73d35 to your computer and use it in GitHub Desktop.

Select an option

Save darbyluv2code/a81d8dd6a6351818e5d98b7e69d73d35 to your computer and use it in GitHub Desktop.
Maven POM for standalone apps
<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>com.luv2code</groupId>
<artifactId>spring-standalone-demo</artifactId>
<version>1.0</version>
<packaging>war</packaging>
<name>spring-standalone-demo</name>
<properties>
<springframework.version>5.0.4.RELEASE</springframework.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<!-- Spring MVC support -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${springframework.version}</version>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment