commit | 1558d1ba5294597eb5a50d5cb3de73f23e0ff52f | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Fri Oct 09 07:59:30 2020 -0700 |
committer | Jimfs Team <java-libraries-discuss+copybara@google.com> | Fri Oct 09 08:00:06 2020 -0700 |
tree | f5576e3643b4cd75daeee11804639d03e6762e52 | |
parent | b4527cd8afab03eb50655e30d84c98bd7ea8e2e6 [diff] |
Bump maven-source-plugin from 3.2.0 to 3.2.1 Bumps [maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.2.0 to 3.2.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/maven-source-plugin/commit/a59a2e481f7d8e46f2abbd339d2d27e9b2964eba"><code>a59a2e4</code></a> [maven-release-plugin] prepare release maven-source-plugin-3.2.1</li> <li><a href="https://github.com/apache/maven-source-plugin/commit/c954a7e8fed86efc554e401361f88cdbf4109267"><code>c954a7e</code></a> make build as reproducible as possible for now</li> <li><a href="https://github.com/apache/maven-source-plugin/commit/d5b98783436d9bff8737b63adc566466d2d8590a"><code>d5b9878</code></a> [MSOURCES-123] set archiver reproducible mode earlier</li> <li><a href="https://github.com/apache/maven-source-plugin/commit/258d666ee76782c5211519313803fad9a8b408e1"><code>258d666</code></a> MSOURCES-122 make output independant from OS newline</li> <li><a href="https://github.com/apache/maven-source-plugin/commit/5b4e02fbb49beb2f3e9ce3e001054519019a76fe"><code>5b4e02f</code></a> [maven-release-plugin] prepare for next development iteration</li> <li>See full diff in <a href="https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.2.0...maven-source-plugin-3.2.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-source-plugin&package-manager=maven&previous-version=3.2.0&new-version=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Fixes #120 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/120 from google:dependabot/maven/org.apache.maven.plugins-maven-source-plugin-3.2.1 343ec4a3964a622aaccc04f177048f95331a278c PiperOrigin-RevId: 336293249
Jimfs is an in-memory file system for Java 7 and above, implementing the java.nio.file abstract file system APIs.
The latest release is 1.1.
It is available in Maven Central as com.google.jimfs:jimfs:1.1:
<dependency> <groupId>com.google.jimfs</groupId> <artifactId>jimfs</artifactId> <version>1.1</version> </dependency>
The simplest way to use Jimfs is to just get a new FileSystem
instance from the Jimfs
class and start using it:
import com.google.common.jimfs.Configuration; import com.google.common.jimfs.Jimfs; ... // For a simple file system with Unix-style paths and behavior: FileSystem fs = Jimfs.newFileSystem(Configuration.unix()); Path foo = fs.getPath("/foo"); Files.createDirectory(foo); Path hello = foo.resolve("hello.txt"); // /foo/hello.txt Files.write(hello, ImmutableList.of("hello world"), StandardCharsets.UTF_8);
Jimfs supports almost all the APIs under java.nio.file
. It supports:
FileChannel
or SeekableByteChannel
, InputStream
, OutputStream
, etc.SecureDirectoryStream
, for operations relative to an open directory.PathMatcher
.WatchService
.Jimfs also supports creating file systems that, for example, use Windows-style paths and (to an extent) behavior. In general, however, file system behavior is modeled after UNIX and may not exactly match any particular real file system or platform.
Copyright 2013 Google Inc. 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 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.