Quellcode durchsuchen

removing Spring from tehis version of the lab

L. Dolio Durant vor 6 Jahren
Ursprung
Commit
087463865c
2 geänderte Dateien mit 0 neuen und 83 gelöschten Zeilen
  1. 0
    62
      pom.xml
  2. 0
    21
      src/main/java/io/zipcoder/tcuksql/SpringStarter.java

+ 0
- 62
pom.xml Datei anzeigen

@@ -1,62 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project xmlns="http://maven.apache.org/POM/4.0.0"
3
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
-    <modelVersion>4.0.0</modelVersion>
6
-
7
-    <groupId>io.zipcoder</groupId>
8
-    <artifactId>TCUK-SQL</artifactId>
9
-    <version>1.0-SNAPSHOT</version>
10
-
11
-    <parent>
12
-        <groupId>org.springframework.boot</groupId>
13
-        <artifactId>spring-boot-starter-parent</artifactId>
14
-        <version>1.5.3.RELEASE</version>
15
-        <relativePath/>
16
-    </parent>
17
-
18
-    <properties>
19
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21
-        <java.version>1.8</java.version>
22
-    </properties>
23
-
24
-    <dependencies>
25
-        <dependency>
26
-            <groupId>org.springframework.boot</groupId>
27
-            <artifactId>spring-boot-starter-jdbc</artifactId>
28
-        </dependency>
29
-        <dependency>
30
-            <groupId>org.springframework.boot</groupId>
31
-            <artifactId>spring-boot-starter-web</artifactId>
32
-        </dependency>
33
-
34
-        <dependency>
35
-            <groupId>com.h2database</groupId>
36
-            <artifactId>h2</artifactId>
37
-            <scope>compile</scope>
38
-        </dependency>
39
-        <dependency>
40
-            <groupId>org.springframework.boot</groupId>
41
-            <artifactId>spring-boot-starter-test</artifactId>
42
-            <scope>test</scope>
43
-        </dependency>
44
-        <!-- https://mvnrepository.com/artifact/com.atlassian.clover/clover -->
45
-        <dependency>
46
-            <groupId>com.atlassian.clover</groupId>
47
-            <artifactId>clover</artifactId>
48
-            <version>4.0.6</version>
49
-        </dependency>
50
-
51
-    </dependencies>
52
-
53
-    <build>
54
-        <plugins>
55
-            <plugin>
56
-                <groupId>org.springframework.boot</groupId>
57
-                <artifactId>spring-boot-maven-plugin</artifactId>
58
-            </plugin>
59
-        </plugins>
60
-    </build>
61
-
62
-</project>

+ 0
- 21
src/main/java/io/zipcoder/tcuksql/SpringStarter.java Datei anzeigen

@@ -1,21 +0,0 @@
1
-package io.zipcoder.tcuksql;
2
-
3
-import org.h2.server.web.WebServlet;
4
-import org.springframework.boot.SpringApplication;
5
-import org.springframework.boot.autoconfigure.SpringBootApplication;
6
-import org.springframework.boot.web.servlet.ServletRegistrationBean;
7
-import org.springframework.context.annotation.Bean;
8
-
9
-@SpringBootApplication
10
-public class SpringStarter {
11
-    public static void main(String[] args){
12
-        SpringApplication.run(SpringStarter.class, args);
13
-    }
14
-
15
-    @Bean
16
-    ServletRegistrationBean h2servletRegistration() {
17
-        ServletRegistrationBean registrationBean = new ServletRegistrationBean( new WebServlet());
18
-        registrationBean.addUrlMappings("/console/*");
19
-        return registrationBean;
20
-    }
21
-}