File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 107107 <build >
108108 <resources >
109109 <resource >
110- <directory >browser</directory >
111- <!-- This will place the contents of the 'browser' folder into 'BOOT-INF/classes/browser/'
112- in the JAR -->
113- <targetPath >browser</targetPath >
110+ <!-- This will correctly place the contents of the 'browser' folder into 'browser/' at the
111+ root of the normal JAR, and in 'BOOT-INF/classes/browser/' in the Spring Boot repackaged
112+ executable JAR.
113+
114+ We use <directory>. and <include>browser/** instead of <directory>browser with <targetPath>browser
115+ because that does not work and used to cause https://github.com/google/adk-java/issues/302.
116+
117+ An alternative would be to simply use src/main/resources/browser instead of doing this. -->
118+ <directory >.</directory >
119+ <includes >
120+ <include >browser/**</include >
121+ </includes >
114122 </resource >
115123 </resources >
116124 <pluginManagement >
You can’t perform that action at this time.
0 commit comments