wangliang 4 년 전
부모
커밋
6bd8fe5ab4

+ 1 - 0
pom.xml

@@ -12,6 +12,7 @@
         <module>distributed-print-business</module>
         <module>distributed-print-common</module>
         <module>distributed-print-task</module>
+        <module>teachcloud-report</module>
     </modules>
 
     <properties>

+ 33 - 0
teachcloud-report/.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/

+ 67 - 0
teachcloud-report/pom.xml

@@ -0,0 +1,67 @@
+<?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.report</groupId>
+	<artifactId>teachcloud-report</artifactId>
+	<version>2.0.0</version>
+	<packaging>jar</packaging>
+
+	<parent>
+		<groupId>com.qmth.distributed.print.service</groupId>
+		<artifactId>distributed-print-service</artifactId>
+		<version>2.0.0</version>
+	</parent>
+
+	<dependencies>
+		<dependency>
+			<groupId>com.qmth.distributed.print.business</groupId>
+			<artifactId>distributed-print-business</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-web</artifactId>
+			<version>${spring-boot.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>4.13</version>
+		</dependency>
+	</dependencies>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.springframework.boot</groupId>
+				<artifactId>spring-boot-maven-plugin</artifactId>
+				<configuration>
+					<includeSystemScope>true</includeSystemScope>
+				</configuration>
+				<executions>
+					<execution>
+						<goals>
+							<goal>repackage</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>com.spotify</groupId>
+				<artifactId>dockerfile-maven-plugin</artifactId>
+				<version>1.4.12</version>
+				<configuration>
+					<repository>registry.cn-shenzhen.aliyuncs.com/teachcloud_report</repository>
+					<tag>${project.version}</tag>
+					<contextDirectory>${project.baseDir}</contextDirectory>
+					<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
+					<pullNewerImage>true</pullNewerImage>
+					<buildArgs>
+						<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
+					</buildArgs>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+</project>

+ 13 - 0
teachcloud-report/src/main/java/com/qmth/teachcloud/report/TeachcloudReportApplication.java

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

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

@@ -0,0 +1 @@
+

+ 13 - 0
teachcloud-report/src/test/java/com/qmth/teachcloud/report/TeachcloudReportApplicationTests.java

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