Merge pull request #7769 from sjmillington/guava-split

[BAEL-16643] Split guava module
This commit is contained in:
Loredana Crusoveanu 2019-09-12 22:26:38 +03:00 committed by GitHub
commit 24137dfd7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 46 additions and 16 deletions

4
guava-io/README.md Normal file
View File

@ -0,0 +1,4 @@
### Relevant Articles:
- [Using Guava CountingOutputStream](http://www.baeldung.com/guava-counting-outputstream)
- [Guava Write to File, Read from File](http://www.baeldung.com/guava-write-to-file-read-from-file)

26
guava-io/pom.xml Normal file
View File

@ -0,0 +1,26 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>guava-io</artifactId>
<version>0.1.0-SNAPSHOT</version>
<name>guava-io</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-java</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-java</relativePath>
</parent>
<build>
<finalName>guava-io</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>

View File

@ -1,11 +1,8 @@
=========
## Guava and Hamcrest Cookbooks and Examples
## Guava Examples
### Relevant Articles: ### Relevant Articles:
- [Guava Functional Cookbook](http://www.baeldung.com/guava-functions-predicates) - [Guava Functional Cookbook](http://www.baeldung.com/guava-functions-predicates)
- [Guava Write to File, Read from File](http://www.baeldung.com/guava-write-to-file-read-from-file)
- [Guide to Guavas Ordering](http://www.baeldung.com/guava-ordering) - [Guide to Guavas Ordering](http://www.baeldung.com/guava-ordering)
- [Guide to Guavas PreConditions](http://www.baeldung.com/guava-preconditions) - [Guide to Guavas PreConditions](http://www.baeldung.com/guava-preconditions)
- [Introduction to Guava CacheLoader](http://www.baeldung.com/guava-cacheloader) - [Introduction to Guava CacheLoader](http://www.baeldung.com/guava-cacheloader)
@ -14,7 +11,5 @@
- [Guide to Guavas Reflection Utilities](http://www.baeldung.com/guava-reflection) - [Guide to Guavas Reflection Utilities](http://www.baeldung.com/guava-reflection)
- [Guide to Mathematical Utilities in Guava](http://www.baeldung.com/guava-math) - [Guide to Mathematical Utilities in Guava](http://www.baeldung.com/guava-math)
- [Bloom Filter in Java using Guava](http://www.baeldung.com/guava-bloom-filter) - [Bloom Filter in Java using Guava](http://www.baeldung.com/guava-bloom-filter)
- [Using Guava CountingOutputStream](http://www.baeldung.com/guava-counting-outputstream)
- [Hamcrest Text Matchers](http://www.baeldung.com/hamcrest-text-matchers)
- [Quick Guide to the Guava RateLimiter](http://www.baeldung.com/guava-rate-limiter) - [Quick Guide to the Guava RateLimiter](http://www.baeldung.com/guava-rate-limiter)
- [Hamcrest File Matchers](https://www.baeldung.com/hamcrest-file-matchers)

View File

@ -27,13 +27,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.hamcrest/java-hamcrest -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>java-hamcrest</artifactId>
<version>${java-hamcrest.version}</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -52,7 +46,6 @@
<!-- testing --> <!-- testing -->
<assertj.version>3.6.1</assertj.version> <assertj.version>3.6.1</assertj.version>
<java-hamcrest.version>2.0.0.0</java-hamcrest.version>
</properties> </properties>
</project> </project>

View File

@ -6,3 +6,5 @@
- [Serenity BDD with Spring and JBehave](http://www.baeldung.com/serenity-spring-jbehave) - [Serenity BDD with Spring and JBehave](http://www.baeldung.com/serenity-spring-jbehave)
- [Introduction to Awaitlity](http://www.baeldung.com/awaitlity-testing) - [Introduction to Awaitlity](http://www.baeldung.com/awaitlity-testing)
- [Introduction to Hoverfly in Java](http://www.baeldung.com/hoverfly) - [Introduction to Hoverfly in Java](http://www.baeldung.com/hoverfly)
- [Hamcrest File Matchers](https://www.baeldung.com/hamcrest-file-matchers)
- [Hamcrest Text Matchers](http://www.baeldung.com/hamcrest-text-matchers)

View File

@ -112,6 +112,13 @@
<artifactId>assertj-core</artifactId> <artifactId>assertj-core</artifactId>
<version>${assertj.version}</version> <version>${assertj.version}</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.hamcrest/java-hamcrest -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>java-hamcrest</artifactId>
<version>${java-hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>net.serenity-bdd</groupId> <groupId>net.serenity-bdd</groupId>
@ -165,6 +172,7 @@
<spring.version>4.3.8.RELEASE</spring.version> <spring.version>4.3.8.RELEASE</spring.version>
<spring-mock-mvc.version>3.0.3</spring-mock-mvc.version> <spring-mock-mvc.version>3.0.3</spring-mock-mvc.version>
<assertj.version>3.6.2</assertj.version> <assertj.version>3.6.2</assertj.version>
<java-hamcrest.version>2.0.0.0</java-hamcrest.version>
</properties> </properties>
</project> </project>

View File

@ -443,6 +443,7 @@
<module>grpc</module> <module>grpc</module>
<module>gson</module> <module>gson</module>
<module>guava</module> <module>guava</module>
<module>guava-io</module>
<module>guava-collections</module> <module>guava-collections</module>
<module>guava-collections-set</module> <module>guava-collections-set</module>
<module>guava-modules</module> <module>guava-modules</module>
@ -1168,6 +1169,7 @@
<module>grpc</module> <module>grpc</module>
<module>gson</module> <module>gson</module>
<module>guava</module> <module>guava</module>
<module>guava-io</module>
<module>guava-collections</module> <module>guava-collections</module>
<module>guava-collections-set</module> <module>guava-collections-set</module>
<module>guava-modules</module> <module>guava-modules</module>