-
大小: 3.07MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-11-07
- 语言: 数据库
- 标签: springboot
资源简介
非常适合新手入手的springboot练手程序,前端使用easyUI,数据库使用mysql,框架使用的是springboot,基本涵盖了springboot入门学习的CRUD操作
代码片段和文件信息
/*
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-05-12 17:49 studentmanager-master\
文件 86 2019-08-05 18:05 studentmanager-master\.gitattributes
目录 0 2020-05-12 17:48 studentmanager-master\.idea\
文件 14 2020-05-12 16:20 studentmanager-master\.idea\.name
文件 640 2020-05-12 16:25 studentmanager-master\.idea\compiler.xm
目录 0 2020-05-12 16:25 studentmanager-master\.idea\dictionaries\
文件 87 2020-05-12 16:25 studentmanager-master\.idea\dictionaries\Darryl.xm
文件 478 2020-05-12 17:48 studentmanager-master\.idea\encodings.xm
目录 0 2020-05-12 16:25 studentmanager-master\.idea\libraries\
文件 568 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xm
文件 547 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xm
文件 522 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_fasterxm
文件 644 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_fasterxm
文件 595 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_fasterxm
文件 623 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_fasterxm
文件 674 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_fasterxm
文件 688 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_fasterxm
文件 729 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_fasterxm
文件 546 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xm
文件 700 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
文件 503 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__com_zaxxer_HikariCP_2_7_8.xm
文件 543 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__commons_codec_commons_codec_1_11.xm
文件 462 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__dom4j_dom4j_1_6_1.xm
文件 611 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xm
文件 611 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xm
文件 455 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__junit_junit_4_12.xm
文件 574 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__mysql_mysql_connector_java_5_1_46.xm
文件 536 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_7_11.xm
文件 578 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xm
文件 542 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xm
文件 507 2020-05-12 16:25 studentmanager-master\.idea\libraries\Maven__net_minidev_json_smart_2_3.xm
............此处省略706个文件信息
相关资源
- 简易后台管理系统
- SpringBootLearning_forezp.tar.gz
- idea+springboot+oracle+mybatis
- 基于Springboot的药品管理系统.rar
- springboot开发的视频网站源码.zip
- 远程手术指导及示教系统的springboot项
- 基于springboot的教师评价系统带sql文件
- 后台权限管理系统微服务
- springboot
- 基于springboot+layui+shiro+mysql编写的医院
- SpringBoot + laypage分页 + 模糊查询 完整
- Vue+Springboot电商实战
- CRM学员管理系统 Springboot 毕业设计
- 微信小程序后台Springboot+Mysql
- vue-基于springboot+vue+redis实现的前后端
- 广工专项设计基于springboot用户权限管
- springboot+shiro+cas+redis+mybatis+thymeleaf 集
- Vue+springboot简单实现点餐系统开发.z
- springboot整合shiro、redis、druid
- Springboot+Vue前后端分离在线答题+题库
- springboot开发企业微信推送消息 获取
- springboot+mtbatis前后端分离开发音乐网
- 基于SpringBoot的在线课程学习系统设计
- 景区管理系统.zip
- vue +springboot前后端分离项目微调过一
- Springboot + vue美食网站源码分享,直接
- SpringBoot健身房管理系统
- 酒店宾馆管理系统 springboot项目 mysq
- springboot+neo4j
- idea配置maven+Springboot+mybatis+oracle
评论
共有 条评论