Skip to content

Commit

Permalink
start working on rat fixing
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jcs/trunk@1591165 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
olamy committed Apr 30, 2014
1 parent 4098298 commit 959d27c
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 8 deletions.
9 changes: 9 additions & 0 deletions commons-jcs-core/pom.xml
Expand Up @@ -164,6 +164,15 @@
<artifactId>rmic-maven-plugin</artifactId>
<version>1.1</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>src/aspect/org/apache/commons/Trace.aj</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down
17 changes: 17 additions & 0 deletions commons-jcs-core/src/conf/cache.policy
@@ -1,3 +1,20 @@
// 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.

grant {
permission java.security.AllPermission;
};
Expand Down
21 changes: 21 additions & 0 deletions init-git-svn.sh
@@ -0,0 +1,21 @@
# 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.
# !/bin/zsh -f
cd .git;wget http://git.apache.org/authors.txt; cd ..
git config svn.authorsfile ".git/authors.txt"
git svn init --prefix=origin/ --tags=tags --trunk=trunk --branches=branches https://svn.apache.org/repos/asf/commons/proper/jcs
git svn rebase
18 changes: 18 additions & 0 deletions pom.xml
Expand Up @@ -180,6 +180,24 @@
</contributor>
</contributors>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>.java-version</exclude>
<exclude>LICENSE.xerox</exclude>
<exclude>src/scripts/zipcodes.txt</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<dependencyManagement>
<dependencies>

Expand Down
8 changes: 0 additions & 8 deletions tck.sh

This file was deleted.

0 comments on commit 959d27c

Please sign in to comment.