-
大小: 4.39MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-10-02
- 语言: 其他
- 标签: springboot flowable modeler
资源简介
springboot集成flowable-modeler设计器,并实现内置用户免登陆(flowable6.4.1)
代码片段和文件信息
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License Version 2.0 (the
“License“); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing
software distributed under the License is distributed on an
“AS IS“ BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.util.Properties;
public class MavenWrapperDownloader {
/**
* Default URL to download the maven-wrapper.jar from if no ‘downloadUrl‘ is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL =
“https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar“;
/**
* Path to the maven-wrapper.properties file which might contain a downloadUrl property to
* use instead of the default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
“.mvn/wrapper/maven-wrapper.properties“;
/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH =
“.mvn/wrapper/maven-wrapper.jar“;
/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = “wrapperUrl“;
public static void main(String args[]) {
System.out.println(“- Downloader started“);
File baseDirectory = new File(args[0]);
System.out.println(“- Using base directory: “ + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL url);
} catch (IOException e) {
Syst
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-07-30 22:13 flowable_modeler\
文件 303 2019-05-29 11:51 flowable_modeler\.gitignore
目录 0 2019-06-10 10:03 flowable_modeler\.mvn\
目录 0 2019-06-10 10:03 flowable_modeler\.mvn\wrapper\
文件 48337 2019-05-29 11:51 flowable_modeler\.mvn\wrapper\maven-wrapper.jar
文件 116 2019-05-29 11:51 flowable_modeler\.mvn\wrapper\maven-wrapper.properties
文件 4629 2019-05-29 11:52 flowable_modeler\.mvn\wrapper\MavenWrapperDownloader.java
文件 22559 2019-07-30 22:09 flowable_modeler\flowable_modeler.iml
文件 532 2019-05-29 11:51 flowable_modeler\HELP.md
目录 0 2019-06-10 10:03 flowable_modeler\image\
文件 5345 2019-05-30 17:01 flowable_modeler\image\autodeployment.myProcess_1.png
文件 4202 2019-06-08 00:50 flowable_modeler\image\highLight.png
文件 9114 2019-05-29 11:51 flowable_modeler\mvnw
文件 5811 2019-05-29 11:51 flowable_modeler\mvnw.cmd
文件 5381 2019-07-30 22:11 flowable_modeler\pom.xm
目录 0 2019-06-10 10:03 flowable_modeler\src\
目录 0 2019-06-10 10:03 flowable_modeler\src\main\
目录 0 2019-06-10 10:03 flowable_modeler\src\main\java\
目录 0 2019-06-10 10:03 flowable_modeler\src\main\java\com\
目录 0 2019-06-10 10:03 flowable_modeler\src\main\java\com\zhuangz\
目录 0 2019-06-10 10:09 flowable_modeler\src\main\java\com\zhuangz\flowable\
目录 0 2019-06-10 10:16 flowable_modeler\src\main\java\com\zhuangz\flowable\config\
文件 7235 2019-06-10 10:16 flowable_modeler\src\main\java\com\zhuangz\flowable\config\ZhuangzProcessEngine.java
文件 984 2019-06-09 11:52 flowable_modeler\src\main\java\com\zhuangz\flowable\FlowableApplication.java
目录 0 2019-06-10 10:16 flowable_modeler\src\main\java\com\zhuangz\flowable\resource\
文件 1517 2019-06-10 10:16 flowable_modeler\src\main\java\com\zhuangz\flowable\resource\ZhuangzRemoteAccountResource.java
目录 0 2019-07-30 22:10 flowable_modeler\src\main\resources\
文件 483 2019-07-30 22:10 flowable_modeler\src\main\resources\application.yml
文件 747 2019-06-05 16:04 flowable_modeler\src\main\resources\log4j.properties
目录 0 2019-06-10 10:03 flowable_modeler\src\main\resources\properties\
文件 0 2018-09-29 13:42 flowable_modeler\src\main\resources\properties\mysql.properties
............此处省略756个文件信息
相关资源
- springboot+dubbo完整项目案例
- SpringInAction第五版英文版
- SpringBoot实战高清版 电子书 带书签
- flowable-demo.rar
- SpringBoot中文API和英文API文件集
- SpringBoot Velocity 代码生成模板
- 前后端分离:springboot+vue
- Springboot多连接池+websocket
- DP-Modeler2.1使用手册.pdf
- springboot整合流行框架Demo
- Spring boot实战带目录,全网最高清版,
- Springboot+Redis+Dubbo+Rocketmq
- springBoot2.0.1、zookeeper、dubbo、activemq、
- springBoot官方文档中文版
- 《基于SPSS_Modeler的数据挖掘第二版》
- Spring Boot 文档中英文
- springboot培训视频源码和课件,百度网
- 电影院售票后台管理系统SpringBoot+An
- 尚硅谷springboot笔记
- 《Spring Boot参考指南》
- SpringBoot EasyUI
- springboot官方文档英文版
- spring-cloud 集成 flowable 工作流
- springboot+redis+token保持登录
- SpringBoot2.0教程.pdf
- spring-boot中文API文档
- SpringBoot+MongoDB实现物流订单系统的代
- springboot 定时任务加layui的界面版
- SpringBoot+mybatis登录注册及其账号密码
- SpringBoot-mybatis登录、注册、拦截器、
评论
共有 条评论