Rat (Release Audit Tool) results

The following document contains the results of Rat (Release Audit Tool).

*****************************************************
Summary
-------
Generated at: 2017-09-06T07:52:45+02:00
Notes: 1
Binaries: 0
Archives: 0
Standards: 25

Apache Licensed: 21
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

4 Unknown Licenses

*******************************

Unapproved licenses:

  /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/StrutsTilesAnnotationProcessorTest.java
  /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionMultipleAnnotations.java
  /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionSingleAnnotation.java
  /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionSingleAnnotationAllEmpty.java

*******************************

Archives:

*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require AL headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc will be marked N
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/pom.xml
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/annotation/TilesAddAttribute.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/annotation/TilesAddListAttribute.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/annotation/TilesDefinition.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/annotation/TilesDefinitions.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/annotation/TilesPutAttribute.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/annotation/TilesPutListAttribute.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/I18NAttributeEvaluator.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsApplicationResource.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsAttributeEvaluator.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsFreeMarkerAttributeRenderer.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsPreparerFactory.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesAnnotationProcessor.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesInitializer.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesListener.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesLocaleResolver.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsWildcardServletApplicationContext.java
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/java/org/apache/struts2/views/tiles/TilesResult.java
  N     /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/resources/NOTICE.txt
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/main/resources/struts-plugin.xml
  AL    /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/site/site.xml
 !????? /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/StrutsTilesAnnotationProcessorTest.java
 !????? /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionMultipleAnnotations.java
 !????? /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionSingleAnnotation.java
 !????? /Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionSingleAnnotationAllEmpty.java
 
*****************************************************
 Printing headers for files without AL header...
 
 
=======================================================================
==/Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/StrutsTilesAnnotationProcessorTest.java
=======================================================================
package org.apache.struts2.tiles;

import java.util.List;
import java.util.Set;

import org.apache.struts2.tiles.annotation.TilesDefinition;
import org.apache.tiles.Attribute;
import org.apache.tiles.Definition;
import org.apache.tiles.Expression;
import org.junit.Test;

import org.junit.Assert;

public class StrutsTilesAnnotationProcessorTest {

    @Test
    public void findAnnotationSingleAction() {
        StrutsTilesAnnotationProcessor annotationProcessor = new StrutsTilesAnnotationProcessor();
        TilesDefinition tilesDefinition = annotationProcessor.findAnnotation(new TilesTestActionSingleAnnotation(), null);
        Assert.assertNotNull(tilesDefinition);
        Assert.assertEquals("definition-name", tilesDefinition.name());
    }

    @Test
    public void findAnnotationMultipleActionNameNull() {
        StrutsTilesAnnotationProcessor annotationProcessor = new StrutsTilesAnnotationProcessor();
        TilesDefinition tilesDefinition = annotationProcessor.findAnnotation(new TilesTestActionMultipleAnnotations(), null);
        Assert.assertNotNull(tilesDefinition);
        Assert.assertEquals("def1", tilesDefinition.name());
    }

    @Test
    public void findAnnotationMultipleActionNameGiven() {
        StrutsTilesAnnotationProcessor annotationProcessor = new StrutsTilesAnnotationProcessor();
        TilesDefinition tilesDefinition = annotationProcessor.findAnnotation(new TilesTestActionMultipleAnnotations(), "def2");
        Assert.assertNotNull(tilesDefinition);
        Assert.assertEquals("def2", tilesDefinition.name());
    }

    @Test
    public void findAnnotationMultipleActionNotFound() {
        StrutsTilesAnnotationProcessor annotationProcessor = new StrutsTilesAnnotationProcessor();
        TilesDefinition tilesDefinition = annotationProcessor.findAnnotation(new TilesTestActionMultipleAnnotations(), "def3");
        Assert.assertNull(tilesDefinition);
    }

    @Test
    public void buildDefiniton() {
        StrutsTilesAnnotationProcessor annotationProcessor = new StrutsTilesAnnotationProcessor();
        TilesDefinition tilesDefinition = annotationProcessor.findAnnotation(new TilesTestActionSingleAnnotation(), null);

=======================================================================
==/Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionMultipleAnnotations.java
=======================================================================
package org.apache.struts2.tiles;

import org.apache.struts2.tiles.annotation.TilesDefinition;
import org.apache.struts2.tiles.annotation.TilesDefinitions;

@TilesDefinitions({
    @TilesDefinition(name="def1"),
    @TilesDefinition(name="def2"),
})
public class TilesTestActionMultipleAnnotations {

}

=======================================================================
==/Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionSingleAnnotation.java
=======================================================================
package org.apache.struts2.tiles;

import org.apache.struts2.tiles.annotation.TilesAddAttribute;
import org.apache.struts2.tiles.annotation.TilesAddListAttribute;
import org.apache.struts2.tiles.annotation.TilesDefinition;
import org.apache.struts2.tiles.annotation.TilesPutAttribute;
import org.apache.struts2.tiles.annotation.TilesPutListAttribute;

@TilesDefinition(
        name = "definition-name", 
        extend = "base-definition", 
        preparer = "preparer", 
        role = "role", 
        template = "template", 
        templateExpression = "templ*", 
        templateType = "type",
        putAttributes = {
                @TilesPutAttribute(
                        cascade = true, 
                        expression = "lang:expr", 
                        name = "put-attr", 
                        role = "attr-role", 
                        type = "attr-type", 
                        value = "attr-val")
        },
        putListAttributes = {
                @TilesPutListAttribute(
                        cascade = true, 
                        inherit = true, 
                        name = "list-name", 
                        role = "list-role",
                        addAttributes = {
                                @TilesAddAttribute(
                                        expression = "list-attr-expr", 
                                        role = "list-attr-role", 
                                        type = "list-attr-type", 
                                        value = "list-attr-val")
                        },
                        addListAttributes = {
                                @TilesAddListAttribute(
                                        role = "list-list-attr-role", 
                                        addAttributes = {@TilesAddAttribute("list-list-add-attr")})
                        }
                )
        }
)
public class TilesTestActionSingleAnnotation {

}

=======================================================================
==/Users/lukaszlenart/Projects/Apache/struts/target/checkout/plugins/tiles/src/test/java/org/apache/struts2/tiles/TilesTestActionSingleAnnotationAllEmpty.java
=======================================================================
package org.apache.struts2.tiles;

import org.apache.struts2.tiles.annotation.TilesAddAttribute;
import org.apache.struts2.tiles.annotation.TilesAddListAttribute;
import org.apache.struts2.tiles.annotation.TilesDefinition;
import org.apache.struts2.tiles.annotation.TilesPutAttribute;
import org.apache.struts2.tiles.annotation.TilesPutListAttribute;

@TilesDefinition(
        putAttributes = {
                @TilesPutAttribute(name = "put-attr")
        },
        putListAttributes = {
                @TilesPutListAttribute(
                        name = "list-name",
                        addAttributes = {
                                @TilesAddAttribute()
                        },
                        addListAttributes = {
                                @TilesAddListAttribute(
                                        addAttributes = {@TilesAddAttribute()})
                        }
                )
        }
)
public class TilesTestActionSingleAnnotationAllEmpty {

}