mirror of
https://github.com/google/nomulus
synced 2026-01-03 11:45:39 +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 {
|
war {
|
||||||
webInf {
|
webInf {
|
||||||
from "../../core/src/main/java/google/registry/env/common/${project.name}/WEB-INF"
|
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