[maven] Cleanup pom.xml files.

This commit is contained in:
Mikaël Capelle 2020-03-04 16:10:08 +01:00
parent 5bb454a3b2
commit 2914df4a37
4 changed files with 38 additions and 32 deletions

View File

@ -4,17 +4,16 @@
xmlns="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.insa.graphs</groupId> <groupId>org.insa.graphs</groupId>
<artifactId>be-graphes-all</artifactId> <artifactId>be-graphes-all</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>be-graphes-algos</artifactId> <artifactId>be-graphes-algos</artifactId>
<name>be-graphes-algos</name> <name>be-graphes-algos</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.insa.graphs</groupId> <groupId>org.insa.graphs</groupId>
@ -22,4 +21,5 @@
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -17,6 +17,7 @@
<artifactId>be-graphes-gui</artifactId> <artifactId>be-graphes-gui</artifactId>
<name>be-graphes-gui</name> <name>be-graphes-gui</name>
<!-- Repository for Salamander (dependency of Mapsforge). -->
<repositories> <repositories>
<repository> <repository>
<id>jitpack.io</id> <id>jitpack.io</id>
@ -25,11 +26,13 @@
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.insa.graphs</groupId> <groupId>org.insa.graphs</groupId>
<artifactId>be-graphes-model</artifactId> <artifactId>be-graphes-model</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.insa.graphs</groupId> <groupId>org.insa.graphs</groupId>
<artifactId>be-graphes-algos</artifactId> <artifactId>be-graphes-algos</artifactId>

View File

@ -4,11 +4,14 @@
xmlns="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.insa.graphs</groupId> <groupId>org.insa.graphs</groupId>
<artifactId>be-graphes-all</artifactId> <artifactId>be-graphes-all</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>be-graphes-model</artifactId> <artifactId>be-graphes-model</artifactId>
<name>be-graphes-model</name> <name>be-graphes-model</name>
</project> </project>

10
pom.xml
View File

@ -10,11 +10,11 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<name>be-graphes-all</name> <name>be-graphes-all</name>
<url>http://maven.apache.org</url>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source> <jdk.version>1.8</jdk.version>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.source>${jdk.version}</maven.compiler.source>
<maven.compiler.target>${jdk.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
@ -24,8 +24,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version> <version>3.1</version>
<configuration> <configuration>
<source>8</source> <source>${jdk.version}</source>
<target>8</target> <target>${jdk.version}</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>