资源简介
spring boot 房屋租赁系统.rar

代码片段和文件信息
/*
* Copyright 2012-2019 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.5“;
/**
* 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) {
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 333 2019-12-18 14:58 HouseRent-master\.gitignore
....... 50710 2019-12-18 14:58 HouseRent-master\.mvn\wrapper\maven-wrapper.jar
....... 218 2019-12-18 14:58 HouseRent-master\.mvn\wrapper\maven-wrapper.properties
....... 4948 2019-12-18 14:58 HouseRent-master\.mvn\wrapper\MavenWrapperDownloader.java
....... 5571 2019-12-18 14:58 HouseRent-master\house.sql
....... 10079 2019-12-18 14:58 HouseRent-master\mvnw
....... 6610 2019-12-18 14:58 HouseRent-master\mvnw.cmd
....... 7234 2019-12-18 14:58 HouseRent-master\pom.xm
....... 536 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\config\WebConfig.java
....... 3311 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\AddHouseController.java
....... 4723 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\AdminController.java
....... 1597 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\HomePageController.java
....... 1530 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\HouseController.java
....... 974 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\HouseDetailsController.java
....... 1298 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\LoginController.java
....... 1865 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\OrderController.java
....... 1633 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\controller\UserController.java
....... 1219 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\dao\AdminMapper.java
....... 1166 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\dao\HouseMapper.java
....... 695 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\dao\OrderMapper.java
....... 531 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\dao\UserMapper.java
....... 801 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\Admin.java
....... 4231 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\House.java
....... 1255 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\Order.java
....... 916 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\Page.java
....... 593 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\UserData.java
....... 949 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\UserHouseData.java
....... 4083 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\UserOrder.java
....... 610 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\UserOrderData.java
....... 1354 2019-12-18 14:58 HouseRent-master\src\main\java\com\house\wym\entity\Users.java
............此处省略197个文件信息
相关资源
- SpringBoot+H2+mybatis-plus59130
- 登录注册界面.zip48872
- uboot到linux logo显示不间断 补丁
- 数字华容道
- SSM+Shiro+redis实现单点登陆
- jstl-api-1.2和jstl-impl-1.2
- 基于MVC模式的会员管理系统
- 国内一家大型软件公司内部的正规软
- 仿windows记事本
- GUI银行管理系统
- 超市收银系统eclipse access大学课程设计
- 模拟ATM柜员机系统--连接数据库
- A*算法的2D演示(带源码)
- Bootloader源码分析(好东西).rar
- 代码审查表和代码审查实例
- atmega64bootload
- BootLoader和BSP
- 基于J2EE物资出入库管理系统
- 仿126 网易 163 邮箱 界面
- Tomcat6.x
- 简单的行编辑器
- 扫雷(MVC架构)
- 基于SSM+CXF构建的RESTFul webservice
- 302 Found
- window ping命令加时间并记录日志
- Cellular automata Model: an Adaptive Approach
- 易语言Bootstrap类模块2.13源码
- 大数据中的云网络Cloud Networking for B
- Spring+MyBatis企业应用实战第一二版的源
- web开发舔狗日记 框架bootstrap
评论
共有 条评论