資源簡介
springBoot+vue初始化前后端分離項目搭建(含數據庫) 適合初學習 包含如何跨域 axios 比較簡單清晰 https://www.cnblogs.com/mike-mei/p/13597036.html
代碼片段和文件信息
/*
?*?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)?{
????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1787??2020-09-01?16:46??library\library.sql
?????文件????????395??2020-09-01?14:25??library\springboottest\.gitignore
?????文件????????640??2020-09-01?14:25??library\springboottest\.idea\compiler.xm
?????文件????????172??2020-09-01?14:25??library\springboottest\.idea\encodings.xm
?????文件????????486??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__antlr_antlr_2_7_7.xm
?????文件????????592??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xm
?????文件????????571??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xm
?????文件????????546??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_fasterxm
?????文件????????675??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_fasterxm
?????文件????????626??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_fasterxm
?????文件????????654??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_fasterxm
?????文件????????705??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_fasterxm
?????文件????????719??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_fasterxm
?????文件????????760??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_fasterxm
?????文件????????570??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xm
?????文件????????629??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_sun_activation_jakarta_activation_1_2_2.xm
?????文件????????648??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_sun_istack_istack_commons_runtime_3_0_11.xm
?????文件????????724??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
?????文件????????527??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__com_zaxxer_HikariCP_3_4_5.xm
?????文件????????657??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__jakarta_activation_jakarta_activation_api_1_2_2.xm
?????文件????????657??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xm
?????文件????????668??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xm
?????文件????????668??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xm
?????文件????????635??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__jakarta_xm
?????文件????????598??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__mysql_mysql_connector_java_8_0_21.xm
?????文件????????567??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_10_14.xm
?????文件????????609??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_10_14.xm
?????文件????????566??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xm
?????文件????????531??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__net_minidev_json_smart_2_3.xm
?????文件????????597??2020-09-01?14:25??library\springboottest\.idea\libraries\Maven__org_apache_logging_log4j_log4j_api_2_13_3.xm
............此處省略22761個文件信息
- 上一篇:樂優商城前端
- 下一篇:html靜態網頁導航條、表格、表單、音視頻插入、照片框等
評論
共有 條評論