Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
48b5a50d
Commit
48b5a50d
authored
Aug 17, 2017
by
stylefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理pom
parent
33c76733
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
guns-admin/pom.xml
+8
-3
guns-core/src/main/java/com/stylefeng/guns/core/exception/GunsExceptionEnum.java
+2
-3
guns-parent/pom.xml
+8
-0
No files found.
guns-admin/pom.xml
View file @
48b5a50d
...
...
@@ -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>
...
...
guns-core/src/main/java/com/stylefeng/guns/core/exception/GunsExceptionEnum.java
View file @
48b5a50d
...
...
@@ -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
()
{
...
...
guns-parent/pom.xml
View file @
48b5a50d
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment