[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636285#action_12636285
 ] 

Leonardo Uribe commented on TOMAHAWK-1025:
------------------------------------------

Checking apache commons for a solution, there is a fragment on commons parent 
pom that do the required for javadoc jars:

<build>
   <plugins>
    ..........
      <plugin>
        <!--
          - Copy LICENSE.txt and NOTICE.txt so that they are included
          - in the -javadoc jar file for the component.
          -->
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <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.txt" />
                    <include name="NOTICE.txt" />
                  </fileset>
                </copy>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
      ..........
   <plugins>
<build>

Maybe we can do something similar with myfaces master pom.


> NOTICE.txt and LICENSE.txt are missing in javadoc and tlddoc jars
> -----------------------------------------------------------------
>
>                 Key: TOMAHAWK-1025
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1025
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Build Process (Assembly)
>    Affects Versions: 1.1.1, 1.1.2, 1.1.3, 1.1.5, 1.1.6
>            Reporter: Manfred Geiler
>            Assignee: Manfred Geiler
>            Priority: Blocker
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to