Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Maintained, quietly. The API is small and settled; expect dependency updates rat
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-resources</artifactId>
<version>1.3.1</version>
</dependency>
```

Expand All @@ -38,6 +37,8 @@ InputStream in = resourceManager.getResourceAsInputStream( "checkstyle.xml" );
File file = resourceManager.getResourceAsFile( "checkstyle.xml" );
```

Check the badge above for the current version.

`getResourceAsFile` will materialise a temporary file when the resource is not already one, so it works for
classpath and URL resources too.

Expand Down
Loading