This is an automated email from the ASF dual-hosted git repository.
aleks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new e009158d7 Copy & remove only persistence.xml during static weaving
instead of full META-INF
e009158d7 is described below
commit e009158d7d73040fc6d8b24b319c664a0abe16eb
Author: Arnold Galovics <[email protected]>
AuthorDate: Thu Apr 7 21:36:05 2022 +0200
Copy & remove only persistence.xml during static weaving instead of full
META-INF
---
fineract-provider/build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index c1cbd73a6..99db4e15d 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -31,7 +31,7 @@ compileJava.doLast {
def mainSS = sourceSets.main
def source = mainSS.java.classesDirectory.get()
copy {
- from "src/main/resources/jpa/"
+ from file("src/main/resources/jpa/persistence.xml")
into "${source}/META-INF/"
}
javaexec {
@@ -42,7 +42,7 @@ compileJava.doLast {
classpath configurations.runtimeClasspath
}
delete {
- delete "${source}/META-INF/"
+ delete "${source}/META-INF/persistence.xml"
}
}