directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRKRB-133) Adding Apache License
Date Mon, 12 Jan 2015 10:05:34 GMT

     [ https://issues.apache.org/jira/browse/DIRKRB-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRKRB-133:
-------------------------------------
    Attachment: rat.txt

Here is an exemple of apache rat plugin run on the root project.


Many files have to be ignored (binary files).

The added plugin :

{code}
<pluginManagement>
  <plugins>
    ...
        <plugin>
          <groupId>org.apache.rat</groupId>
          <artifactId>apache-rat-plugin</artifactId>
          <version>0.11</version>
          <configuration>
            <excludeSubProjects>false</excludeSubProjects>
            <excludes>
              <!-- MAVEN_DEFAULT_EXCLUDES -->
              <exclude>**/target/**/*</exclude>
              <exclude>**/cobertura.ser</exclude>
              <!-- ECLIPSE_DEFAULT_EXCLUDES -->
              <exclude>**/.classpath</exclude>
              <exclude>**/.project</exclude>
              <exclude>**/.settings/**/*</exclude>
              <!-- ECLIPSE_LAUNCH_EXCLUDES -->
              <exclude>**/*.launch</exclude>
              <!-- IDEA_DEFAULT_EXCLUDES -->
              <exclude>**/*.iml</exclude>
              <exclude>**/*.ipr</exclude>
              <exclude>**/*.iws</exclude>
              <!-- MANIFEST_MF_EXCLUDES -->
              <exclude>**/MANIFEST.MF</exclude>
              <!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48
-->
              <exclude>**/dependency-reduced-pom.xml</exclude>
              <!-- LDIF_FILES_EXCLUDES -->
              <exclude>**/*.ldif</exclude>
              <!-- PDU_FILES_EXCLUDES -->
              <exclude>**/*.pdu</exclude>
              <!-- OSGI_FILES_EXCLUDES -->
              <exclude>osgi/src/main/resources/META-INF/spring.handlers</exclude>
              <exclude>osgi/src/main/resources/META-INF/spring.schemas</exclude>
              <!-- LOG_FILES_EXCLUDES -->
              <exclude>**/*.log</exclude>
              <!-- BYTECODE_EXCLUDES -->
              <exclude>**/*.bytecode</exclude>
              <!-- BMP_IMAGES_EXCLUDES -->
              <exclude>**/*.bmp</exclude>
            </excludes>
          </configuration>
        </plugin>
...
{code}

Running it :

{code}
$ mvn apache-rat:check
{code}

> Adding Apache License
> ---------------------
>
>                 Key: DIRKRB-133
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-133
>             Project: Directory Kerberos
>          Issue Type: Sub-task
>            Reporter: Lin Chen
>            Assignee: Emmanuel Lecharny
>         Attachments: rat.txt
>
>
> Adding Apache License for the codes imported from Haox project.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message