资源简介
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保持登录
- 下一篇:在线点餐系统 前端
相关资源
- 流程图制作免费软件
- 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 集合
- camunda-modeler-4.1.1-mac.zip最好的工作流和
- 书-疯狂工作流讲义-中源码.zip
- 疯狂Workflow讲义 基于Activiti的工作流
- jBPM4.4 详解 API 中文
- StarFlow 工作流--自由流
- osworkflow学习笔记
- web工作流画图界面
- 使用activiti工作流引擎显示流程图时高
- JIRA工作流的制定和使用
- Activiti6工作流视频整合SpringBoot2.0
- Activiti最新工作流教学及项目源码网盘
- Beginning WF_Windows Workflow in .NET 4.0一书的
- activiti工作流高亮图配置.zip
- SAP hr工作流程图
- OsWorkflow工作流
- XXXX项目渗透测试工作流程规范
- activiti实现请假流程
- 流程审批的数据库设计
评论
共有 条评论