Bug 49078: javadoc.jar was missing NOTICE and LICENSE

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/companions/component/trunk@956310 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index d8d3a99..0c6396b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -156,6 +156,23 @@
               <goal>run</goal>
             </goals>
           </execution>
+          <execution>
+            <id>javadoc.resources</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <copy todir="${project.build.directory}/apidocs/META-INF">
+                  <fileset dir="${basedir}">
+                    <include name="LICENSE" />
+                    <include name="NOTICE" />
+                  </fileset>
+                </copy>
+              </tasks>
+            </configuration>
+          </execution>
         </executions>
        <dependencies>
           <dependency>
@@ -196,6 +213,7 @@
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
           <encoding>UTF-8</encoding>
+          <docEncoding>UTF-8</docEncoding>
         </configuration>
         <executions>
             <execution>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 07808a9..f1fe4ff 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -23,6 +23,7 @@
     <release version="1.0" date="TBD" description="Initial release">
       <action issue="42094" type="add">Component framework backported from log4j 1.3.</action>
       <action issue="49390" type="add">component 1.0 release preparation</action>
+      <action issue="49078" action="fix">javadoc.jar was missing NOTICE and LICENSE.</action>
     </release>
   </body>
 </document>