You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2013/07/23 20:21:13 UTC
git commit: [SSHD-191] Add rat check
Updated Branches:
refs/heads/master 29262ca3d -> 4d0782122
[SSHD-191] Add rat check
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/4d078212
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/4d078212
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/4d078212
Branch: refs/heads/master
Commit: 4d07821221ac49b90412e1b12b51d08f7fc9ef7c
Parents: 29262ca
Author: Guillaume Nodet <gn...@apache.org>
Authored: Tue Jul 23 20:21:05 2013 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Tue Jul 23 20:21:05 2013 +0200
----------------------------------------------------------------------
pom.xml | 19 +++++++++++++++++++
sshd-core/src/test/resources/dsaprivkey.pem | 15 +++++++++++++++
sshd-core/src/test/resources/hostkey.pem | 15 +++++++++++++++
.../java/org/apache/sshd/git/GitServerTest.java | 18 ++++++++++++++++++
sshd-git/src/test/resources/hostkey.pem | 15 +++++++++++++++
sshd-sftp/src/test/resources/hostkey.pem | 15 +++++++++++++++
6 files changed, 97 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/4d078212/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b5357f2..9c7f795 100644
--- a/pom.xml
+++ b/pom.xml
@@ -232,6 +232,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.9</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <excludes>
+ <exclude>**/*.iml</exclude>
+ <exclude>src/docs/**</exclude>
+ <exclude>**/stty-output-*.txt</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/4d078212/sshd-core/src/test/resources/dsaprivkey.pem
----------------------------------------------------------------------
diff --git a/sshd-core/src/test/resources/dsaprivkey.pem b/sshd-core/src/test/resources/dsaprivkey.pem
index c920b7f..edc2f72 100644
--- a/sshd-core/src/test/resources/dsaprivkey.pem
+++ b/sshd-core/src/test/resources/dsaprivkey.pem
@@ -1,3 +1,18 @@
+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.
+
-----BEGIN DSA PRIVATE KEY-----
MIIBuwIBAAKBgQDEA7leYDKyJOFJU3h0uPpWN52iTpJk8+IM53Vc/91k7pBIjjka
+MP24BMh+sI2SRhxg2AtvwnzRRBVJWzEA4+tuCI6WukgeDQtSNp3YuWzOMefZ6Wb
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/4d078212/sshd-core/src/test/resources/hostkey.pem
----------------------------------------------------------------------
diff --git a/sshd-core/src/test/resources/hostkey.pem b/sshd-core/src/test/resources/hostkey.pem
index 6b6974c..18d68ac 100644
--- a/sshd-core/src/test/resources/hostkey.pem
+++ b/sshd-core/src/test/resources/hostkey.pem
@@ -1,3 +1,18 @@
+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.
+
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDdfIWeSV4o68dRrKSzFd/Bk51E65UTmmSrmW0O1ohtzi6HzsDP
jXgCtlTt3FqTcfFfI92IlTr4JWqC9UK1QT1ZTeng0MkPQmv68hDANHbt5CpETZHj
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/4d078212/sshd-git/src/test/java/org/apache/sshd/git/GitServerTest.java
----------------------------------------------------------------------
diff --git a/sshd-git/src/test/java/org/apache/sshd/git/GitServerTest.java b/sshd-git/src/test/java/org/apache/sshd/git/GitServerTest.java
index d0c2626..ed0a17e 100644
--- a/sshd-git/src/test/java/org/apache/sshd/git/GitServerTest.java
+++ b/sshd-git/src/test/java/org/apache/sshd/git/GitServerTest.java
@@ -1,3 +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.
+ */
package org.apache.sshd.git;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/4d078212/sshd-git/src/test/resources/hostkey.pem
----------------------------------------------------------------------
diff --git a/sshd-git/src/test/resources/hostkey.pem b/sshd-git/src/test/resources/hostkey.pem
index 6b6974c..18d68ac 100644
--- a/sshd-git/src/test/resources/hostkey.pem
+++ b/sshd-git/src/test/resources/hostkey.pem
@@ -1,3 +1,18 @@
+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.
+
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDdfIWeSV4o68dRrKSzFd/Bk51E65UTmmSrmW0O1ohtzi6HzsDP
jXgCtlTt3FqTcfFfI92IlTr4JWqC9UK1QT1ZTeng0MkPQmv68hDANHbt5CpETZHj
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/4d078212/sshd-sftp/src/test/resources/hostkey.pem
----------------------------------------------------------------------
diff --git a/sshd-sftp/src/test/resources/hostkey.pem b/sshd-sftp/src/test/resources/hostkey.pem
index 6b6974c..18d68ac 100644
--- a/sshd-sftp/src/test/resources/hostkey.pem
+++ b/sshd-sftp/src/test/resources/hostkey.pem
@@ -1,3 +1,18 @@
+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.
+
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDdfIWeSV4o68dRrKSzFd/Bk51E65UTmmSrmW0O1ohtzi6HzsDP
jXgCtlTt3FqTcfFfI92IlTr4JWqC9UK1QT1ZTeng0MkPQmv68hDANHbt5CpETZHj