From 13b5b3a41a814fb708e1658f682cfe45abef0093 Mon Sep 17 00:00:00 2001 From: Antonio Petrelli Date: Sat, 28 Jul 2007 15:14:04 +0000 Subject: [PATCH] WW-2049 Added license to core/pom.xml. Added configuration of RAT plugin in core/pom.xml to exclude some testing and generated files. Third bunch of added licenses. The main project, the "core" and "api" modules have only correct license headers. git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560554 13f79535-47bb-0310-9956-ffa450edef68 --- core/pom.xml | 39 +++++++++++++++++++ .../struts2/interceptor/debugging/browser.ftl | 22 +++++++++++ .../template/css_xhtml/theme.properties | 19 +++++++++ core/src/site/resources/tags/div.html | 2 +- .../java/org/apache/struts2/SomeEnum.java | 20 ++++++++++ core/src/test/resources/XSLTResultTest.xsl | 22 +++++++++++ core/src/test/resources/XSLTResultTest2.xsl | 22 +++++++++++ core/src/test/resources/XSLTResultTest3.xsl | 22 +++++++++++ core/src/test/resources/XSLTResultTest4.xsl | 22 +++++++++++ core/src/test/resources/log4j.properties | 19 +++++++++ .../apache/struts2/TestAction-validation.xml | 23 +++++++++++ .../org/apache/struts2/TestAction.properties | 19 +++++++++ .../components/template/dummy.properties | 19 +++++++++ .../theme1/themeThroughClassPath.properties | 19 +++++++++ .../theme1/themeThroughFileSystem.properties | 19 +++++++++ .../struts2/components/tempo.properties | 19 +++++++++ .../apache/struts2/dispatcher/someJspFile.jsp | 23 +++++++++++ .../FileUploadInterceptor.properties | 19 +++++++++ .../org/apache/struts2/othertest.properties | 19 +++++++++ .../views/freemarker/someFreeMarkerFile.ftl | 22 +++++++++++ core/src/test/resources/struts.properties | 19 +++++++++ core/src/test/resources/struts.xml | 22 +++++++++++ .../resources/template/test/Component.ftl | 23 +++++++++++ .../test/resources/template/test/checkbox.jsp | 23 +++++++++++ core/src/test/resources/test.properties | 19 +++++++++ .../test/resources/testmessages.properties | 19 +++++++++ .../test/resources/testmessages2.properties | 19 +++++++++ core/src/test/resources/validators.xml | 22 +++++++++++ 28 files changed, 575 insertions(+), 1 deletion(-) diff --git a/core/pom.xml b/core/pom.xml index 7be32e402..0be650b03 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1,4 +1,26 @@ + 4.0.0 @@ -107,6 +129,23 @@ + + org.codehaus.mojo + rat-maven-plugin + 1.0-alpha-2 + + + pom.xml + src/** + + + src/test/resources/org/apache/struts2/views/jsp/ui/* + src/main/resources/org/apache/struts2/static/domTT.js + src/test/resources/org/apache/struts2/interceptor/validation/* + src/site/resources/tags/** + + + diff --git a/core/src/main/resources/org/apache/struts2/interceptor/debugging/browser.ftl b/core/src/main/resources/org/apache/struts2/interceptor/debugging/browser.ftl index 834a8445a..0aa27c475 100644 --- a/core/src/main/resources/org/apache/struts2/interceptor/debugging/browser.ftl +++ b/core/src/main/resources/org/apache/struts2/interceptor/debugging/browser.ftl @@ -1,3 +1,25 @@ +<#-- +/* + * $Id: Action.java 502296 2007-02-01 17:33:39Z niallp $ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +-->