diff --git a/core/pom.xml b/core/pom.xml
index c5a0559ba..1808d6a9e 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -49,7 +49,7 @@
maven-apt-plugin
uri=/struts-tags,tlibVersion=2.2.3,jspVersion=1.2,shortName=s,displayName="Struts Tags",
- outFile=${basedir}/src/main/resources/META-INF/struts-tags.tld,
+ outFile=${basedir}/target/classes/META-INF/struts-tags.tld,
description="To make it easier to access dynamic data;
the Apache Struts framework includes a library of custom tags.
The tags interact with the framework's validation and internationalization features;
diff --git a/core/src/main/resources/META-INF/README.txt b/core/src/main/resources/META-INF/README.txt
new file mode 100644
index 000000000..71cb1b7ed
--- /dev/null
+++ b/core/src/main/resources/META-INF/README.txt
@@ -0,0 +1,3 @@
+TLD file is generated inside META-INF after compilation.
+If META-INF is empty, Maven will not copy it to the "target/classes" folder.
+Please do not remove META-INF, or this file.
\ No newline at end of file