資源簡介
SpringBoot健身房管理系統,springboot+MySQL+thymeleaf前臺網站+后臺管理
代碼片段和文件信息
/*
?*?Copyright?2007-present?the?original?author?or?authors.
?*
?*?Licensed?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.net.*;
import?java.io.*;
import?java.nio.channels.*;
import?java.util.Properties;
public?class?MavenWrapperDownloader?{
????private?static?final?String?WRAPPER_VERSION?=?“0.5.6“;
????/**
?????*?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/“
????????????+?WRAPPER_VERSION?+?“/maven-wrapper-“?+?WRAPPER_VERSION?+?“.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.out.println(“-?ERROR?loading?‘“?+?MAVEN_WRAPPER_PROPERTIES_PATH?+?“‘“);
????????????}?finally?{
????????????????try?{
????????????????????if?(mavenWrapperPropertyFileInputStream?!=?null)?{
?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-09-07?22:05??SpringBoot健身房管理系統\
?????目錄???????????0??2020-09-18?14:01??SpringBoot健身房管理系統\.idea\
?????文件?????????270??2020-09-07?22:06??SpringBoot健身房管理系統\.idea\.gitignore
?????文件???????????7??2020-09-07?22:06??SpringBoot健身房管理系統\.idea\.name
?????文件?????????876??2020-09-07?22:21??SpringBoot健身房管理系統\.idea\compiler.xm
?????文件?????????199??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\encodings.xm
?????文件????????1111??2020-09-08?12:20??SpringBoot健身房管理系統\.idea\jarRepositories.xm
?????目錄???????????0??2020-09-07?22:13??SpringBoot健身房管理系統\.idea\libraries\
?????文件?????????568??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xm
?????文件?????????547??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xm
?????文件?????????572??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__commons_logging_commons_logging_1_1_1.xm
?????文件?????????514??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_alibaba_fastjson_1_2_50.xm
?????文件?????????603??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_alipay_sdk_alipay_sdk_java_4_8_10_ALL.xm
?????文件?????????522??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_fasterxm
?????文件?????????651??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_fasterxm
?????文件?????????602??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_fasterxm
?????文件?????????630??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_fasterxm
?????文件?????????681??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_fasterxm
?????文件?????????695??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_fasterxm
?????文件?????????736??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_fasterxm
?????文件?????????528??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_github_penggle_kaptcha_2_3_2.xm
?????文件?????????546??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xm
?????文件?????????524??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_jhlabs_filters_2_0_235_1.xm
?????文件?????????700??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
?????文件?????????503??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__com_zaxxer_HikariCP_3_4_2.xm
?????文件?????????633??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__jakarta_activation_jakarta_activation_api_1_2_2.xm
?????文件?????????633??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xm
?????文件?????????633??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__jakarta_validation_jakarta_validation_api_2_0_2.xm
?????文件?????????611??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__jakarta_xm
?????文件?????????578??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__javax_servlet_javax_servlet_api_4_0_1.xm
?????文件?????????574??2020-09-07?22:07??SpringBoot健身房管理系統\.idea\libraries\Maven__mysql_mysql_connector_java_8_0_20.xm
............此處省略1217個文件信息
- 上一篇:mysql-8.0.13
- 下一篇:mysql-5.7.27.zip
評論
共有 條評論