正在显示
4 个修改的文件
包含
93 行增加
和
0 行删除
netty-action-heartbeat/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + <parent> | ||
| 7 | + <groupId>com.crossoverjie.netty</groupId> | ||
| 8 | + <artifactId>netty-action</artifactId> | ||
| 9 | + <version>1.0.0-SNAPSHOT</version> | ||
| 10 | + </parent> | ||
| 11 | + <artifactId>netty-action-hearbeat</artifactId> | ||
| 12 | + <packaging>jar</packaging> | ||
| 13 | + | ||
| 14 | + <properties> | ||
| 15 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| 16 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
| 17 | + <java.version>1.8</java.version> | ||
| 18 | + </properties> | ||
| 19 | + | ||
| 20 | + | ||
| 21 | + <dependencies> | ||
| 22 | + <!-- spring-boot-starter-web (spring-webmvc + tomcat) --> | ||
| 23 | + <dependency> | ||
| 24 | + <groupId>org.springframework.boot</groupId> | ||
| 25 | + <artifactId>spring-boot-starter-web</artifactId> | ||
| 26 | + </dependency> | ||
| 27 | + <dependency> | ||
| 28 | + <groupId>org.springframework.boot</groupId> | ||
| 29 | + <artifactId>spring-boot-starter-test</artifactId> | ||
| 30 | + <scope>test</scope> | ||
| 31 | + </dependency> | ||
| 32 | + </dependencies> | ||
| 33 | + | ||
| 34 | + <build> | ||
| 35 | + <plugins> | ||
| 36 | + <!-- spring-boot-maven-plugin (提供了直接运行项目的插件:如果是通过parent方式继承spring-boot-starter-parent则不用此插件) --> | ||
| 37 | + <plugin> | ||
| 38 | + <groupId>org.springframework.boot</groupId> | ||
| 39 | + <artifactId>spring-boot-maven-plugin</artifactId> | ||
| 40 | + <executions> | ||
| 41 | + <execution> | ||
| 42 | + <goals> | ||
| 43 | + <goal>repackage</goal> | ||
| 44 | + </goals> | ||
| 45 | + </execution> | ||
| 46 | + </executions> | ||
| 47 | + </plugin> | ||
| 48 | + </plugins> | ||
| 49 | + </build> | ||
| 50 | + | ||
| 51 | +</project> |
| 1 | +package com.crossoverjie.netty.action; | ||
| 2 | + | ||
| 3 | +import org.springframework.boot.SpringApplication; | ||
| 4 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * @author crossoverJie | ||
| 8 | + */ | ||
| 9 | +@SpringBootApplication | ||
| 10 | +public class Application { | ||
| 11 | + | ||
| 12 | + public static void main(String[] args) { | ||
| 13 | + SpringApplication.run(Application.class, args); | ||
| 14 | + } | ||
| 15 | + | ||
| 16 | +} |
pom.xml
0 → 100644
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 3 | + <modelVersion>4.0.0</modelVersion> | ||
| 4 | + <groupId>com.crossoverjie.netty</groupId> | ||
| 5 | + <artifactId>netty-action</artifactId> | ||
| 6 | + <version>1.0.0-SNAPSHOT</version> | ||
| 7 | + <packaging>pom</packaging> | ||
| 8 | + | ||
| 9 | + <name>netty-action</name> | ||
| 10 | + <description>Spring Boot</description> | ||
| 11 | + | ||
| 12 | + | ||
| 13 | + <parent> | ||
| 14 | + <groupId>org.springframework.boot</groupId> | ||
| 15 | + <artifactId>spring-boot-starter-parent</artifactId> | ||
| 16 | + <version>1.5.6.RELEASE</version> | ||
| 17 | + <relativePath/> <!-- lookup parent from repository --> | ||
| 18 | + </parent> | ||
| 19 | + | ||
| 20 | + <modules> | ||
| 21 | + <module>netty-action-heartbeat</module> | ||
| 22 | + </modules> | ||
| 23 | + | ||
| 24 | +</project> |
-
请 注册 或 登录 后发表评论