hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1490654 - in /httpcomponents/hc-stylecheck: ./ tags/ trunk/ trunk/src/ trunk/src/main/ trunk/src/main/resources/ trunk/src/main/resources/hc-stylecheck/
Date Fri, 07 Jun 2013 14:01:09 GMT
Author: olegk
Date: Fri Jun  7 14:01:08 2013
New Revision: 1490654

URL: http://svn.apache.org/r1490654
Log:
Initial import of HC style-check

Added:
    httpcomponents/hc-stylecheck/
    httpcomponents/hc-stylecheck/tags/
    httpcomponents/hc-stylecheck/trunk/
    httpcomponents/hc-stylecheck/trunk/pom.xml   (with props)
    httpcomponents/hc-stylecheck/trunk/src/
    httpcomponents/hc-stylecheck/trunk/src/main/
    httpcomponents/hc-stylecheck/trunk/src/main/resources/
    httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/
    httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/asl2.header
    httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml   (with
props)
    httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml   (with
props)

Added: httpcomponents/hc-stylecheck/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/hc-stylecheck/trunk/pom.xml?rev=1490654&view=auto
==============================================================================
--- httpcomponents/hc-stylecheck/trunk/pom.xml (added)
+++ httpcomponents/hc-stylecheck/trunk/pom.xml Fri Jun  7 14:01:08 2013
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   ====================================================================
+   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.
+   ====================================================================
+
+   This software consists of voluntary contributions made by many
+   individuals on behalf of the Apache Software Foundation.  For more
+   information on the Apache Software Foundation, please see
+   <http://www.apache.org />.
+ -->
+<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>
+  <groupId>org.apache.httpcomponents</groupId>
+  <artifactId>hc-stylecheck</artifactId>
+  <version>1-SNAPSHOT</version>
+  <description>Shared stylecheck plugin configuration for HC projects</description>
+  <packaging>jar</packaging>
+
+  <organization>
+    <name>The Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+</project>

Propchange: httpcomponents/hc-stylecheck/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpcomponents/hc-stylecheck/trunk/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: httpcomponents/hc-stylecheck/trunk/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/asl2.header
URL: http://svn.apache.org/viewvc/httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/asl2.header?rev=1490654&view=auto
==============================================================================
--- httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/asl2.header (added)
+++ httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/asl2.header Fri Jun
 7 14:01:08 2013
@@ -0,0 +1,26 @@
+/*
+ * ====================================================================
+ * 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation.  For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ */

Added: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml
URL: http://svn.apache.org/viewvc/httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml?rev=1490654&view=auto
==============================================================================
--- httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml (added)
+++ httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml Fri Jun
 7 14:01:08 2013
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<!DOCTYPE module PUBLIC
+    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<module name="Checker">
+  <module name="TreeWalker">
+    <module name="AvoidStarImport"/>
+    <module name="IllegalImport" />
+    <module name="RedundantImport" />
+    <module name="UnusedImports"/>
+    <module name="EqualsHashCode"/>
+    <module name="FinalParameters"/>
+    <module name="FinalLocalVariable"/>
+  </module>
+  <module name="Header">
+    <property name="headerFile" value="${checkstyle.header.file}" />
+  </module>
+  <module name="FileLength">
+    <property name="max" value="3000" />
+  </module>
+  <module name="FileTabCharacter">
+    <property name="eachLine" value="true"/>
+  </module>
+  <module name="RegexpSingleline">
+    <property name="format" value="[ \t]+$"/>
+    <property name="message" value="Trailing whitespace"/>
+  </module>
+</module>

Propchange: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml
URL: http://svn.apache.org/viewvc/httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml?rev=1490654&view=auto
==============================================================================
--- httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml (added)
+++ httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml Fri Jun
 7 14:01:08 2013
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<!DOCTYPE module PUBLIC
+    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<module name="Checker">
+  <module name="TreeWalker">
+    <module name="AvoidStarImport"/>
+    <module name="IllegalImport" />
+    <module name="RedundantImport" />
+    <module name="UnusedImports"/>
+    <module name="EqualsHashCode"/>
+  </module>
+  <module name="Header">
+    <property name="headerFile" value="${checkstyle.header.file}" />
+  </module>
+  <module name="FileLength">
+    <property name="max" value="3000" />
+  </module>
+  <module name="FileTabCharacter">
+    <property name="eachLine" value="true"/>
+  </module>
+  <module name="RegexpSingleline">
+    <property name="format" value="[ \t]+$"/>
+    <property name="message" value="Trailing whitespace"/>
+  </module>
+</module>

Propchange: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/relaxed.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message