Skip to content

Commit 4a3ca68

Browse files
committed
[BAEL-16643] Split guava module
1 parent dc1cd98 commit 4a3ca68

15 files changed

Lines changed: 46 additions & 16 deletions

File tree

guava-io/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Relevant Articles:
2+
3+
- [Using Guava CountingOutputStream](http://www.baeldung.com/guava-counting-outputstream)
4+
- [Guava – Write to File, Read from File](http://www.baeldung.com/guava-write-to-file-read-from-file)

guava-io/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.baeldung</groupId>
5+
<artifactId>guava-io</artifactId>
6+
<version>0.1.0-SNAPSHOT</version>
7+
<name>guava-io</name>
8+
9+
<parent>
10+
<groupId>com.baeldung</groupId>
11+
<artifactId>parent-java</artifactId>
12+
<version>0.0.1-SNAPSHOT</version>
13+
<relativePath>../parent-java</relativePath>
14+
</parent>
15+
16+
<build>
17+
<finalName>guava-io</finalName>
18+
<resources>
19+
<resource>
20+
<directory>src/main/resources</directory>
21+
<filtering>true</filtering>
22+
</resource>
23+
</resources>
24+
</build>
25+
26+
</project>

guava/src/test/java/org/baeldung/guava/GuavaCountingOutputStreamUnitTest.java renamed to guava-io/src/main/test/java/com/baeldung/guava/GuavaCountingOutputStreamUnitTest.java

File renamed without changes.

guava/src/test/java/org/baeldung/guava/GuavaIOUnitTest.java renamed to guava-io/src/main/test/java/com/baeldung/guava/GuavaIOUnitTest.java

File renamed without changes.

guava/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
=========
2-
3-
## Guava and Hamcrest Cookbooks and Examples
41

2+
## Guava Examples
53

64
### Relevant Articles:
75
- [Guava Functional Cookbook](http://www.baeldung.com/guava-functions-predicates)
8-
- [Guava – Write to File, Read from File](http://www.baeldung.com/guava-write-to-file-read-from-file)
96
- [Guide to Guava’s Ordering](http://www.baeldung.com/guava-ordering)
107
- [Guide to Guava’s PreConditions](http://www.baeldung.com/guava-preconditions)
118
- [Introduction to Guava CacheLoader](http://www.baeldung.com/guava-cacheloader)
@@ -14,7 +11,5 @@
1411
- [Guide to Guava’s Reflection Utilities](http://www.baeldung.com/guava-reflection)
1512
- [Guide to Mathematical Utilities in Guava](http://www.baeldung.com/guava-math)
1613
- [Bloom Filter in Java using Guava](http://www.baeldung.com/guava-bloom-filter)
17-
- [Using Guava CountingOutputStream](http://www.baeldung.com/guava-counting-outputstream)
18-
- [Hamcrest Text Matchers](http://www.baeldung.com/hamcrest-text-matchers)
1914
- [Quick Guide to the Guava RateLimiter](http://www.baeldung.com/guava-rate-limiter)
20-
- [Hamcrest File Matchers](https://www.baeldung.com/hamcrest-file-matchers)
15+

guava/pom.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,7 @@
2727
<scope>test</scope>
2828
</dependency>
2929

30-
<!-- https://mvnrepository.com/artifact/org.hamcrest/java-hamcrest -->
31-
<dependency>
32-
<groupId>org.hamcrest</groupId>
33-
<artifactId>java-hamcrest</artifactId>
34-
<version>${java-hamcrest.version}</version>
35-
<scope>test</scope>
36-
</dependency>
30+
3731
</dependencies>
3832

3933
<build>
@@ -52,7 +46,6 @@
5246

5347
<!-- testing -->
5448
<assertj.version>3.6.1</assertj.version>
55-
<java-hamcrest.version>2.0.0.0</java-hamcrest.version>
5649
</properties>
5750

5851
</project>

libraries-testing/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
- [Serenity BDD and Screenplay](http://www.baeldung.com/serenity-screenplay)
66
- [Serenity BDD with Spring and JBehave](http://www.baeldung.com/serenity-spring-jbehave)
77
- [Introduction to Awaitlity](http://www.baeldung.com/awaitlity-testing)
8-
- [Introduction to Hoverfly in Java](http://www.baeldung.com/hoverfly)
8+
- [Introduction to Hoverfly in Java](http://www.baeldung.com/hoverfly)
9+
- [Hamcrest File Matchers](https://www.baeldung.com/hamcrest-file-matchers)
10+
- [Hamcrest Text Matchers](http://www.baeldung.com/hamcrest-text-matchers)

libraries-testing/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,13 @@
112112
<artifactId>assertj-core</artifactId>
113113
<version>${assertj.version}</version>
114114
</dependency>
115+
<!-- https://mvnrepository.com/artifact/org.hamcrest/java-hamcrest -->
116+
<dependency>
117+
<groupId>org.hamcrest</groupId>
118+
<artifactId>java-hamcrest</artifactId>
119+
<version>${java-hamcrest.version}</version>
120+
<scope>test</scope>
121+
</dependency>
115122

116123
<dependency>
117124
<groupId>net.serenity-bdd</groupId>
@@ -165,6 +172,7 @@
165172
<spring.version>4.3.8.RELEASE</spring.version>
166173
<spring-mock-mvc.version>3.0.3</spring-mock-mvc.version>
167174
<assertj.version>3.6.2</assertj.version>
175+
<java-hamcrest.version>2.0.0.0</java-hamcrest.version>
168176

169177
</properties>
170178
</project>

guava/src/test/java/org/baeldung/hamcrest/Animal.java renamed to libraries-testing/src/test/java/com/baeldung/hamcrest/Animal.java

File renamed without changes.

guava/src/test/java/org/baeldung/hamcrest/Cat.java renamed to libraries-testing/src/test/java/com/baeldung/hamcrest/Cat.java

File renamed without changes.

0 commit comments

Comments
 (0)