Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
X
XXL-JOB
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
靳帅
XXL-JOB
Commits
90e1f908
提交
90e1f908
authored
4月 28, 2017
作者:
xueli.xue
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
spring-boot执行器example项目取消log4j依赖
上级
fa9fac39
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
11 行增加
和
22 行删除
+11
-22
README.md
README.md
+3
-2
pom.xml
xxl-job-executor-springboot-example/pom.xml
+1
-12
XxlJobExecutorExampleBootApplicationTests.java
...cutor/test/XxlJobExecutorExampleBootApplicationTests.java
+7
-8
没有找到文件。
README.md
浏览文件 @
90e1f908
...
...
@@ -99,9 +99,10 @@ XXL-JOB是一个轻量级分布式任务调度框架,其核心设计目标是

### 1.5 环境
-
Servlet/JSP Spec:3.1/2.3
-
JDK:1.7+
-
Tomcat:8.5.x+/Jetty9.2+
-
Servlet/JSP Spec:3.1/2.3
-
Tomcat:8.5.x/Jetty9.2
-
Spring-boot:1.3.8/Spring4.x
-
Mysql:5.6+
-
Maven:3+
...
...
xxl-job-executor-springboot-example/pom.xml
浏览文件 @
90e1f908
...
...
@@ -15,7 +15,6 @@
<properties>
<xxl-job.version>
1.7.0-SNAPSHOT
</xxl-job.version>
<!--<spring-boot.version>1.5.3.RELEASE</spring-boot.version>-->
<spring-boot.version>
1.3.8.RELEASE
</spring-boot.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
...
...
@@ -37,20 +36,10 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
-log4j
</artifactId>
<artifactId>
spring-boot-starter
</artifactId>
</dependency>
<!-- spring-boot-starter-web (提供了对web的支持,包含了spring webmvc和tomcat等web开发的特性) -->
...
...
xxl-job-executor-springboot-example/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java
浏览文件 @
90e1f908
package
com
.
xxl
.
job
.
executor
.
test
;
import
com.xxl.job.executor.Application
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.boot.test.SpringApplicationConfiguration
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
org.springframework.test.context.web.WebAppConfiguration
;
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
/*
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = Application.class)
@WebAppConfiguration
@WebAppConfiguration*/
/*@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class ,webEnvironment= SpringBootTest.WebEnvironment.DEFINED_PORT)*/
public
class
XxlJobExecutorExampleBootApplicationTests
{
@Test
public
void
contextLoads
()
{
public
void
test
()
{
}
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论