Caching Maven Dependencies with Docker - fix

This commit is contained in:
mladensavic94 2022-02-25 09:54:42 +01:00
parent 6ece2c8805
commit f4d7c9a0ea
3 changed files with 4 additions and 5 deletions

View File

@ -4,11 +4,11 @@ import com.google.common.io.Files;
public class CoreClass {
public String method(){
public String method() {
return "Hello from core module!!";
}
public String dependencyMethod(){
public String dependencyMethod() {
return Files.simplifyPath("/home/app/test");
}
}

View File

@ -5,8 +5,7 @@
<groupId>com.baeldung</groupId>
<artifactId>multi-module-caching</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>maven-caching</name>
<description>maven-caching</description>
<description>Multi-module Maven caching example</description>
<packaging>pom</packaging>
<dependencyManagement>

View File

@ -5,7 +5,7 @@ import com.google.common.io.Files;
public class MavenCachingMain {
public static void main(String[] args) {
System.out.println("Hello from maven_caching app!!!");
System.out.println("Hello from maven_caching app!!!");
System.out.println(Files.simplifyPath("/home/app/test"));
}
}