Commit e4334f8d authored by data爬虫-冯 军凯's avatar data爬虫-冯 军凯

数据库连接配置

parent d4a0cacb
......@@ -5,14 +5,20 @@
<groupId>cn.quantgroup</groupId>
<artifactId>qg-data-service</artifactId>
<version>1.0.3-SNAPSHOT</version>
<version>1.0.4-SNAPSHOT</version>
<packaging>jar</packaging>
<name>qg-data-service</name>
<!--<parent>-->
<!--<groupId>cn.quantgroup</groupId>-->
<!--<artifactId>commons-parent</artifactId>-->
<!--<version>0.2.4</version>-->
<!--</parent>-->
<parent>
<groupId>cn.quantgroup</groupId>
<artifactId>commons-parent</artifactId>
<version>0.2.4</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.8.RELEASE</version>
</parent>
<properties>
......@@ -21,17 +27,6 @@
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
......@@ -64,15 +59,6 @@
</dependencies>
<!--<build>-->
<!--<plugins>-->
<!--<plugin>-->
<!--<groupId>org.springframework.boot</groupId>-->
<!--<artifactId>spring-boot-maven-plugin</artifactId>-->
<!--</plugin>-->
<!--</plugins>-->
<!--</build>-->
<build>
<plugins>
<plugin>
......@@ -95,21 +81,6 @@
</execution>
</executions>
</plugin>
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>compile</phase>
<goals>
<goal>jar-no-fork</goal>
&lt;!&ndash; 类似执行mvn source:jar &ndash;&gt;
</goals>
</execution>
</executions>
</plugin>-->
</plugins>
</build>
......
package cn.quantgroup.qgdataservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class QgDataServiceApplication {
public static void main(String[] args) {
SpringApplication.run(QgDataServiceApplication.class, args);
}
}
package cn.quantgroup.qgdataservice;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class QgDataServiceApplicationTests {
@Test
public void contextLoads() {
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment