update pom and build

This commit is contained in:
zeek 2020-03-15 22:43:30 +08:00
parent cab8e79c02
commit bd7b3b2902
6 changed files with 31 additions and 24 deletions

5
make.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# 项目编译启动脚本
mvn clean
mvn install -Dmaven.test.skip=true

35
pom.xml
View File

@ -5,40 +5,25 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.zeekling</groupId>
<artifactId>solo.weixin</artifactId>
<artifactId>solo-weixin</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<finalName.text>project-final-name</finalName.text>
<!--https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies -->
<spring-cloud-dependencies.version>Hoxton.RELEASE</spring-cloud-dependencies.version>
<!--https://mvnrepository.com/artifact/com.alibaba/fastjson -->
<fastjson.version>1.2.62</fastjson.version>
<!--https://mvnrepository.com/artifact/com.google.guava/guava -->
<guava.version>28.2-jre</guava.version>
<!--https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
<hutool-all.version>5.1.3</hutool-all.version>
<spring-boot.version>2.2.4.RELEASE</spring-boot.version>
<spring-boot.version>1.5.9.RELEASE</spring-boot.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
<version>1.5.9.RELEASE</version>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
@ -52,6 +37,12 @@
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>${spring-boot.version}</version>
</dependency>
</dependencies>

View File

@ -1,5 +1,8 @@
package com.zeekling.solo.weixin;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
/**
* @author zeekling [lingzhaohui@zeekling.cn]
* @version 1.0
@ -7,11 +10,11 @@ package com.zeekling.solo.weixin;
* @since 2020-03-15
*/
//@SpringBootApplication
@SpringBootApplication
public class WeXinApp {
public static void main(String[] args) {
// SpringApplication.run(WeXinApp.class, args);
new SpringApplicationBuilder(WeXinApp.class).run(args);
}
}

View File

@ -0,0 +1 @@
spring.profiles.active=dev

View File

@ -0,0 +1,7 @@
/**
* @apiNote
* @version 1.0
* @author zeekling [lingzhaohui@zeekling.cn]
* @since 2020-03-15
*/
package com.zeekling.solo.weixin;