aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2008-03-29 02:08:01 +0000
committerBrett Porter <brett@apache.org>2008-03-29 02:08:01 +0000
commited0fa81292f6aaca377638a3fbf5b80cef029452 (patch)
treedd55cef5ef90d9889b1e86092db9aa5d0f3fa91c
parentf257dd079885eb99c14e0e314e4f97c51c6c5072 (diff)
downloadarchiva-ed0fa81292f6aaca377638a3fbf5b80cef029452.tar.gz
archiva-ed0fa81292f6aaca377638a3fbf5b80cef029452.zip
move build resources to the sandbox until ready for first release and use
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642485 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-build-resources/pom.xml32
-rw-r--r--archiva-build-resources/src/main/resources/checkstyle.xml282
-rw-r--r--archiva-build-resources/src/main/resources/header.txt21
3 files changed, 0 insertions, 335 deletions
diff --git a/archiva-build-resources/pom.xml b/archiva-build-resources/pom.xml
deleted file mode 100644
index 206c7bb15..000000000
--- a/archiva-build-resources/pom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright 2005-2006 The Apache Software Foundation.
- ~
- ~ Licensed 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>
- <groupId>org.apache.archiva</groupId>
- <artifactId>archiva-parent</artifactId>
- <version>3-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.archiva</groupId>
- <artifactId>archiva-build-resources</artifactId>
- <version>1-SNAPSHOT</version>
- <name>Archiva Build Resources</name>
- <packaging>jar</packaging>
-
-</project>
diff --git a/archiva-build-resources/src/main/resources/checkstyle.xml b/archiva-build-resources/src/main/resources/checkstyle.xml
deleted file mode 100644
index 538ba578d..000000000
--- a/archiva-build-resources/src/main/resources/checkstyle.xml
+++ /dev/null
@@ -1,282 +0,0 @@
-<?xml version="1.0"?>
-<!--
-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">
-
-<!--
- Checkstyle configuration that checks the maven coding conventions from:
--->
-
-<module name="Checker">
-
- <!-- Checks that a package.html file exists for each package. -->
- <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
- <!-- module name="PackageHtml"/ -->
-
- <!-- Checks whether files end with a new line. -->
- <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
- <!-- module name="NewlineAtEndOfFile"/ -->
-
- <!-- Checks that property files contain the same keys. -->
- <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
- <!-- module name="Translation"/ -->
-
- <module name="TreeWalker">
-
- <property name="cacheFile" value="${checkstyle.cache.file}"/>
-
- <property name="tabWidth" value="4"/>
-
- <module name="LeftCurly">
- <property name="option" value="nl"/>
- <property name="severity" value="warning"/>
- </module>
-
- <module name="RightCurly">
- <property name="option" value="alone"/>
- <property name="severity" value="warning"/>
- </module>
-
- <module name="LineLength">
- <property name="max" value="120" />
- <property name="ignorePattern" value="@version|@see|@todo|TODO"/>
- <property name="severity" value="warning"/>
- </module>
-
- <module name="MemberName" >
- <property name="severity" value="warning"/>
- </module>
-
- <!-- Checks for Javadoc comments. -->
- <!-- See http://checkstyle.sf.net/config_javadoc.html -->
- <module name="JavadocMethod">
- <property name="severity" value="info"/>
- </module>
- <module name="JavadocType">
- <property name="severity" value="info"/>
- </module>
- <module name="JavadocVariable">
- <property name="severity" value="info"/>
- </module>
-
-
- <!-- Checks for Naming Conventions. -->
- <!-- See http://checkstyle.sf.net/config_naming.html -->
- <module name="ConstantName">
- <property name="severity" value="warning"/>
- </module>
- <module name="LocalFinalVariableName">
- <property name="severity" value="warning"/>
- </module>
- <module name="LocalVariableName">
- <property name="severity" value="warning"/>
- </module>
- <module name="MethodName">
- <property name="severity" value="warning"/>
- </module>
- <module name="PackageName">
- <property name="severity" value="warning"/>
- </module>
- <module name="ParameterName">
- <property name="severity" value="warning"/>
- </module>
- <module name="StaticVariableName">
- <property name="severity" value="warning"/>
- </module>
- <module name="TypeName">
- <property name="severity" value="warning"/>
- </module>
-
-
- <!-- Checks for Headers -->
- <!-- See http://checkstyle.sf.net/config_header.html -->
- <module name="RegexpHeader">
- <property name="headerFile" value="${checkstyle.header.file}"/>
- <property name="severity" value="error"/>
- </module>
-
- <!-- Checks for imports -->
- <!-- See http://checkstyle.sf.net/config_import.html -->
- <module name="AvoidStarImport">
- <property name="severity" value="warning"/>
- </module>
- <module name="IllegalImport">
- <property name="severity" value="warning"/>
- </module>
- <module name="RedundantImport">
- <property name="severity" value="warning"/>
- </module>
- <module name="UnusedImports">
- <property name="severity" value="warning"/>
- </module>
-
-
- <!-- Checks for Size Violations. -->
- <!-- See http://checkstyle.sf.net/config_sizes.html -->
- <module name="FileLength">
- <property name="severity" value="warning"/>
- </module>
- <module name="MethodLength">
- <property name="severity" value="warning"/>
- </module>
- <module name="ParameterNumber">
- <property name="severity" value="warning"/>
- </module>
-
-
- <!-- Checks for whitespace -->
- <!-- See http://checkstyle.sf.net/config_whitespace.html -->
- <module name="EmptyForIteratorPad">
- <property name="option" value="space"/>
- <property name="severity" value="warning"/>
- </module>
- <!-- module name="NoWhitespaceAfter"/ -->
- <!-- module name="NoWhitespaceBefore"/ -->
- <module name="OperatorWrap">
- <property name="severity" value="warning"/>
- </module>
- <module name="ParenPad">
- <property name="option" value="space" />
- <property name="severity" value="warning"/>
- </module>
- <module name="TabCharacter">
- <property name="severity" value="warning"/>
- </module>
- <module name="WhitespaceAfter">
- <property name="severity" value="warning"/>
- </module>
- <module name="WhitespaceAround">
- <property name="severity" value="warning"/>
- </module>
- <!-- module name="MethodParamPad"/ -->
-
-
- <!-- Modifier Checks -->
- <!-- See http://checkstyle.sf.net/config_modifiers.html -->
- <module name="ModifierOrder">
- <property name="severity" value="warning"/>
- </module>
- <!-- <module name="RedundantModifier">
- <property name="severity" value="warning"/>
- </module> -->
-
-
- <!-- Checks for blocks. You know, those {}'s -->
- <!-- See http://checkstyle.sf.net/config_blocks.html -->
- <module name="AvoidNestedBlocks">
- <property name="severity" value="warning"/>
- </module>
- <module name="EmptyBlock">
- <property name="severity" value="warning"/>
- </module>
- <module name="NeedBraces">
- <property name="severity" value="warning"/>
- </module>
-
-
- <!-- Checks for common coding problems -->
- <!-- See http://checkstyle.sf.net/config_coding.html -->
- <!-- module name="AvoidInlineConditionals"/ -->
- <module name="DoubleCheckedLocking">
- <property name="severity" value="warning"/>
- </module>
- <module name="EmptyStatement">
- <property name="severity" value="warning"/>
- </module>
- <module name="EqualsHashCode">
- <property name="severity" value="warning"/>
- </module>
- <module name="HiddenField">
- <property name="severity" value="warning"/>
- </module>
- <module name="IllegalInstantiation">
- <property name="severity" value="warning"/>
- </module>
- <module name="InnerAssignment">
- <property name="severity" value="warning"/>
- </module>
- <module name="MagicNumber">
- <property name="severity" value="warning"/>
- </module>
- <module name="MissingSwitchDefault">
- <property name="severity" value="warning"/>
- </module>
- <module name="RedundantThrows">
- <property name="severity" value="warning"/>
- </module>
- <module name="SimplifyBooleanExpression">
- <property name="severity" value="warning"/>
- </module>
- <module name="SimplifyBooleanReturn">
- <property name="severity" value="warning"/>
- </module>
-
- <!-- Checks for class design -->
- <!-- See http://checkstyle.sf.net/config_design.html -->
- <!-- module name="DesignForExtension"/ -->
- <!-- module name="FinalClass"/ -->
- <!-- module name="HideUtilityClassConstructor"/ -->
- <module name="InterfaceIsType">
- <property name="severity" value="warning"/>
- </module>
- <module name="VisibilityModifier">
- <property name="severity" value="warning"/>
- </module>
-
-
- <!-- Miscellaneous other checks. -->
- <!-- See http://checkstyle.sf.net/config_misc.html -->
- <!-- module name="ArrayTypeStyle"/ -->
- <!-- module name="FinalParameters"/ -->
- <!-- Line with Trailing Spaces (disabled as it's to noisy)
- <module name="GenericIllegalRegexp">
- <property name="format" value="\s+$"/>
- <property name="message" value="Line has trailing spaces."/>
- </module>
- -->
- <!-- Let todo plugin handle this.
- <module name="TodoComment"/>
- -->
- <module name="UpperEll">
- <property name="severity" value="warning"/>
- </module>
-
- <!-- Old Habits Die Hard -->
- <module name="GenericIllegalRegexp">
- <property name="format" value="org.codehaus.plexus.util.StringUtil" />
- <property name="message" value="[MRM-710] Use commons-lang and StringUtils instead." />
- <property name="severity" value="error"/>
- </module>
- <module name="GenericIllegalRegexp">
- <property name="format" value="org.codehaus.plexus.util.FileUtil" />
- <property name="message" value="[MRM-709] Use commons-io and FileUtils instead." />
- <property name="severity" value="error"/>
- </module>
- <module name="GenericIllegalRegexp">
- <property name="format" value="org.codehaus.plexus.util.IOUtil" />
- <property name="message" value="[MRM-709] Use commons-io and IOUtils instead." />
- <property name="severity" value="error"/>
- </module>
-
- </module>
-
-</module>
diff --git a/archiva-build-resources/src/main/resources/header.txt b/archiva-build-resources/src/main/resources/header.txt
deleted file mode 100644
index 5059f0022..000000000
--- a/archiva-build-resources/src/main/resources/header.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-^package
-^\s*$
-^/\*\s*$
-^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$
-^ \* or more contributor license agreements. See the NOTICE file\s*$
-^ \* distributed with this work for additional information\s*$
-^ \* regarding copyright ownership. The ASF licenses this file\s*$
-^ \* to you under the Apache License, Version 2.0 \(the\s*$
-^ \* "License"\)\; you may not use this file except in compliance\s*$
-^ \* with the License. You may obtain a copy of the License at\s*$
-^ \*\s*$
-^ \* \s*http://www\.apache\.org/licenses/LICENSE-2\.0\s*$
-^ \*\s*$
-^ \* Unless required by applicable law or agreed to in writing,\s*$
-^ \* software distributed under the License is distributed on an\s*$
-^ \* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\s*$
-^ \* KIND, either express or implied. See the License for the\s*$
-^ \* specific language governing permissions and limitations\s*$
-^ \* under the License.\s*$
-^ \*/\s*$
-^\s*$