Commit 43e40986 authored by HuangBingGui's avatar HuangBingGui
Browse files

删除目录JeeSpringBootSdminServer

parent e344509c
@echo off
rem /**
rem */
echo.
echo [Ϣ] ļ
echo.
pause
echo.
cd /d %~dp0
cd..
call mvn clean
cd bin
pause
\ No newline at end of file
@echo off
rem /**
rem */
echo.
echo [Ϣ] Eclipseļ
echo.
cd /d %~dp0
cd..
call mvn -Declipse.workspace=%cd% eclipse:eclipse
cd bin
pause
\ No newline at end of file
@echo off
rem /**
rem */
echo.
echo [Ϣ] Eclipseļ
echo.
cd /d %~dp0
cd..
call mvn idea:idea
cd bin
pause
\ No newline at end of file
@echo off
rem /**
rem */
echo.
echo [Ϣ] packageļ
echo.
cd /d %~dp0
cd..
call mvn package
cd bin
pause
\ No newline at end of file
@echo off
rem /**
rem */
echo.
echo [Ϣ] йļ
echo.
cd /d %~dp0
cd ../target
java -jar springboot-admin-server-0.0.1-SNAPSHOT.jar
cd bin
pause
\ No newline at end of file
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.patterncat</groupId>
<artifactId>springboot-admin-server</artifactId>
<name></name>
<description></description>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>springboot-admin-server</name>
<description>Demo project for Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.7</java.version>
</properties>
<dependencies>
<!-- http://codecentric.github.io/spring-boot-admin/1.3.2/#getting-started -->
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server-ui</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
package com.patterncat;
import de.codecentric.boot.admin.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* http://localhost:8090
* http://www.jianshu.com/p/e20a5f42a395
*/
@SpringBootApplication
@EnableAdminServer
public class SpringbootAdminServerApplication {
public static void main(String[] args) {
SpringApplication.run(SpringbootAdminServerApplication.class, args);
}
}
server.port = 8999
spring.application.name=Spring Boot Admin Web
spring.boot.admin.url=http://localhost:${server.port}
spring.jackson.serialization.indent_output=true
endpoints.health.sensitive=false
\ No newline at end of file
Supports Markdown
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