Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
Other Resources:
maven-core-3.5.4.jar - Maven Core Module
maven-core-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Core module.
Apache Maven is a software project management and comprehension tool.
JAR File Size and Download Location:
File: 2018-06-17 19:33 630101 lib\maven-core-3.5.4.jar Download: Apache Maven Website
✍: FYIcenter.com
⏎ org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
package org.apache.maven.configuration; /* * 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 * * http://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; /** * A path translator that resolves relative paths against a specific base directory. * * @author Benjamin Bentmann */ public class BasedirBeanConfigurationPathTranslator implements BeanConfigurationPathTranslator { private final File basedir; /** * Creates a new path translator using the specified base directory. * * @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path * translation. */ public BasedirBeanConfigurationPathTranslator( File basedir ) { this.basedir = basedir; } public File translatePath( File path ) { File result = path; if ( path != null && basedir != null ) { if ( path.isAbsolute() ) { // path is already absolute, we're done } else if ( path.getPath().startsWith( File.separator ) ) { // drive-relative Windows path, don't align with base dir but with drive root result = path.getAbsoluteFile(); } else { // an ordinary relative path, align with base dir result = new File( new File( basedir, path.getPath() ).toURI().normalize() ).getAbsoluteFile(); } } return result; } }
⏎ org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Â
⇒ maven-compat-3.5.4.jar - Maven Compact Module
⇠apache-maven-3.5.4-bin.zip - Apache Maven Binary Package
⇑ Downloading and Reviewing Maven JAR Files
⇑⇑ FAQ for Apache Maven
2020-10-26, 67219👍, 0💬
Popular Posts:
commons-fileupload-1.3.3 -sources.jaris the source JAR file for Apache Commons FileUpload 1.3., whic...
JDK 11 jdk.jconsole.jmod is the JMOD file for JDK 11 JConsole tool, which can be invoked by the "jco...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
Commons DBCP provides Database Connection Pooling. JAR File Size and Download Location: File name: c...
Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nea...