Skip to content

Commit 6e829fb

Browse files
committed
fixing rat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jcs/trunk@1631888 13f79535-47bb-0310-9956-ffa450edef68
1 parent d484a0a commit 6e829fb

File tree

9 files changed

+166
-16
lines changed

9 files changed

+166
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing,
14+
software distributed under the License is distributed on an
15+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations
18+
under the License.
19+
-->
20+
<beans xmlns="http://java.sun.com/xml/ns/javaee"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
23+
http://java.sun.com/xml/ns/javaee/beans_1_0.xsd" />
24+
25+

Diff for: commons-jcs-jcache/src/main/java/org/apache/commons/jcs/jcache/lang/DefaultSubsitutor.java

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package org.apache.commons.jcs.jcache.lang;
221

322
public class DefaultSubsitutor implements Subsitutor

Diff for: commons-jcs-jcache/src/main/java/org/apache/commons/jcs/jcache/lang/Lang3Substitutor.java

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package org.apache.commons.jcs.jcache.lang;
221

322
import org.apache.commons.lang3.text.StrSubstitutor;

Diff for: commons-jcs-jcache/src/main/java/org/apache/commons/jcs/jcache/lang/Subsitutor.java

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package org.apache.commons.jcs.jcache.lang;
221

322
public interface Subsitutor

Diff for: commons-jcs-jcache/src/test/java/org/apache/commons/jcs/jcache/ImmediateExpiryTest.java

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package org.apache.commons.jcs.jcache;
221

322
import org.junit.Test;

Diff for: commons-jcs-tck-tests/run-tck.sh

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
#! /bin/bash
2+
3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
218
mvn clean install -Djcache.tck
319

Diff for: jcache-fast.sh

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
#! /bin/bash
22

3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
318
cd commons-jcs-core && mvn clean install -Dmaven.test.skip=true && cd -
419
cd commons-jcs-jcache && mvn clean install && cd -
520
cd commons-jcs-jcache-openjpa && mvn clean install && cd -

Diff for: pom.xml

+16-15
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,22 @@
189189
</contributors>
190190

191191
<build>
192-
<pluginManagement>
193-
<plugins>
194-
<plugin>
195-
<groupId>org.apache.rat</groupId>
196-
<artifactId>apache-rat-plugin</artifactId>
197-
<configuration>
198-
<excludes combine.children="append">
199-
<exclude>.java-version</exclude>
200-
<exclude>LICENSE.xerox</exclude>
201-
<exclude>src/scripts/zipcodes.txt</exclude>
202-
</excludes>
203-
</configuration>
204-
</plugin>
205-
</plugins>
206-
</pluginManagement>
192+
<plugins>
193+
<plugin>
194+
<groupId>org.apache.rat</groupId>
195+
<artifactId>apache-rat-plugin</artifactId>
196+
<configuration>
197+
<excludes combine.children="append">
198+
<exclude>.java-version</exclude>
199+
<exclude>**/LICENSE.xerox</exclude>
200+
<exclude>**/zipcodes.txt</exclude>
201+
<exclude>**/download_jcs.cgi</exclude>
202+
<exclude>**/.gitignore</exclude>
203+
<exclude>**/META-INF/services/javax.*</exclude>
204+
</excludes>
205+
</configuration>
206+
</plugin>
207+
</plugins>
207208
</build>
208209

209210
<dependencyManagement>

Diff for: src/site/resources/download_jcs.cgi

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
#!/bin/sh
2+
3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
18+
219
# Just call the standard mirrors.cgi script. It will use download.html
320
# as the input template.
4-
exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
21+
exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*

0 commit comments

Comments
 (0)