[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

@ -9,27 +9,30 @@
<artifactId>be-graphes-all</artifactId> <artifactId>be-graphes-all</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<properties> <properties>
<mapsforge.version>0.13.0</mapsforge.version> <mapsforge.version>0.13.0</mapsforge.version>
</properties> </properties>
<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>
<url>https://jitpack.io</url> <url>https://jitpack.io</url>
</repository> </repository>
</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>
@ -43,39 +46,39 @@
<version>2.3.0</version> <version>2.3.0</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-reader --> <!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-reader -->
<dependency> <dependency>
<groupId>org.mapsforge</groupId> <groupId>org.mapsforge</groupId>
<artifactId>mapsforge-themes</artifactId> <artifactId>mapsforge-themes</artifactId>
<version>${mapsforge.version}</version> <version>${mapsforge.version}</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map --> <!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map -->
<dependency> <dependency>
<groupId>org.mapsforge</groupId> <groupId>org.mapsforge</groupId>
<artifactId>mapsforge-map</artifactId> <artifactId>mapsforge-map</artifactId>
<version>${mapsforge.version}</version> <version>${mapsforge.version}</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-awt --> <!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-awt -->
<dependency> <dependency>
<groupId>org.mapsforge</groupId> <groupId>org.mapsforge</groupId>
<artifactId>mapsforge-map-awt</artifactId> <artifactId>mapsforge-map-awt</artifactId>
<version>${mapsforge.version}</version> <version>${mapsforge.version}</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-reader --> <!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-reader -->
<dependency> <dependency>
<groupId>org.mapsforge</groupId> <groupId>org.mapsforge</groupId>
<artifactId>mapsforge-themes</artifactId> <artifactId>mapsforge-themes</artifactId>
<version>${mapsforge.version}</version> <version>${mapsforge.version}</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-reader --> <!-- https://mvnrepository.com/artifact/org.mapsforge/mapsforge-map-reader -->
<dependency> <dependency>
<groupId>org.mapsforge</groupId> <groupId>org.mapsforge</groupId>
<artifactId>mapsforge-map-reader</artifactId> <artifactId>mapsforge-map-reader</artifactId>
<version>${mapsforge.version}</version> <version>${mapsforge.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>

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>