92 lines
3.3 KiB
XML
92 lines
3.3 KiB
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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>fr.insa.rest</groupId>
|
|
<artifactId>RestProject</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>RestProject</name>
|
|
|
|
<build>
|
|
<finalName>RestProject</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.4.0</version>
|
|
</plugin>
|
|
<!-- <plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin> -->
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey</groupId>
|
|
<artifactId>jersey-bom</artifactId>
|
|
<version>${jersey.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
<artifactId>jersey-container-servlet-core</artifactId>
|
|
<!-- use the following artifactId if you don't need servlet 2.x compatibility -->
|
|
<!-- artifactId>jersey-container-servlet</artifactId -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.inject</groupId>
|
|
<artifactId>jersey-hk2</artifactId>
|
|
</dependency>
|
|
<!-- uncomment this to get JSON support -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-json-binding</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.archetypes/jersey-quickstart-webapp -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.archetypes</groupId>
|
|
<artifactId>jersey-quickstart-webapp</artifactId>
|
|
<version>4.0.0-M1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.servlet</groupId>
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
<version>5.0.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- <dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-json-binding</artifactId>
|
|
</dependency> -->
|
|
<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-json-jackson -->
|
|
|
|
|
|
|
|
</dependencies>
|
|
<properties>
|
|
<jersey.version>4.0.0-M1</jersey.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<war.mvn.plugin.version>3.4.0</war.mvn.plugin.version>
|
|
</properties>
|
|
</project>
|