Skip to content

Instantly share code, notes, and snippets.

@mcolmant
Created September 20, 2016 06:44
Show Gist options
  • Save mcolmant/9f9f6174844ff263b8b69d28b99ad30b to your computer and use it in GitHub Desktop.
Save mcolmant/9f9f6174844ff263b8b69d28b99ad30b to your computer and use it in GitHub Desktop.
L3S5 COO - TP (pom.xml)
<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>
<!-- To edit (when generating a new project) -->
<groupId>fil.coo</groupId>
<artifactId>COO-TP1</artifactId>
<version>1.0-SNAPSHOT</version>
<name>COO-TP1</name>
<!-- END -->
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!-- To include in each project -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- javadoc plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
</plugin>
<!-- maven + junit4 test (mvn test) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
<configuration>
<includes>
<include>**</include>
</includes>
</configuration>
</plugin>
<!-- jar executable -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<mainClass>scanner.ScannerInt</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<!-- END -->
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment