mirror of
https://github.com/google/nomulus
synced 2025-12-23 06:15:42 +00:00
Remove separate deployment of persistence.xml (#563)
* Remove separate deployment of persistence.xml We added a step to explicitly copy persistence.xml because for some reason it wasn't originally getting deployed to app-engine, resulting in failures on startup. However, this file is now included in core.jar and we are now getting a warning about multiple persistence units with the same name as it reads the files from both the filesystem and core.jar.
This commit is contained in:
@@ -31,10 +31,6 @@ def coreResourcesDir = "${rootDir}/core/build/resources/main"
|
||||
war {
|
||||
webInf {
|
||||
from "../../core/src/main/java/google/registry/env/common/${project.name}/WEB-INF"
|
||||
|
||||
from("${coreResourcesDir}/META-INF/persistence.xml") {
|
||||
into "classes/META-INF"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user