Commit 48b5a50d by stylefeng

整理pom

parent 33c76733
......@@ -2,13 +2,13 @@
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<parent>
<groupId>com.stylefeng</groupId>
<artifactId>guns-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../guns-parent/pom.xml</relativePath>
</parent>
<groupId>com.stylefeng</groupId>
<artifactId>guns-admin</artifactId>
<version>1.0.0-SNAPSHOT</version>
......@@ -18,9 +18,14 @@
<name>guns-admin</name>
<description>guns 的spring boot版本</description>
<dependencies>
<dependency>
<groupId>com.stylefeng</groupId>
<artifactId>guns-core</artifactId>
</dependency>
<!--spring boot依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
......
......@@ -7,7 +7,6 @@ package com.stylefeng.guns.core.exception;
*/
public enum GunsExceptionEnum {
/**
* 文件上传
*/
......@@ -24,7 +23,7 @@ public enum GunsExceptionEnum {
this.friendlyCode = code;
this.friendlyMsg = message;
}
GunsExceptionEnum(int code, String message, String urlPath) {
this.friendlyCode = code;
this.friendlyMsg = message;
......@@ -34,7 +33,7 @@ public enum GunsExceptionEnum {
private int friendlyCode;
private String friendlyMsg;
private String urlPath;
public int getCode() {
......
......@@ -16,6 +16,7 @@
</modules>
<properties>
<guns.version>1.0.0-SNAPSHOT</guns.version>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
......@@ -38,6 +39,13 @@
<dependencyManagement>
<dependencies>
<!--guns-->
<dependency>
<groupId>com.stylefeng</groupId>
<artifactId>guns-core</artifactId>
<version>${guns.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
......
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