资源简介
一套基于java spring 的实验室管理系统后端,含实验室人员、仪器、标准物质、样品等的全套管理,对前端提供restful接口。

代码片段和文件信息
/*
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-01-15 15:41 gongda-master\
文件 333 2020-01-15 15:41 gongda-master\.gitignore
目录 0 2020-01-15 15:41 gongda-master\.mvn\
目录 0 2020-01-15 15:41 gongda-master\.mvn\wrapper\
文件 4629 2020-01-15 15:41 gongda-master\.mvn\wrapper\MavenWrapperDownloader.java
文件 48337 2020-01-15 15:41 gongda-master\.mvn\wrapper\maven-wrapper.jar
文件 116 2020-01-15 15:41 gongda-master\.mvn\wrapper\maven-wrapper.properties
目录 0 2020-01-15 15:41 gongda-master\me
文件 68 2020-01-15 15:41 gongda-master\me
文件 42 2020-01-15 15:41 gongda-master\README.md
文件 9114 2020-01-15 15:41 gongda-master\mvnw
文件 5811 2020-01-15 15:41 gongda-master\mvnw.cmd
文件 4122 2020-01-15 15:41 gongda-master\pom.xm
目录 0 2020-01-15 15:41 gongda-master\src\
目录 0 2020-01-15 15:41 gongda-master\src\main\
目录 0 2020-01-15 15:41 gongda-master\src\main\java\
目录 0 2020-01-15 15:41 gongda-master\src\main\java\com\
目录 0 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\
目录 0 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\
文件 864 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\GongdaApplication.java
文件 4479 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\ShiroConfiguration.java
目录 0 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\
目录 0 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\controller\
文件 1854 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\controller\ba
文件 595 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\controller\ErrorController.java
目录 0 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\entity\
文件 552 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\entity\PageResult.java
文件 1268 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\entity\Result.java
文件 1269 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\entity\ResultCode.java
目录 0 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\exception\
文件 333 2020-01-15 15:41 gongda-master\src\main\java\com\fyj\gongda\common\exception\CommonException.java
............此处省略76个文件信息
相关资源
- JSP企业人事管理系统设计(源代码+论
- 实现一个图书管理系统
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- 基于Java的酒店管理系统源码(毕业设
- 基于Java的图书管理系统807185
- java 企业销售管理系统
- 基于JSP的学生宿舍管理系统(源码 数
- JSP选课管理系统
- 商店商品管理系统 JAVA写的 有界面
- 基于JSP的校友信息管理系统(添加数
- java做的房产管理系统
- 操作系统作业 (pv,作业管理,等5个
- java access 仓库管理系统 源码
- JSP学生信息管理系统 Mysql数据库
- java sql2008的图书馆管理系统
- jsp基于servlet 图书馆管理系统
- jsp学生成绩管理系统.rar
- java 人事管理系统 课程设计
- 数据库设备管理系统课程设计论文J
- jsp 学生信息管理系统设计与实现
- jsp与SQL Server数据库实现的客户注册登
- 简易教学管理系统(jsp spring struts h
- java sql2000员工管理系统数据库、文档
- java小作业 人事管理系统
- java数据库版学生成绩管理系统
- 学生信息管理系统 JSP MySQL
- 人事信息管理系统 java课程设计
- 学生信息管理系统 JAVA课程设计
- java SQLServer做的员工管理系统
评论
共有 条评论