Browse Source

Pull request #487: 无jira任务,persist合final

Merge in CORE/base-third from ~LUCIAN.CHEN/base-third:final/10.0 to final/10.0

* commit 'c2391b8bf1cb9d87b5cb8b8b6e213b7c240da453':
  无jira任务,persist合final
  build.third_step0.gradle edited online with Bitbucket
  build.third_step0.gradle edited online with Bitbucket
  更新apache工具类
  CORE-135 插件禁用再启用后Jackson实例化的java对象仍然用的插件卸载前的classLoader
  fix
  fix
  MOBILE-17909&MOBILE-17908 10.0微信》定时调度有微信任务时卸载微信插件,报错
  fix
  fix
  DEC-4839 druid没有写默认的ms连接前校验语句,hibernate也没加,最后导致出错
  无jira任务,打包失败
  REPORT-10262 html大文本精确分页
  REPORT-11516	富文本在内容前添加空格导出word和预览不一致
  build
  build
  build
final/10.0
Kara 4 years ago
parent
commit
9a9390fc5c
  1. 51
      build.third_step0.gradle
  2. 1
      fine-jackson/src/main/java/com/fr/third/fasterxml/jackson/databind/type/TypeFactory.java
  3. 2
      fine-spring/pom.xml
  4. 23
      pom.xml

51
build.third_step0.gradle

@ -16,7 +16,7 @@ targetCompatibility=1.7
//lib下的jar到classes文件夹
version='10.0'
jar{
baseName="fine-third"
zip64 true
@ -42,11 +42,21 @@ FileTree files =fileTree(dir:'./',include:'build*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
def date = new Date()
def formattedDate = date.format('yyyy.MM.dd')
def srcDir="."
def MVN_BRANCH = branchVariable.toUpperCase()
def maven_version_build = ""
def indexV = branchName.indexOf( "%2F");
if(indexV != -1){
version= branchName.substring(indexV+3, branchName.length()).toUpperCase()
maven_version_build = project.version +"-" + branchName.substring(0, indexV).toUpperCase() +"-SNAPSHOT"
} else {
version= branchName
maven_version_build = project.version +"-SNAPSHOT"
}
// @branch -
def maven_version="${version}-${MVN_BRANCH}-SNAPSHOT"
def maven_version="${version}.${formattedDate}"
def jar_version = version
configurations {
@ -67,13 +77,32 @@ publishing {
groupId "com.fr.third"
artifactId "fine-third"
version maven_version
ext.repo = 'release'
from components.java
}
third_build(MavenPublication) {
groupId "com.fr.third"
artifactId "fine-third"
version maven_version_build
ext.repo = 'snapshot'
from components.java
}
}
repositories {
maven {
name "release"
url "http://mvn.finedevelop.com/repository/fanruan-release/"
credentials {
username = findProperty("NEXUS_USERNAME")
password = findProperty("NEXUS_PASSWORD")
}
}
url "http://mvn.finedevelop.com/repository/fanruan/"
maven {
name "snapshot"
url "http://mvn.finedevelop.com/repository/fanruan/"
credentials {
username = findProperty("NEXUS_USERNAME")
password = findProperty("NEXUS_PASSWORD")
@ -83,6 +112,17 @@ publishing {
}
}
afterEvaluate {
tasks.withType(PublishToMavenRepository) { task ->
if (task.publication.hasProperty('repo') && task.publication.repo != task.repository.name) {
task.enabled = false
task.group = null
}
}
}
task unpack(type:Copy) {
delete classesDir
destinationDir=file(classesDir)
@ -114,4 +154,3 @@ task unpack(type:Copy) {
}
jar.dependsOn unpack

1
fine-jackson/src/main/java/com/fr/third/fasterxml/jackson/databind/type/TypeFactory.java

@ -146,6 +146,7 @@ public final class TypeFactory
/**********************************************************
*/
public void setClassFactory(ClassFactory classFactory) {
this.classFactory = classFactory;

2
fine-spring/pom.xml

@ -65,7 +65,7 @@
<artifactId>fine-javax-annotation</artifactId>
<version>${revision}</version>
</dependency>
<!-->以下是lib的本地jar包依赖<-->
<!-->以下是lib的本地jar包依赖<-->
<dependency>
<groupId>com.fr.third</groupId>
<artifactId>aopalliance</artifactId>

23
pom.xml

@ -0,0 +1,23 @@
<?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>
<modules>
<module>fine-hibernate</module>
<module>fine-druid</module>
</modules>>
<parent>
<groupId>com.fr.maven</groupId>
<artifactId>finereport-maven</artifactId>
<version>10.0</version>
<relativePath>../finereport-maven</relativePath>
</parent>
<groupId>com.fr.third</groupId>
<artifactId>base-third-code</artifactId>
<version>${branch}</version>
<packaging>pom</packaging>
</project>
Loading…
Cancel
Save