资源简介
springboot+mybatis+layui 开发的后台管理系统, 一起学习,一起成长,加油。
有问题,请联系我,邮箱不经常登录 email:luxiaodongwangyi@163.com
代码片段和文件信息
/*
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
http://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) {
System
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 277 2019-03-26 09:10 demo\.gitignore
文件 733 2019-03-26 09:47 demo\.idea\compiler.xm
文件 172 2019-03-26 09:10 demo\.idea\encodings.xm
文件 594 2019-03-26 09:51 demo\.idea\libraries\Maven__commons_beanutils_commons_beanutils_1_8_3.xm
文件 543 2019-03-26 09:51 demo\.idea\libraries\Maven__commons_codec_commons_codec_1_11.xm
文件 605 2019-03-26 09:51 demo\.idea\libraries\Maven__commons_fileupload_commons_fileupload_1_3_3.xm
文件 503 2019-03-26 09:51 demo\.idea\libraries\Maven__commons_io_commons_io_2_2.xm
文件 522 2019-03-26 09:51 demo\.idea\libraries\Maven__com_fasterxm
文件 644 2019-03-26 09:51 demo\.idea\libraries\Maven__com_fasterxm
文件 595 2019-03-26 09:51 demo\.idea\libraries\Maven__com_fasterxm
文件 623 2019-03-26 09:51 demo\.idea\libraries\Maven__com_fasterxm
文件 674 2019-03-26 09:51 demo\.idea\libraries\Maven__com_fasterxm
文件 688 2019-03-26 09:51 demo\.idea\libraries\Maven__com_fasterxm
文件 729 2019-03-26 09:51 demo\.idea\libraries\Maven__com_fasterxm
文件 547 2019-03-26 09:51 demo\.idea\libraries\Maven__com_github_jsqlparser_jsqlparser_1_0.xm
文件 561 2019-03-26 09:51 demo\.idea\libraries\Maven__com_github_pagehelper_pagehelper_5_1_4.xm
文件 743 2019-03-26 09:51 demo\.idea\libraries\Maven__com_github_pagehelper_pagehelper_spring_boot_autoconfigure_1_2_5.xm
文件 701 2019-03-26 09:51 demo\.idea\libraries\Maven__com_github_pagehelper_pagehelper_spring_boot_starter_1_2_5.xm
文件 673 2019-03-26 09:51 demo\.idea\libraries\Maven__com_github_theborakompanioni_thymeleaf_extras_shiro_1_2_1.xm
文件 546 2019-03-26 09:51 demo\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xm
文件 700 2019-03-26 09:51 demo\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
文件 503 2019-03-26 09:51 demo\.idea\libraries\Maven__com_zaxxer_HikariCP_3_2_0.xm
文件 611 2019-03-26 09:51 demo\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xm
文件 611 2019-03-26 09:51 demo\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xm
文件 455 2019-03-26 09:51 demo\.idea\libraries\Maven__junit_junit_4_12.xm
文件 469 2019-03-26 09:51 demo\.idea\libraries\Maven__log4j_log4j_1_2_17.xm
文件 574 2019-03-26 09:51 demo\.idea\libraries\Maven__mysql_mysql_connector_java_8_0_15.xm
文件 536 2019-03-26 09:51 demo\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_9_10.xm
文件 578 2019-03-26 09:51 demo\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_9_10.xm
文件 542 2019-03-26 09:51 demo\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xm
............此处省略1060个文件信息
- 上一篇:软件评测师教程.zip
- 下一篇:TCP文件传输服务器
相关资源
- Layui 元件库.zip
- springmvc_2020.rar
- 基于SpringBoot+SSM的酒店客房管理系统
- 基于SSM的校社联社团管理系统SpringM
- 基于springboot框架的宿舍管理系统设计
- layui1.0.9.zip
- app信息管理系统ssm框架
- Spring boot 2.2.2官方中文文档
- springboot实现将Excel导入数据库
- springboot+微信端登录demo
- springboot+vue.js搭建图书管理系统开源项
- springboot+mybatis后台vue.js实现前端的音
- 大觅网源码
- SpringCloud 15个完整
- 高清彩版 high performance spring 5(彩版)
- spring实战源码maven版
- springboot官方英文文档
- springmvc+netty实现聊天功能
- SpringBoot实战.pdf推荐必读
- spring源码4.3(可直接导入eclipse)
- 最新 guns v5.1 文档
- 《Spring Boot实战》源代码
- spring-boot-reference.pdf
- spring mvc中启动netty
- spring security教程
- springboot实战源码
- spring boot + plupload实现大文件断点续传
- Mastering Spring Cloud 无水印转化版pdf
-
Introducing Spring fr
amework A Primer 无水印 - spring中文帮助文档.chm
评论
共有 条评论