资源简介
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个文件信息
相关资源
- My0oclipse2019 4破解文件
- Springboot初学者项目demo超实用
- 尚硅谷redis笔记(.mmap)
- gif动态彩图转化黑白动画简单图形识
- SpringBoot框架开发详解(李兴华)源码
- maven3.3.9版本
- netty-api-4.1 中文版
- 网上书店系统黑马
- Spring+SpringMVC+Mybatis+AdminLTE(BootStrap)
- springboot投票系统
- springmvc框架的用户登录注册的简单实
- ssm 代码生成器 ,后台代码一键生成器
- spring boot 基础学习资料
- OAuth2.0Demo
- 用户角色权限重新开放
- 1.使用IDEA对springboot+activiti开发demo和详
- SpringBoot实战 超清 中文版 非扫描
- Spring5 源码分析(第 2 版)-某Tom老师
- spring-boot 停车场管理系统
- springboot编写的停车场控制后台
- poi3.9读写EXCEL
- 400 G1 DM nvmeBoot CPUall.bin
- 字节跳动面试题.pdf
- spring boot + mybatis + maven 自动生成Mapp
- 四人帮的设计模式中文版
- Spring MVC的简单项目
- u-boot-2014.10.tar.bz2 for TQ3358
- 基于切面的日志记录SSMdemo
- AngularJS+SpringMVC小项目
- SpringBoot实战pdf超清完整版
评论
共有 条评论