Skip to content

Commit

Permalink
In build.gradle plusRuntimeWarTemp also copy opensearch files like el…
Browse files Browse the repository at this point in the history
…asticsearch, otherwise built in version does not work
  • Loading branch information
jonesde committed Jun 1, 2022
1 parent fc2ae4f commit bda7834
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,11 @@ task plusRuntimeWarTemp {
// add Procfile to root
copy { from file('Procfile') into 'wartemp' }
// special case: copy elasticsearch plugin/module jars (needed for ES installed in runtime/elasticsearch
copy { from fileTree(dir: '.', include: moquiRuntime+'/elasticsearch/**/*.jar') into wartempFile }
if (file(moquiRuntime+'/elasticsearch').exists())
copy { from fileTree(dir: '.', include: moquiRuntime+'/elasticsearch/**/*.jar') into wartempFile }
// special case: copy opensearch plugin/module jars (needed for ES installed in runtime/opensearch
if (file(moquiRuntime+'/opensearch').exists())
copy { from fileTree(dir: '.', include: moquiRuntime+'/opensearch/**/*.jar') into wartempFile }
// special case: copy jackrabbit standalone jar (if exists)
copy { from fileTree(dir: moquiRuntime + '/jackrabbit', include: 'jackrabbit-standalone-*.jar').files; into 'wartemp/' + moquiRuntime + '/jackrabbit' }

Expand Down

0 comments on commit bda7834

Please sign in to comment.