Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.00 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3.     <modelVersion>4.0.0</modelVersion>
  4.     <groupId>ch.zhaw.infm</groupId>
  5.     <artifactId>spring-boot-template</artifactId>
  6.     <name>Spring Boot Template InfM</name>
  7.     <version>1.0.0</version>
  8.    
  9.     <!-- Importiert Das Spring Boot-Starter-Parent Projekt als Eltern-Maven-Projekt -->
  10.     <parent>
  11.         <groupId>org.springframework.boot</groupId>
  12.         <artifactId>spring-boot-starter-parent</artifactId>
  13.         <version>2.0.6.RELEASE</version>
  14.     </parent>
  15.  
  16.     <!-- Legt die einzelnen Abhängigkeiten des Maven-Projekts fest -->
  17.     <dependencies>
  18.         <!-- Spring Boot Starter Web-Libraries inkl. REST -->
  19.         <dependency>
  20.             <groupId>org.springframework.boot</groupId>
  21.             <artifactId>spring-boot-starter-web</artifactId>
  22.         </dependency>
  23.        
  24.         <!-- Spring Boot Starter für JPA -->
  25.         <dependency>
  26.             <groupId>org.springframework.boot</groupId>
  27.             <artifactId>spring-boot-starter-data-jpa</artifactId>
  28.         </dependency>
  29.        
  30.         <!-- Konnektor, um auf MySQL-Datenbanken zugreifen zu können -->
  31.         <dependency>
  32.             <groupId>mysql</groupId>
  33.             <artifactId>mysql-connector-java</artifactId>
  34.         </dependency>
  35.     </dependencies>
  36.    
  37.     <!-- The Spring Boot Maven Plugin provides Spring Boot support in Maven,
  38.    allowing you to package executable jar or war archives and run an application “in-place”.
  39.    https://docs.spring.io/spring-boot/docs/2.0.4.RELEASE/maven-plugin/usage.html -->
  40.     <build>
  41.         <plugins>
  42.             <plugin>
  43.                 <groupId>org.springframework.boot</groupId>
  44.                 <artifactId>spring-boot-maven-plugin</artifactId>
  45.             </plugin>
  46.         </plugins>
  47.     </build>
  48. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement