Browse Source

加入obe

wangliang 1 năm trước cách đây
mục cha
commit
16bc261e60

+ 6 - 0
pom.xml

@@ -17,6 +17,7 @@
         <module>teachcloud-report</module>
         <module>teachcloud-report-business</module>
         <module>teachcloud-task</module>
+        <module>teachcloud-obe</module>
     </modules>
 
     <properties>
@@ -87,6 +88,11 @@
                 <artifactId>teachcloud-mark</artifactId>
                 <version>${project.version}</version>
             </dependency>
+            <dependency>
+                <groupId>com.qmth.teachcloud.obe</groupId>
+                <artifactId>teachcloud-obe</artifactId>
+                <version>${project.version}</version>
+            </dependency>
             <dependency>
                 <groupId>com.qmth.teachcloud.task</groupId>
                 <artifactId>teachcloud-task</artifactId>

+ 33 - 0
teachcloud-obe/.gitignore

@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/

+ 0 - 19
teachcloud-obe/HELP.md

@@ -1,19 +0,0 @@
-# Getting Started
-
-### Reference Documentation
-
-For further reference, please consider the following sections:
-
-* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
-* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.2.6/maven-plugin/reference/html/)
-* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.2.6/maven-plugin/reference/html/#build-image)
-* [Spring Web](https://docs.spring.io/spring-boot/docs/3.2.6/reference/htmlsingle/index.html#web)
-
-### Guides
-
-The following guides illustrate how to use some features concretely:
-
-* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
-* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
-* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)
-

+ 31 - 0
teachcloud-obe/pom.xml

@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>com.qmth.teachcloud.obe</groupId>
+    <artifactId>teachcloud-obe</artifactId>
+    <version>3.4.0</version>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>8</source>
+                    <target>8</target>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <packaging>jar</packaging>
+
+    <parent>
+        <groupId>com.qmth.distributed.print.service</groupId>
+        <artifactId>distributed-print-service</artifactId>
+        <version>3.4.0</version>
+    </parent>
+
+    <dependencies>
+
+    </dependencies>
+</project>

+ 13 - 0
teachcloud-obe/src/main/java/com/qmth/teachcloud/obe/TeachcloudObeApplication.java

@@ -0,0 +1,13 @@
+package com.qmth.teachcloud.obe;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class TeachcloudObeApplication {
+
+    public static void main(String[] args) {
+        SpringApplication.run(TeachcloudObeApplication.class, args);
+    }
+
+}

+ 1 - 0
teachcloud-obe/src/main/resources/application.properties

@@ -0,0 +1 @@
+spring.application.name=teachcloud-obe

+ 13 - 0
teachcloud-obe/src/test/java/com/qmth/teachcloud/obe/TeachcloudObeApplicationTests.java

@@ -0,0 +1,13 @@
+package com.qmth.teachcloud.obe;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class TeachcloudObeApplicationTests {
+
+    @Test
+    void contextLoads() {
+    }
+
+}