Caching Maven Dependencies with Docker - fix
This commit is contained in:
parent
6ece2c8805
commit
f4d7c9a0ea
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue