Skip to content

Instantly share code, notes, and snippets.

@eljobe
Created March 25, 2016 13:48
Show Gist options
  • Save eljobe/5afa9e0c44bd903f0cf9 to your computer and use it in GitHub Desktop.
Save eljobe/5afa9e0c44bd903f0cf9 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>deployGroup</groupId>
<artifactId>mywar</artifactId>
<version>1.0MVN</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>group4</groupId>
<artifactId>providedRuntime</artifactId>
<version>1.0</version>
<type>zip</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>*</artifactId>
<groupId>*</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>group4</groupId>
<artifactId>providedRuntime-util</artifactId>
<version>1.0</version>
<type>war</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>*</artifactId>
<groupId>*</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>group6</groupId>
<artifactId>testRuntime</artifactId>
<version>1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>group2</groupId>
<artifactId>providedCompile</artifactId>
<version>1.0</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>*</artifactId>
<groupId>*</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>group1</groupId>
<artifactId>compile</artifactId>
<version>1.0</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>excludeArtifact</artifactId>
<groupId>excludeGroup</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>group3</groupId>
<artifactId>runtime</artifactId>
<version>1.0</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<artifactId>excludeArtifact2</artifactId>
<groupId>excludeGroup2</groupId>
</exclusion>
</exclusions>
<optional>true</optional>
</dependency>
<dependency>
<groupId>group5</groupId>
<artifactId>testCompile</artifactId>
<version>1.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment