Skip to content

Commit

Permalink
WW-2147
Browse files Browse the repository at this point in the history
Fixed license headers where needed.
Re-enabled RAT plugin and fixed its configuration.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651946 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Antonio Petrelli committed Apr 27, 2008
1 parent e9cb494 commit 974e051
Show file tree
Hide file tree
Showing 769 changed files with 1,850 additions and 341 deletions.
27 changes: 24 additions & 3 deletions apps/pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* $Id$
*
* 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.
*/
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand Down Expand Up @@ -112,11 +135,10 @@
</activation>
<build>
<plugins>
<!--
<plugin>
<inherited>true</inherited>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>verify</phase>
Expand All @@ -140,7 +162,6 @@
</execution>
</executions>
</plugin>
-->
</plugins>
</build>
</profile>
Expand Down
23 changes: 22 additions & 1 deletion apps/rest-showcase/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
/*
* $Id$
*
* 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.
*/
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand Down
3 changes: 1 addition & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
</links>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>
Expand All @@ -144,10 +143,10 @@
<exclude>src/main/resources/org/apache/struts2/static/domTT.js</exclude>
<exclude>src/test/resources/org/apache/struts2/interceptor/validation/*</exclude>
<exclude>src/site/resources/tags/**</exclude>
<exclude>src/main/resources/*LICENSE.txt</exclude>
</excludes>
</configuration>
</plugin>
-->
</plugins>
</reporting>

Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/RequestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2;

import java.util.Map;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/StrutsConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2;

import org.apache.struts2.dispatcher.mapper.CompositeActionMapper;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/StrutsException.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2;

import com.opensymphony.xwork2.XWorkException;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/StrutsStatics.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/Bean.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.util.Collection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import org.apache.struts2.views.annotations.StrutsTagAttribute;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/Date.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import com.opensymphony.xwork2.inject.Inject;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/Div.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/Else.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.util.ArrayList;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/File.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/Form.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import com.opensymphony.xwork2.ObjectFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/Head.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/I18n.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/struts2/components/If.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.util.LinkedHashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.io.Writer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import javax.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package org.apache.struts2.components;

import java.lang.reflect.Array;
Expand Down
Loading

0 comments on commit 974e051

Please sign in to comment.