资源简介
spring-cloud 2.0 集成工作流 flowable

代码片段和文件信息
/*
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 303 2019-03-28 10:11 spring-cloud 集成 flowable\springboot-consume\.gitignore
文件 48337 2019-03-28 10:11 spring-cloud 集成 flowable\springboot-consume\.mvn\wrapper\maven-wrapper.jar
文件 116 2019-03-28 10:11 spring-cloud 集成 flowable\springboot-consume\.mvn\wrapper\maven-wrapper.properties
文件 4629 2019-03-28 10:12 spring-cloud 集成 flowable\springboot-consume\.mvn\wrapper\MavenWrapperDownloader.java
文件 205 2019-03-28 10:11 spring-cloud 集成 flowable\springboot-consume\HELP.md
文件 9140 2019-03-28 11:36 spring-cloud 集成 flowable\springboot-consume\mvnw
文件 5837 2019-03-28 11:36 spring-cloud 集成 flowable\springboot-consume\mvnw.cmd
文件 2142 2019-03-28 10:12 spring-cloud 集成 flowable\springboot-consume\pom.xm
文件 17928 2019-03-28 10:46 spring-cloud 集成 flowable\springboot-consume\springboot-consume.iml
文件 613 2019-03-28 11:33 spring-cloud 集成 flowable\springboot-consume\src\main\java\cn\spro\crm\ConsumeApplication.java
文件 721 2019-03-28 16:08 spring-cloud 集成 flowable\springboot-consume\src\main\java\cn\spro\crm\modules\actru\controller\ActRuFloAbleController.java
文件 726 2019-03-28 16:08 spring-cloud 集成 flowable\springboot-consume\src\main\java\cn\spro\crm\modules\actru\server\ActRuFloAbleServer.java
文件 207 2019-03-28 13:47 spring-cloud 集成 flowable\springboot-consume\src\main\resources\application.yml
文件 374 2019-03-28 10:12 spring-cloud 集成 flowable\springboot-consume\src\test\java\springboot\flowable\springbootconsume\SpringbootConsumeApplicationTests.java
文件 274 2019-03-28 13:47 spring-cloud 集成 flowable\springboot-consume\target\classes\application.yml
文件 838 2019-03-28 12:31 spring-cloud 集成 flowable\springboot-consume\target\classes\cn\spro\crm\ConsumeApplication.class
文件 935 2019-03-28 16:08 spring-cloud 集成 flowable\springboot-consume\target\classes\cn\spro\crm\modules\actru\controller\ActRuFloAbleController.class
文件 419 2019-03-28 16:08 spring-cloud 集成 flowable\springboot-consume\target\classes\cn\spro\crm\modules\actru\server\ActRuFloAbleServer.class
文件 703 2019-03-28 11:22 spring-cloud 集成 flowable\springboot-consume\target\test-classes\springboot\flowable\springbootconsume\SpringbootConsumeApplicationTests.class
文件 303 2019-03-28 10:08 spring-cloud 集成 flowable\springboot-eurake\.gitignore
文件 48337 2019-03-28 10:08 spring-cloud 集成 flowable\springboot-eurake\.mvn\wrapper\maven-wrapper.jar
文件 116 2019-03-28 10:08 spring-cloud 集成 flowable\springboot-eurake\.mvn\wrapper\maven-wrapper.properties
文件 4629 2019-03-28 10:08 spring-cloud 集成 flowable\springboot-eurake\.mvn\wrapper\MavenWrapperDownloader.java
文件 205 2019-03-28 10:08 spring-cloud 集成 flowable\springboot-eurake\HELP.md
文件 9140 2019-03-28 11:36 spring-cloud 集成 flowable\springboot-eurake\mvnw
文件 5837 2019-03-28 11:36 spring-cloud 集成 flowable\springboot-eurake\mvnw.cmd
文件 2140 2019-03-28 11:51 spring-cloud 集成 flowable\springboot-eurake\pom.xm
文件 17928 2019-03-28 11:52 spring-cloud 集成 flowable\springboot-eurake\springboot-eurake.iml
文件 554 2019-03-28 11:21 spring-cloud 集成 flowable\springboot-eurake\src\main\java\springboot\flowable\springbooteurake\EuRakeApplication.java
文件 424 2019-03-28 11:48 spring-cloud 集成 flowable\springboot-eurake\src\main\resources\application.yml
............此处省略392个文件信息
- 上一篇:springboot+redis+token保持登录
- 下一篇:在线点餐系统 前端
相关资源
- 基于Petri网的工作流(完整的原创源代
- 工作流过程模型与数据模型的融合
- .NET工作流源码架构100%可用
- .Net开源流程引擎RoadFlow最新版包含全
- activiti测试demo
- U9V2.8组件化实施方案-工作流
- A dynamic Rehosted Workflow Designer
- 前后端分离项目中引入activiti工作流引
- aciviti主创人员开发的flowable官方文档
- mxgraph工作流设计
- redmine中软件项目各角色工作流程制定
- 群友分享的FLEX工作流设计器(含源码
- 一款可自定义工作流和表单、版式的
- 完整工作流系统源程序代码
- jbpm深入浅出第7章代码
- 工作流管理技术基础---范玉顺
- 工作流管理:模型、方法和系统(英
- Activiti工作流课程.doc
- 流程图制作免费软件
- Acitivi-app 6.0 汉化 + 疯狂工作流 6.0 教
- jeeplus带工作流开发框架ani.zip
- [中英教材]工作流管理:模型、方法和
- springboot 2.0 集成 Activiti5.22包括流程跟
- Activiti工作流引擎web设计器activiti-we
- Activiti5.8+SpringMVC整合工作流案例
- Activiti实战(咖啡兔)-高清带目录
- activiti 工作流详细文档教程+eclipse安装
- activiti工作流流程设计器插件,activ
- flowable-6.4.2.zip
- AlfredWorkflow.com Alfred工作流的public 集合
评论
共有 条评论