Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 78e13520
authored
Sep 24, 2018
by
xuxueli
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
项目依赖全量升级至较新稳定版本,如spring、Jackson、groovy等等;
1 parent
39a07e72
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
43 deletions
doc/XXL-JOB官方文档.md
pom.xml
xxl-job-admin/pom.xml
xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/FtlUtil.java
xxl-job-core/pom.xml
doc/XXL-JOB官方文档.md
View file @
78e1352
...
@@ -1293,6 +1293,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
...
@@ -1293,6 +1293,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
37、任务执行日志、调度日志字段类型调整,改为text类型并取消字数限制;
-
37、任务执行日志、调度日志字段类型调整,改为text类型并取消字数限制;
-
38、GLUE任务脚本字段类型调整,改为mediumtext类型,提高GLUE长度上限;
-
38、GLUE任务脚本字段类型调整,改为mediumtext类型,提高GLUE长度上限;
-
39、任务监控线程Log输出优化,运行中任务的监控Log改为debug级别,减少非核心日志量;
-
39、任务监控线程Log输出优化,运行中任务的监控Log改为debug级别,减少非核心日志量;
-
40、项目依赖全量升级至较新稳定版本,如spring、Jackson、groovy等等;
### TODO LIST
### TODO LIST
-
1、任务权限管理:执行器为粒度分配权限,核心操作校验权限;
-
1、任务权限管理:执行器为粒度分配权限,核心操作校验权限;
...
...
pom.xml
View file @
78e1352
...
@@ -17,34 +17,34 @@
...
@@ -17,34 +17,34 @@
</modules>
</modules>
<properties>
<properties>
<javax.servlet-api.version>
3.
0.1
</javax.servlet-api.version>
<javax.servlet-api.version>
3.
1.0
</javax.servlet-api.version>
<j
sp-api.version>
2.2
</
jsp-api.version>
<j
avax.servlet.jsp-api.version>
2.3.3
</javax.servlet.
jsp-api.version>
<spring.version>
4.3.1
4
.RELEASE
</spring.version>
<spring.version>
4.3.1
9
.RELEASE
</spring.version>
<jackson.version>
2.9.
4
</jackson.version>
<jackson.version>
2.9.
6
</jackson.version>
<aspectjweaver.version>
1.8.13
</aspectjweaver.version>
<aspectjweaver.version>
1.8.13
</aspectjweaver.version>
<slf4j-api.version>
1.7.25
</slf4j-api.version>
<slf4j-api.version>
1.7.25
</slf4j-api.version>
<freemarker.version>
2.3.2
3
</freemarker.version>
<freemarker.version>
2.3.2
8
</freemarker.version>
<junit.version>
4.12
</junit.version>
<junit.version>
4.12
</junit.version>
<jetty-server.version>
9.2.2
4.v20180105
</jetty-server.version>
<jetty-server.version>
9.2.2
6.v20180806
</jetty-server.version>
<hessian.version>
4.0.51
</hessian.version>
<hessian.version>
4.0.51
</hessian.version>
<httpclient.version>
4.5.
5
</httpclient.version>
<httpclient.version>
4.5.
6
</httpclient.version>
<commons-exec.version>
1.3
</commons-exec.version>
<commons-exec.version>
1.3
</commons-exec.version>
<commons-collections4.version>
4.
1
</commons-collections4.version>
<commons-collections4.version>
4.
2
</commons-collections4.version>
<commons-lang3.version>
3.
7
</commons-lang3.version>
<commons-lang3.version>
3.
8.1
</commons-lang3.version>
<commons-email.version>
1.5
</commons-email.version>
<commons-email.version>
1.5
</commons-email.version>
<c3p0.version>
0.9.5.2
</c3p0.version>
<c3p0.version>
0.9.5.2
</c3p0.version>
<mysql-connector-java.version>
5.1.4
5
</mysql-connector-java.version>
<mysql-connector-java.version>
5.1.4
7
</mysql-connector-java.version>
<mybatis-spring.version>
1.3.
1
</mybatis-spring.version>
<mybatis-spring.version>
1.3.
2
</mybatis-spring.version>
<mybatis.version>
3.4.
5
</mybatis.version>
<mybatis.version>
3.4.
6
</mybatis.version>
<groovy-all.version>
2.4.1
3
</groovy-all.version>
<groovy-all.version>
2.4.1
5
</groovy-all.version>
<quartz.version>
2.3.0
</quartz.version>
<quartz.version>
2.3.0
</quartz.version>
<spring-boot.version>
1.5.1
0
.RELEASE
</spring-boot.version>
<spring-boot.version>
1.5.1
6
.RELEASE
</spring-boot.version>
</properties>
</properties>
<build>
<build>
...
...
xxl-job-admin/pom.xml
View file @
78e1352
...
@@ -53,9 +53,10 @@
...
@@ -53,9 +53,10 @@
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
javax.servlet.jsp
</groupId>
<groupId>
javax.servlet.jsp
</groupId>
<artifactId>
jsp-api
</artifactId>
<artifactId>
j
avax.servlet.j
sp-api
</artifactId>
<version>
${jsp-api.version}
</version>
<version>
${j
avax.servlet.j
sp-api.version}
</version>
</dependency>
</dependency>
<!-- freemarker -->
<!-- freemarker -->
<dependency>
<dependency>
<groupId>
org.freemarker
</groupId>
<groupId>
org.freemarker
</groupId>
...
...
xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/FtlUtil.java
View file @
78e1352
package
com
.
xxl
.
job
.
admin
.
core
.
util
;
package
com
.
xxl
.
job
.
admin
.
core
.
util
;
import
freemarker.ext.beans.BeansWrapper
;
import
freemarker.ext.beans.BeansWrapper
;
import
freemarker.ext.beans.BeansWrapperBuilder
;
import
freemarker.template.Configuration
;
import
freemarker.template.TemplateHashModel
;
import
freemarker.template.TemplateHashModel
;
/**
/**
...
@@ -10,9 +12,10 @@ import freemarker.template.TemplateHashModel;
...
@@ -10,9 +12,10 @@ import freemarker.template.TemplateHashModel;
*/
*/
public
class
FtlUtil
{
public
class
FtlUtil
{
private
static
BeansWrapper
wrapper
=
new
BeansWrapperBuilder
(
Configuration
.
DEFAULT_INCOMPATIBLE_IMPROVEMENTS
).
build
();
//BeansWrapper.getDefaultInstance();
public
static
TemplateHashModel
generateStaticModel
(
String
packageName
)
{
public
static
TemplateHashModel
generateStaticModel
(
String
packageName
)
{
try
{
try
{
BeansWrapper
wrapper
=
BeansWrapper
.
getDefaultInstance
();
TemplateHashModel
staticModels
=
wrapper
.
getStaticModels
();
TemplateHashModel
staticModels
=
wrapper
.
getStaticModels
();
TemplateHashModel
fileStatics
=
(
TemplateHashModel
)
staticModels
.
get
(
packageName
);
TemplateHashModel
fileStatics
=
(
TemplateHashModel
)
staticModels
.
get
(
packageName
);
return
fileStatics
;
return
fileStatics
;
...
...
xxl-job-core/pom.xml
View file @
78e1352
...
@@ -15,23 +15,16 @@
...
@@ -15,23 +15,16 @@
<dependencies>
<dependencies>
<!-- servlet -->
<!-- servlet -->
<dependency>
<
!--<
dependency>
<groupId>javax.servlet</groupId>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet-api.version}</version>
<version>${javax.servlet-api.version}</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<groupId>javax.servlet.jsp</groupId>
<artifactId>
jsp-api
</artifactId>
<artifactId>javax.servlet.jsp-api</artifactId>
<version>
${jsp-api.version}
</version>
<version>${javax.servlet.jsp-api.version}</version>
</dependency>
</dependency>-->
<!-- jetty -->
<dependency>
<groupId>
org.eclipse.jetty
</groupId>
<artifactId>
jetty-server
</artifactId>
<version>
${jetty-server.version}
</version>
</dependency>
<!-- slf4j -->
<!-- slf4j -->
<dependency>
<dependency>
...
@@ -40,18 +33,11 @@
...
@@ -40,18 +33,11 @@
<version>
${slf4j-api.version}
</version>
<version>
${slf4j-api.version}
</version>
</dependency>
</dependency>
<!-- hessian -->
<!-- jetty -->
<dependency>
<groupId>
com.caucho
</groupId>
<artifactId>
hessian
</artifactId>
<version>
${hessian.version}
</version>
</dependency>
<!-- jackson -->
<dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<groupId>
org.eclipse.jetty
</groupId>
<artifactId>
j
ackson-databind
</artifactId>
<artifactId>
j
etty-server
</artifactId>
<version>
${j
ackson
.version}
</version>
<version>
${j
etty-server
.version}
</version>
</dependency>
</dependency>
<!-- httpclient -->
<!-- httpclient -->
...
@@ -61,11 +47,11 @@
...
@@ -61,11 +47,11 @@
<version>
${httpclient.version}
</version>
<version>
${httpclient.version}
</version>
</dependency>
</dependency>
<!--
spring-context
-->
<!--
hessian
-->
<dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<groupId>
com.caucho
</groupId>
<artifactId>
spring-context
</artifactId>
<artifactId>
hessian
</artifactId>
<version>
${
spring
.version}
</version>
<version>
${
hessian
.version}
</version>
</dependency>
</dependency>
<!-- groovy-all -->
<!-- groovy-all -->
...
@@ -82,6 +68,20 @@
...
@@ -82,6 +68,20 @@
<version>
${commons-exec.version}
</version>
<version>
${commons-exec.version}
</version>
</dependency>
</dependency>
<!-- spring-context -->
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
${spring.version}
</version>
</dependency>
<!-- jackson -->
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
<version>
${jackson.version}
</version>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment