Skip to content

Commit 1e4d934

Browse files
committed
fixes #2054
1 parent 4fb5a3c commit 1e4d934

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

COPYRIGHT

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2019-2023 the original author or authors.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
https://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

pom.xml

+27
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,33 @@
191191
</plugin>
192192
</plugins>
193193
</pluginManagement>
194+
<plugins>
195+
<plugin>
196+
<groupId>org.apache.maven.plugins</groupId>
197+
<artifactId>maven-resources-plugin</artifactId>
198+
<executions>
199+
<execution>
200+
<id>copy-resources</id>
201+
<phase>validate</phase>
202+
<goals>
203+
<goal>copy-resources</goal>
204+
</goals>
205+
<configuration>
206+
<outputDirectory>${basedir}/target/classes/META-INF</outputDirectory>
207+
<resources>
208+
<resource>
209+
<directory>${basedir}/..</directory>
210+
<includes>
211+
<include>LICENSE</include>
212+
<include>COPYRIGHT</include>
213+
</includes>
214+
</resource>
215+
</resources>
216+
</configuration>
217+
</execution>
218+
</executions>
219+
</plugin>
220+
</plugins>
194221
</build>
195222

196223
<profiles>

0 commit comments

Comments
 (0)