KanonConductor

changeset 20:01409f885018 jenkins-support

jenkins initial support.
author chris
date Tue, 22 Mar 2011 19:03:40 +0900
parents d0c076e3d9d7
children 818a2d559b52
files SampleProject/LibraryProject/trunk/pom.xml SampleProject/LibraryProject/trunk/src/conf/sun_checks_eclipse.xml SampleProject/LibraryProject/trunk/src/main/java/org/ultimania/SampleLib.java SampleProject/LibraryProject/trunk/src/test/java/org/ultimania/SampleLibTest.java SampleProject/WebProject/trunk/pom.xml SampleProject/WebProject/trunk/src/conf/sun_checks_eclipse.xml kanon-setup resource/httpd.conf resource/jenkins-config/config.xml resource/jenkins-config/hudson.tasks.Maven.xml resource/jenkins-config/jobs/LibraryProject/config.xml resource/jenkins-config/jobs/LibraryProject/svnexternals.txt resource/jenkins-config/jobs/WebProject/config.xml resource/jenkins-config/jobs/WebProject/svnexternals.txt resource/jenkins-config/kanon.install resource/jenkins-config/persona/hudmi/failure.png resource/jenkins-config/persona/hudmi/icon.png resource/jenkins-config/persona/hudmi/other.png resource/jenkins-config/persona/hudmi/persona.xml resource/jenkins-config/persona/hudmi/success.png resource/jenkins-config/plugins/analysis-core.hpi resource/jenkins-config/plugins/checkstyle.hpi resource/jenkins-config/plugins/dashboard-view.hpi resource/jenkins-config/plugins/dry.hpi resource/jenkins-config/plugins/emma.hpi resource/jenkins-config/plugins/findbugs.hpi resource/jenkins-config/plugins/persona.hpi resource/jenkins-config/plugins/pmd.hpi resource/jenkins-config/plugins/trac.hpi resource/jenkins-config/plugins/violations.hpi
diffstat 29 files changed, 1177 insertions(+), 278 deletions(-) [+]
line diff
     1.1 --- a/SampleProject/LibraryProject/trunk/pom.xml	Tue Mar 22 12:00:52 2011 +0900
     1.2 +++ b/SampleProject/LibraryProject/trunk/pom.xml	Tue Mar 22 19:03:40 2011 +0900
     1.3 @@ -1,10 +1,10 @@
     1.4 -<?xml version="1.0" encoding="Windows-31J"?>
     1.5 +<?xml version="1.0" encoding="utf-8"?>
     1.6  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.7 -  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     1.8 +	 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     1.9  
    1.10    <modelVersion>4.0.0</modelVersion>
    1.11  
    1.12 -  <!-- ‚±‚±‚ðƒJƒXƒ^ƒ}ƒCƒY -->
    1.13 +  <!-- ã“ã“をカスタマイズ -->
    1.14    <name>LibraryProject</name>
    1.15    <groupId>com.example</groupId>
    1.16    <artifactId>library</artifactId>
    1.17 @@ -16,53 +16,48 @@
    1.18  
    1.19    <packaging>jar</packaging>
    1.20  
    1.21 -  <!-- Maven‚̃Šƒ|ƒWƒgƒŠ‚ÌÝ’è -->
    1.22 +  <properties>
    1.23 +    <project.build.sourceEncoding>Windows-31J</project.build.sourceEncoding>
    1.24 +    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    1.25 +  </properties>
    1.26 +
    1.27 +  <!-- Mavenã®ãƒªãƒã‚¸ãƒˆãƒªã®è¨­å®š -->
    1.28    <repositories>
    1.29      <repository>
    1.30        <id>example.com</id>
    1.31        <name>My Maven Repository</name>
    1.32 -      <!-- localhost ‚ð‚±‚ÌƒT[ƒo‚̃zƒXƒg–¼‚É’uŠ· -->
    1.33 +      <!-- localhost ã‚’ã“ã®ã‚µãƒ¼ãƒã®ãƒ›ã‚¹ãƒˆåã«ç½®æ› -->
    1.34        <url>http://localhost/maven/</url>
    1.35        <layout>default</layout>	  
    1.36      </repository>
    1.37    </repositories>
    1.38  
    1.39 -  <!-- ”z•zæ‚ÌÝ’è -->
    1.40 +  <!-- é…布先ã®è¨­å®š -->
    1.41    <distributionManagement>
    1.42      <repository>
    1.43        <id>local-repository</id>
    1.44 -      <url>file:///var/www/maven</url>
    1.45 +      <url>/var/opt/kanon/maven</url>
    1.46      </repository>
    1.47      <site>
    1.48        <id>maven.apache.org</id>
    1.49 -      <url>file:///var/www/report/SampleProject/LibraryProject</url>
    1.50 +      <url>/var/opt/kanon/report/SampleProject/LibraryProject</url>
    1.51      </site>
    1.52    </distributionManagement>
    1.53  
    1.54 -  <!-- SVN‚ÌÝ’è -->
    1.55 +  <!-- SVNã®è¨­å®š -->
    1.56    <scm>
    1.57 -    <!-- connection,developerConnection,url‚Ì localhost ‚ð‚±‚ÌƒT[ƒo‚̃zƒXƒg–¼‚É’uŠ· -->
    1.58 +    <!-- connection,developerConnection,urlã® localhost ã‚’ã“ã®ã‚µãƒ¼ãƒã®ãƒ›ã‚¹ãƒˆåã«ç½®æ› -->
    1.59      <connection>scm:svn:http://localhost/svn/SampleProject/LibraryProject/trunk/</connection>
    1.60      <developerConnection>scm:svn:http://localhost/svn/SampleProject/LibraryProject/trunk/</developerConnection>
    1.61      <url>http://localhost/svn/SampleProject/LibraryProject/</url>
    1.62    </scm>
    1.63  
    1.64 -  <!-- CI‚ÌÝ’è -->
    1.65 +  <!-- CIã®è¨­å®š -->
    1.66    <ciManagement>
    1.67      <system>jenkins</system>
    1.68 -<!-- 
    1.69 -    <notifiers>
    1.70 -      <notifier>
    1.71 -        <type>mail</type>
    1.72 -        <configuration>
    1.73 -          <address>dev-ml@example.com</address>
    1.74 -        </configuration>
    1.75 -      </notifier>
    1.76 -    </notifiers>
    1.77 --->
    1.78    </ciManagement>
    1.79  
    1.80 -  <!-- ŠJ”­ŽÒ‚̃ŠƒXƒg‚ð‹Lq(È—ª‰Â”\) -->
    1.81 +  <!-- 開発者ã®ãƒªã‚¹ãƒˆã‚’記述(çœç•¥å¯èƒ½) -->
    1.82    <developers>
    1.83      <developer>
    1.84        <name>Takashi Okamoto</name>
    1.85 @@ -74,108 +69,85 @@
    1.86      <dependency>
    1.87        <groupId>junit</groupId>
    1.88        <artifactId>junit</artifactId>
    1.89 -      <version>3.8.1</version>
    1.90 +      <version>4.8.2</version>
    1.91        <scope>test</scope>
    1.92      </dependency>
    1.93    </dependencies>
    1.94  
    1.95 -  <reporting>
    1.96 -    <plugins>
    1.97 -
    1.98 -      <!-- siteƒvƒ‰ƒOƒCƒ“‚Ìo—ÍÝ’è -->
    1.99 -      <plugin>
   1.100 -        <groupId>org.apache.maven.plugins</groupId>
   1.101 -        <artifactId>maven-site-plugin</artifactId>
   1.102 -        <configuration>
   1.103 -          <inputEncoding>Windows-31J</inputEncoding>
   1.104 -          <outputEncoding>UTF-8</outputEncoding>
   1.105 -          <locales>ja</locales>
   1.106 -        </configuration>
   1.107 -      </plugin>
   1.108 -
   1.109 -      <!-- javadoc‚Ìo—Í -->
   1.110 -      <plugin>
   1.111 -        <groupId>org.apache.maven.plugins</groupId>
   1.112 -        <artifactId>maven-javadoc-plugin</artifactId>
   1.113 -        <configuration>
   1.114 -          <encoding>Windows-31J</encoding>
   1.115 -          <docencoding>UTF-8</docencoding>
   1.116 -        </configuration>
   1.117 -      </plugin>
   1.118 -
   1.119 -      <!-- CheckStyle‚̃Œƒ|[ƒgo—Í -->
   1.120 -      <plugin>
   1.121 -        <groupId>org.apache.maven.plugins</groupId>
   1.122 -        <artifactId>maven-checkstyle-plugin</artifactId>
   1.123 -      </plugin>
   1.124 -
   1.125 -      <!-- FindBugs‚̃Œƒ|[ƒgo—Í -->
   1.126 -      <plugin>
   1.127 -        <groupId>org.codehaus.mojo</groupId>
   1.128 -        <artifactId>findbugs-maven-plugin</artifactId>
   1.129 -      </plugin>
   1.130 -
   1.131 -      <!-- PMD‚̃Œƒ|[ƒgo—Í -->
   1.132 -      <plugin>
   1.133 -        <groupId>org.apache.maven.plugins</groupId>
   1.134 -        <artifactId>maven-pmd-plugin</artifactId>
   1.135 -      </plugin>
   1.136 -
   1.137 -      <!-- ƒJƒoƒŒƒbƒW‚Ìo—Í -->
   1.138 -      <plugin>
   1.139 -        <groupId>org.codehaus.mojo</groupId>
   1.140 -        <artifactId>cobertura-maven-plugin</artifactId>
   1.141 -        <configuration>
   1.142 -          <sourceEncoding>Windows-31J</sourceEncoding>
   1.143 -        </configuration>
   1.144 -      </plugin>
   1.145 -
   1.146 -      <!-- ƒƒgƒŠƒbƒNƒX‚Ìo—Í -->
   1.147 -      <plugin>
   1.148 -        <groupId>org.codehaus.mojo</groupId>
   1.149 -        <artifactId>jdepend-maven-plugin</artifactId>
   1.150 -      </plugin>
   1.151 -
   1.152 -      <plugin>
   1.153 -        <groupId>org.codehaus.mojo</groupId>
   1.154 -        <artifactId>javancss-maven-plugin</artifactId>
   1.155 -      </plugin>
   1.156 -
   1.157 -      <!-- ƒNƒƒXƒŠƒtƒ@ƒŒƒ“ƒX -->
   1.158 -      <plugin>
   1.159 -        <groupId>org.apache.maven.plugins</groupId>
   1.160 -        <artifactId>maven-jxr-plugin</artifactId>
   1.161 -        <configuration>
   1.162 -          <aggregate>true</aggregate>
   1.163 -	  <inputEncoding>Windows-31J</inputEncoding>
   1.164 -	  <outputEncoding>UTF-8</outputEncoding>
   1.165 -        </configuration>
   1.166 -      </plugin>
   1.167 -
   1.168 -      <!-- ƒeƒXƒgƒŒƒ|[ƒg‚ÌÝ’è -->
   1.169 -      <plugin>
   1.170 -        <groupId>org.apache.maven.plugins</groupId>
   1.171 -        <artifactId>maven-surefire-report-plugin</artifactId>
   1.172 -      </plugin>
   1.173 -
   1.174 -    </plugins>
   1.175 -  </reporting>
   1.176 -
   1.177    <build>
   1.178      <plugins>
   1.179  
   1.180 -      <!-- JavaƒRƒ“ƒpƒCƒ‰‚ÌÝ’è -->
   1.181 +      <!-- Javaコンパイラã®è¨­å®š -->
   1.182        <plugin>
   1.183          <groupId>org.apache.maven.plugins</groupId>
   1.184          <artifactId>maven-compiler-plugin</artifactId>
   1.185          <configuration>
   1.186 -          <source>1.4</source>
   1.187 -          <target>1.4</target>
   1.188 +          <source>1.5</source>
   1.189 +          <target>1.5</target>
   1.190            <encoding>Windows-31J</encoding>
   1.191          </configuration>
   1.192        </plugin>
   1.193  
   1.194 +      <!-- レãƒãƒ¼ãƒ†ã‚£ãƒ³ã‚°ã®è¨­å®š -->
   1.195 +      <plugin>
   1.196 +	<groupId>org.apache.maven.plugins</groupId>
   1.197 +	<artifactId>maven-site-plugin</artifactId>
   1.198 +	<version>3.0-beta-2</version>
   1.199 +	<configuration>
   1.200 +          <locales>ja</locales>
   1.201 +	  <reportPlugins>
   1.202 +	    <plugin>
   1.203 +	      <groupId>org.apache.maven.plugins</groupId>
   1.204 +	      <artifactId>maven-javadoc-plugin</artifactId>
   1.205 +	      <version>2.7</version>
   1.206 +	    </plugin>
   1.207 +	    <plugin>
   1.208 +	      <groupId>org.apache.maven.plugins</groupId>
   1.209 +	      <artifactId>maven-jxr-plugin</artifactId>
   1.210 +	      <version>2.1</version>
   1.211 +	      <configuration>
   1.212 +		<aggregate>true</aggregate>
   1.213 +		<charset>${project.reporting.outputEncoding}</charset>
   1.214 +	        <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
   1.215 +		<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
   1.216 +	      </configuration>
   1.217 +	    </plugin>
   1.218 +	    <!--テストレãƒãƒ¼ãƒˆã‚’出力。
   1.219 +	       emmaプラグインを利用ã—ã¦ã„ã‚‹å ´åˆã¯emmaã§ãƒ†ã‚¹ãƒˆãƒ¬ãƒãƒ¼ãƒˆã‚’作æˆã—ã¦ãれるã®ã§ç„¡åŠ¹ã«ã™ã‚‹ã€‚
   1.220 +	       <plugin>
   1.221 +		 <groupId>org.apache.maven.plugins</groupId>
   1.222 +		 <artifactId>maven-surefire-report-plugin</artifactId>
   1.223 +		 <version>2.7.2</version>
   1.224 +	       </plugin>
   1.225 +	       -->
   1.226 +	    <plugin>
   1.227 +	      <groupId>org.codehaus.mojo</groupId>
   1.228 +	      <artifactId>emma-maven-plugin</artifactId>
   1.229 +	      <version>1.0-alpha-3</version>
   1.230 +	    </plugin>
   1.231 +	    <plugin>
   1.232 +	      <groupId>org.apache.maven.plugins</groupId>
   1.233 +	      <artifactId>maven-checkstyle-plugin</artifactId>
   1.234 +	      <version>2.6</version>
   1.235 +	      <configuration>
   1.236 +                <configLocation>src/conf/sun_checks_eclipse.xml</configLocation>
   1.237 +	      </configuration>
   1.238 +	    </plugin>
   1.239 +	    <plugin>
   1.240 +	      <groupId>org.codehaus.mojo</groupId>
   1.241 +	      <artifactId>findbugs-maven-plugin</artifactId>
   1.242 +	      <version>2.3.1</version>
   1.243 +	    </plugin>
   1.244 +	    <plugin>
   1.245 +	      <groupId>org.apache.maven.plugins</groupId>
   1.246 +	      <artifactId>maven-pmd-plugin</artifactId>
   1.247 +	      <version>2.5</version>
   1.248 +	    </plugin>
   1.249 +	  </reportPlugins>
   1.250 +	</configuration>
   1.251 +      </plugin>
   1.252 +
   1.253      </plugins>
   1.254 - </build>
   1.255 +  </build>
   1.256  
   1.257  </project>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/SampleProject/LibraryProject/trunk/src/conf/sun_checks_eclipse.xml	Tue Mar 22 19:03:40 2011 +0900
     2.3 @@ -0,0 +1,187 @@
     2.4 +<?xml version="1.0"?>
     2.5 +<!DOCTYPE module PUBLIC
     2.6 +    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
     2.7 +    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
     2.8 +
     2.9 +<!--
    2.10 +
    2.11 +  Checkstyle configuration that checks the sun coding conventions from:
    2.12 +
    2.13 +    - the Java Language Specification at
    2.14 +      http://java.sun.com/docs/books/jls/second_edition/html/index.html
    2.15 +
    2.16 +    - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
    2.17 +
    2.18 +    - the Javadoc guidelines at
    2.19 +      http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
    2.20 +
    2.21 +    - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
    2.22 +
    2.23 +    - some best practices
    2.24 +
    2.25 +  Checkstyle is very configurable. Be sure to read the documentation at
    2.26 +  http://checkstyle.sf.net (or in your downloaded distribution).
    2.27 +
    2.28 +  Most Checks are configurable, be sure to consult the documentation.
    2.29 +
    2.30 +  To completely disable a check, just comment it out or delete it from the file.
    2.31 +
    2.32 +  Finally, it is worth reading the documentation.
    2.33 +
    2.34 +-->
    2.35 +
    2.36 +<module name="Checker">
    2.37 +	<property name="severity" value="warning"/>
    2.38 +
    2.39 +    <!-- Checks that a package.html file exists for each package.     -->
    2.40 +    <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
    2.41 +<!--     <module name="PackageHtml"/>-->
    2.42 +
    2.43 +    <!-- Checks whether files end with a new line.                        -->
    2.44 +    <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
    2.45 +    <module name="NewlineAtEndOfFile"/>
    2.46 +
    2.47 +    <!-- Checks that property files contain the same keys.         -->
    2.48 +    <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
    2.49 +    <module name="Translation"/>
    2.50 +
    2.51 +    <module name="TreeWalker">
    2.52 +        <property name="tabWidth" value="4"/>
    2.53 +
    2.54 +        <!-- Checks for Javadoc comments.                     -->
    2.55 +        <!-- See http://checkstyle.sf.net/config_javadoc.html -->
    2.56 +        <module name="JavadocMethod">
    2.57 +            <property name="logLoadErrors" value="true"/>
    2.58 +            <property name="suppressLoadErrors" value="true"/>
    2.59 +        </module>
    2.60 +        <module name="JavadocType"/>
    2.61 +        <module name="JavadocVariable"/>
    2.62 +        <module name="JavadocStyle"/>
    2.63 +
    2.64 +
    2.65 +        <!-- Checks for Naming Conventions.                  -->
    2.66 +        <!-- See http://checkstyle.sf.net/config_naming.html -->
    2.67 +        <module name="ConstantName"/>
    2.68 +        <module name="LocalFinalVariableName"/>
    2.69 +        <module name="LocalVariableName"/>
    2.70 +        <module name="MemberName"/>
    2.71 +        <module name="MethodName"/>
    2.72 +        <module name="PackageName"/>
    2.73 +        <module name="ParameterName"/>
    2.74 +        <module name="StaticVariableName"/>
    2.75 +        <module name="TypeName"/>
    2.76 +
    2.77 +
    2.78 +        <!-- Checks for Headers                                -->
    2.79 +        <!-- See http://checkstyle.sf.net/config_header.html   -->
    2.80 +        <!-- <module name="Header">                            -->
    2.81 +            <!-- The follow property value demonstrates the ability     -->
    2.82 +            <!-- to have access to ANT properties. In this case it uses -->
    2.83 +            <!-- the ${basedir} property to allow Checkstyle to be run  -->
    2.84 +            <!-- from any directory within a project. See property      -->
    2.85 +            <!-- expansion,                                             -->
    2.86 +            <!-- http://checkstyle.sf.net/config.html#properties        -->
    2.87 +            <!-- <property                                              -->
    2.88 +            <!--     name="headerFile"                                  -->
    2.89 +            <!--     value="${basedir}/java.header"/>                   -->
    2.90 +        <!-- </module> -->
    2.91 +
    2.92 +        <!-- Following interprets the header file as regular expressions. -->
    2.93 +        <!-- <module name="RegexpHeader"/>                                -->
    2.94 +
    2.95 +
    2.96 +        <!-- Checks for imports                              -->
    2.97 +        <!-- See http://checkstyle.sf.net/config_import.html -->
    2.98 +        <module name="AvoidStarImport"/>
    2.99 +        <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
   2.100 +        <module name="RedundantImport"/>
   2.101 +        <module name="UnusedImports"/>
   2.102 +
   2.103 +
   2.104 +        <!-- Checks for Size Violations.                    -->
   2.105 +        <!-- See http://checkstyle.sf.net/config_sizes.html -->
   2.106 +        <!--  <module name="FileLength"/>-->
   2.107 +        <module name="LineLength">
   2.108 +         	<property name="max" value="120"/>
   2.109 +        </module>
   2.110 +        <module name="MethodLength"/>
   2.111 +        <module name="ParameterNumber"/>
   2.112 +
   2.113 +
   2.114 +        <!-- Checks for whitespace                               -->
   2.115 +        <!-- See http://checkstyle.sf.net/config_whitespace.html -->
   2.116 +        <module name="EmptyForIteratorPad"/>
   2.117 +        <module name="MethodParamPad"/>
   2.118 +        <module name="NoWhitespaceAfter">
   2.119 +            <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
   2.120 +        </module>
   2.121 +        <module name="NoWhitespaceBefore"/>
   2.122 +        <module name="OperatorWrap"/>
   2.123 +        <module name="ParenPad"/>
   2.124 +        <module name="TypecastParenPad"/>
   2.125 +        <module name="WhitespaceAfter"/>
   2.126 +        <module name="WhitespaceAround">
   2.127 +            <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND,WILDCARD_TYPE"/>
   2.128 +        </module>
   2.129 +
   2.130 +
   2.131 +        <!-- Modifier Checks                                    -->
   2.132 +        <!-- See http://checkstyle.sf.net/config_modifiers.html -->
   2.133 +        <module name="ModifierOrder"/>
   2.134 +        <module name="RedundantModifier"/>
   2.135 +
   2.136 +
   2.137 +        <!-- Checks for blocks. You know, those {}'s         -->
   2.138 +        <!-- See http://checkstyle.sf.net/config_blocks.html -->
   2.139 +        <module name="AvoidNestedBlocks"/>
   2.140 +        <module name="EmptyBlock"/>
   2.141 +        <module name="LeftCurly"/>
   2.142 +        <module name="NeedBraces"/>
   2.143 +        <module name="RightCurly"/>
   2.144 +
   2.145 +
   2.146 +        <!-- Checks for common coding problems               -->
   2.147 +        <!-- See http://checkstyle.sf.net/config_coding.html -->
   2.148 +        <module name="AvoidInlineConditionals"/>
   2.149 +        <module name="DoubleCheckedLocking"/>    <!-- MY FAVOURITE -->
   2.150 +        <module name="EmptyStatement"/>
   2.151 +        <module name="EqualsHashCode"/>
   2.152 +        <module name="HiddenField"/>
   2.153 +        <module name="IllegalInstantiation"/>
   2.154 +        <module name="InnerAssignment"/>
   2.155 +        <module name="MagicNumber"/>
   2.156 +        <module name="MissingSwitchDefault"/>
   2.157 +        <module name="RedundantThrows">
   2.158 +            <property name="logLoadErrors" value="true"/>
   2.159 +            <property name="suppressLoadErrors" value="true"/>
   2.160 +        </module>
   2.161 +        <module name="SimplifyBooleanExpression"/>
   2.162 +        <module name="SimplifyBooleanReturn"/>
   2.163 +
   2.164 +        <!-- Checks for class design                         -->
   2.165 +        <!-- See http://checkstyle.sf.net/config_design.html -->
   2.166 +        <module name="FinalClass"/>
   2.167 +        <module name="HideUtilityClassConstructor"/>
   2.168 +        <module name="InterfaceIsType"/>
   2.169 +        <module name="VisibilityModifier"/>
   2.170 +
   2.171 +
   2.172 +        <!-- Miscellaneous other checks.                   -->
   2.173 +        <!-- See http://checkstyle.sf.net/config_misc.html -->
   2.174 +        <module name="ArrayTypeStyle"/>
   2.175 +        <module name="FinalParameters"/>
   2.176 +        <!--
   2.177 +        <module name="GenericIllegalRegexp">
   2.178 +            <property name="severity" value="ignore"/>
   2.179 +            <property name="format" value="\s+$"/>
   2.180 +            <property name="message" value="Line has trailing spaces."/>
   2.181 +        </module>
   2.182 +        -->
   2.183 +        <module name="TodoComment">
   2.184 +            <property name="severity" value="ignore"/>
   2.185 +        </module>
   2.186 +        <module name="UpperEll"/>
   2.187 +
   2.188 +    </module>
   2.189 +
   2.190 +</module>
     3.1 --- a/SampleProject/LibraryProject/trunk/src/main/java/org/ultimania/SampleLib.java	Tue Mar 22 12:00:52 2011 +0900
     3.2 +++ b/SampleProject/LibraryProject/trunk/src/main/java/org/ultimania/SampleLib.java	Tue Mar 22 19:03:40 2011 +0900
     3.3 @@ -1,31 +1,33 @@
     3.4  package org.ultimania;
     3.5  
     3.6  /**
     3.7 - * ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚̃Tƒ“ƒvƒ‹
     3.8 - * @author Takashi Okamoto
     3.9 + * TracLightning‚̃Tƒ“ƒvƒ‹ƒNƒ‰ƒXƒR[ƒh
    3.10 + * @author someone
    3.11   */
    3.12 -public class SampleLib
    3.13 -{
    3.14 -    public static final int RUBY = 1;
    3.15 -    public static final int PYTHON = 2;
    3.16 -    public static final int PERL = 3;
    3.17 -    public static final int UNKNOWN = 4;
    3.18 -    /**
    3.19 -      * Œ¾Œê‚ÌŽí—Þ‚ð”»’è
    3.20 -      * @param langType Œ¾Œê‚ÌŽí—Þ‚ðŽ¦‚·•¶Žš—ñ
    3.21 -      * @return Œ¾Œê‚ÌŽí—Þ
    3.22 -      */
    3.23 -    public int detectLangType(String langType) {
    3.24 -      if(langType.equals("ruby")){
    3.25 -        System.out.println("RubyŒ¾Œê‚ªÝ’肳‚ê‚Ü‚µ‚½B");
    3.26 -        return RUBY;
    3.27 -      } else if(langType.equals("python")){
    3.28 -        System.out.println("PythonŒ¾Œê‚ªÝ’肳‚ê‚Ü‚µ‚½B");
    3.29 -        return PYTHON;
    3.30 -      } else if(langType.equals("perl")){
    3.31 -        System.out.println("PerlŒ¾Œê‚ªÝ’肳‚ê‚Ü‚µ‚½B");
    3.32 -        return PERL;
    3.33 -      }
    3.34 -      return UNKNOWN;
    3.35 -    }
    3.36 +public class SampleLib {
    3.37 +	public enum LangType {
    3.38 +		RUBY, PYTHON, PERL, UNKNOWN
    3.39 +	};
    3.40 +
    3.41 +	/**
    3.42 +	 * Œ¾Œê‚ÌŽí—Þ‚ð”»’è
    3.43 +	 *
    3.44 +	 * @param langType
    3.45 +	 *            Œ¾Œê‚ÌŽí—Þ‚ðŽ¦‚·•¶Žš—ñ
    3.46 +	 * @return Œ¾Œê‚ÌŽí—Þ
    3.47 +	 */
    3.48 +	public LangType detectLangType(String langType) {
    3.49 +		if (langType.equals("ruby")) {
    3.50 +			System.out.println("Ruby‚ª‘I‘ð‚³‚ê‚Ü‚µ‚½");
    3.51 +			return LangType.RUBY;
    3.52 +		} else if (langType.equals("pyhon")) {
    3.53 +			System.out.println("Python‚ª‘I‘ð‚³‚ê‚Ü‚µ‚½");
    3.54 +			return LangType.PYTHON;
    3.55 +		} else if (langType.equals("perl")) {
    3.56 +			System.out.println("Perl‚ª‘I‘ð‚³‚ê‚Ü‚µ‚½");
    3.57 +			return LangType.PERL;
    3.58 +		}
    3.59 +		return LangType.UNKNOWN;
    3.60 +	}
    3.61 +
    3.62  }
     4.1 --- a/SampleProject/LibraryProject/trunk/src/test/java/org/ultimania/SampleLibTest.java	Tue Mar 22 12:00:52 2011 +0900
     4.2 +++ b/SampleProject/LibraryProject/trunk/src/test/java/org/ultimania/SampleLibTest.java	Tue Mar 22 19:03:40 2011 +0900
     4.3 @@ -1,41 +1,75 @@
     4.4  package org.ultimania;
     4.5  
     4.6 -import junit.framework.Test;
     4.7 -import junit.framework.TestCase;
     4.8 -import junit.framework.TestSuite;
     4.9 +import org.junit.After;
    4.10 +import org.junit.AfterClass;
    4.11 +import org.junit.BeforeClass;
    4.12 +import org.junit.Test;
    4.13 +import org.ultimania.SampleLib.LangType;
    4.14 +
    4.15 +import static org.junit.Assert.*;
    4.16  
    4.17  /**
    4.18 - * Unit test for simple SampleLibTest.
    4.19 + * SampleLib‚̃eƒXƒgƒNƒ‰ƒX
    4.20   */
    4.21 -public class SampleLibTest extends TestCase {
    4.22 +public class SampleLibTest {
    4.23 +
    4.24  	/**
    4.25 -	 * Create the test case
    4.26 -	 * 
    4.27 -	 * @param testName
    4.28 -	 *            name of the test case
    4.29 +	 * ‚±‚̃Nƒ‰ƒX‚Ì‘S‚ẴeƒXƒg‚ðŽÀs‚·‚é‘O‚̈—
    4.30  	 */
    4.31 -	public SampleLibTest(String testName) {
    4.32 -		super(testName);
    4.33 +	@BeforeClass
    4.34 +	public static void doBeforeTests() {
    4.35 +		// ‘S‚ẴeƒXƒg‚ðŽÀs‚·‚é‘O‚Ɉê“x‚¾‚¯ŽÀs‚·‚鈗‚ð‹Lq
    4.36 +		// DB‚̉Šú‰»‚âƒeƒXƒg‚É‚æ‚Á‚Ä“à—e‚ª•Ï‚í‚é‰Â”\«‚ª‚ ‚éƒtƒ@ƒCƒ‹‚Ì
    4.37 +		// ‰Šú‰»ˆ—‚È‚Ç‚ð‹Lq
    4.38  	}
    4.39  
    4.40  	/**
    4.41 -	 * @return the suite of tests being tested
    4.42 +	 * ƒRƒ“ƒXƒgƒ‰ƒNƒ^BŠeƒeƒXƒg‘O‚̈—‚ð‹LqB
    4.43  	 */
    4.44 -	public static Test suite() {
    4.45 -		return new TestSuite(SampleLibTest.class);
    4.46 +	public SampleLibTest() {
    4.47 +		// ŠeƒeƒXƒg–ˆ‚ɃCƒ“ƒXƒ^ƒ“ƒX‚ª¶¬‚³‚ê‚éB
    4.48 +		// ŠeƒeƒXƒg–ˆ‚̈—‚ð‹Lq
    4.49  	}
    4.50  
    4.51  	/**
    4.52 -	 * Rigourous Test :-)
    4.53 +	 * ŠeƒeƒXƒgŒã‚̈—
    4.54  	 */
    4.55 -	public void testDetectLangType() {
    4.56 -		System.out.println(
    4.57 -				"==========\n"
    4.58 -				+ java.util.ResourceBundle.getBundle("msg").getString("message")
    4.59 -				+"\n==========\n");
    4.60 +	@After
    4.61 +	public void postProcess() {
    4.62 +		// ŠeƒeƒXƒgŒã‚̈—‚ð‹Lq‚·‚éB
    4.63 +	}
    4.64 +
    4.65 +	@Test
    4.66 +	public void pythonTest() {
    4.67  		SampleLib lib = new SampleLib();
    4.68 -		assertEquals(lib.detectLangType("ruby"), SampleLib.RUBY);
    4.69 -		assertEquals(lib.detectLangType("pyton"), SampleLib.PYTHON);
    4.70 -		assertEquals(lib.detectLangType("perl"), SampleLib.PERL);
    4.71 +		assertEquals(LangType.PYTHON, lib.detectLangType("python"));
    4.72  	}
    4.73 +
    4.74 +	@Test
    4.75 +	public void rubyTest() {
    4.76 +		SampleLib lib = new SampleLib();
    4.77 +		assertEquals(LangType.RUBY, lib.detectLangType("ruby"));
    4.78 +	}
    4.79 +
    4.80 +	@Test
    4.81 +	public void perlTest() {
    4.82 +		SampleLib lib = new SampleLib();
    4.83 +		assertEquals(LangType.PERL, lib.detectLangType("perl"));
    4.84 +	}
    4.85 +
    4.86 +	@Test
    4.87 +	public void otherTest() {
    4.88 +		SampleLib lib = new SampleLib();
    4.89 +		assertEquals(LangType.UNKNOWN, lib.detectLangType("scala"));
    4.90 +	}
    4.91 +
    4.92 +	/**
    4.93 +	 * ‚±‚̃Nƒ‰ƒX‚Ì‘S‚ẴeƒXƒg‚ðŽÀs‚µ‚½Œã‚̈—
    4.94 +	 */
    4.95 +	@AfterClass
    4.96 +	public static void doAfterTests() {
    4.97 +		// ‚±‚̃Nƒ‰ƒX‚Ì‘S‚ẴeƒXƒg‚ÌŽÀs‚ªI‚í‚Á‚½‚ ‚Æ‚É‚·‚鈗‚ð‹LqB
    4.98 +		// •ÏX‚µ‚½DB‚Ì휂âƒSƒ~ƒtƒ@ƒCƒ‹‚Ì휂Ȃǂð‹Lq‚·‚é
    4.99 +	}
   4.100 +
   4.101  }
     5.1 --- a/SampleProject/WebProject/trunk/pom.xml	Tue Mar 22 12:00:52 2011 +0900
     5.2 +++ b/SampleProject/WebProject/trunk/pom.xml	Tue Mar 22 19:03:40 2011 +0900
     5.3 @@ -1,9 +1,9 @@
     5.4 -<?xml version="1.0" encoding="Windows-31J"?>
     5.5 +<?xml version="1.0" encoding="utf-8"?>
     5.6  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     5.7 -  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     5.8 +	 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     5.9    <modelVersion>4.0.0</modelVersion>
    5.10  
    5.11 -  <!--‚±‚±‚ðƒJƒXƒ^ƒ}ƒCƒY-->
    5.12 +  <!--ã“ã“をカスタマイズ-->
    5.13    <name>WebProject</name>
    5.14    <artifactId>web</artifactId>
    5.15    <groupId>com.example</groupId>
    5.16 @@ -15,53 +15,48 @@
    5.17  
    5.18    <packaging>war</packaging>
    5.19  
    5.20 -  <!-- Maven‚̃Šƒ|ƒWƒgƒŠ‚ÌÝ’è -->
    5.21 +  <properties>
    5.22 +    <project.build.sourceEncoding>Windows-31J</project.build.sourceEncoding>
    5.23 +    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    5.24 +  </properties>
    5.25 +
    5.26 +  <!-- Mavenã®ãƒªãƒã‚¸ãƒˆãƒªã®è¨­å®š -->
    5.27    <repositories>
    5.28      <repository>
    5.29        <id>com.example</id>
    5.30        <name>My Maven Repository</name>
    5.31 -      <!-- localhost ‚ð‚±‚ÌƒT[ƒo‚̃zƒXƒg–¼‚É’uŠ· -->
    5.32 +      <!-- localhost ã‚’ã“ã®ã‚µãƒ¼ãƒã®ãƒ›ã‚¹ãƒˆåã«ç½®æ› -->
    5.33        <url>http://localhost/maven</url>
    5.34        <layout>default</layout>	  
    5.35      </repository>
    5.36    </repositories>
    5.37  
    5.38 -  <!-- ”z•zæ‚ÌÝ’è -->
    5.39 +  <!-- é…布先ã®è¨­å®š -->
    5.40    <distributionManagement>
    5.41      <repository>
    5.42        <id>local-repository</id>
    5.43 -      <url>file:///var/www/maven</url>
    5.44 +      <url>/var/opt/kanon/maven</url>
    5.45      </repository>
    5.46      <site>
    5.47        <id>maven.apache.org</id>
    5.48 -      <url>file:///var/www/report/SampleProject/WebProject</url>
    5.49 +      <url>/var/opt/kanon/report/SampleProject/WebProject</url>
    5.50      </site>
    5.51    </distributionManagement>
    5.52  
    5.53 -  <!-- SVN‚ÌÝ’è -->
    5.54 +  <!-- SVNã®è¨­å®š -->
    5.55    <scm>
    5.56 -    <!-- connection,developerConnection,url‚Ì localhost ‚ð‚±‚ÌƒT[ƒo‚̃zƒXƒg–¼‚É’uŠ· -->
    5.57 +    <!-- connection,developerConnection,urlã® localhost ã‚’ã“ã®ã‚µãƒ¼ãƒã®ãƒ›ã‚¹ãƒˆåã«ç½®æ› -->
    5.58      <connection>scm:svn:http://localhost/svn/SampleProject/WebProject/trunk/</connection>
    5.59      <developerConnection>scm:svn:http://localhost/svn/SampleProject/WebProject/trunk/</developerConnection>
    5.60      <url>http://localhost/svn/SampleProject/WebProject/</url>
    5.61    </scm>
    5.62  
    5.63 -  <!-- CI‚ÌÝ’è -->
    5.64 +  <!-- CIã®è¨­å®š -->
    5.65    <ciManagement>
    5.66      <system>jenkins</system>
    5.67 -<!-- 
    5.68 -    <notifiers>
    5.69 -      <notifier>
    5.70 -        <type>mail</type>
    5.71 -        <configuration>
    5.72 -          <address>dev-ml@example.com</address>
    5.73 -        </configuration>
    5.74 -      </notifier>
    5.75 -    </notifiers>
    5.76 --->
    5.77    </ciManagement>
    5.78  
    5.79 -  <!-- ŠJ”­ŽÒ‚̃ŠƒXƒg‚ð‹Lq(È—ª‰Â”\) -->
    5.80 +  <!-- 開発者ã®ãƒªã‚¹ãƒˆã‚’記述(çœç•¥å¯èƒ½) -->
    5.81    <developers>
    5.82      <developer>
    5.83        <name>Takashi Okamoto</name>
    5.84 @@ -80,109 +75,86 @@
    5.85      <dependency>
    5.86        <groupId>junit</groupId>
    5.87        <artifactId>junit</artifactId>
    5.88 -      <version>3.8.1</version>
    5.89 +      <version>4.8.2</version>
    5.90        <scope>test</scope>
    5.91      </dependency>
    5.92  
    5.93    </dependencies>
    5.94  
    5.95 -  <reporting>
    5.96 -    <plugins>
    5.97 -
    5.98 -      <!-- siteƒvƒ‰ƒOƒCƒ“‚Ìo—ÍÝ’è -->
    5.99 -      <plugin>
   5.100 -        <groupId>org.apache.maven.plugins</groupId>
   5.101 -        <artifactId>maven-site-plugin</artifactId>
   5.102 -        <configuration>
   5.103 -          <outputEncoding>UTF-8</outputEncoding>
   5.104 -          <inputEncoding>Windows-31J</inputEncoding>
   5.105 -          <locales>ja</locales>
   5.106 -        </configuration>
   5.107 -      </plugin>
   5.108 -
   5.109 -      <!-- javadoc‚Ìo—Í -->
   5.110 -      <plugin>
   5.111 -        <groupId>org.apache.maven.plugins</groupId>
   5.112 -        <artifactId>maven-javadoc-plugin</artifactId>
   5.113 -        <configuration>
   5.114 -          <encoding>Windows-31J</encoding>
   5.115 -          <docencoding>UTF-8</docencoding>
   5.116 -        </configuration>
   5.117 -      </plugin>
   5.118 -
   5.119 -      <!-- CheckStyle‚̃Œƒ|[ƒgo—Í -->
   5.120 -      <plugin>
   5.121 -        <groupId>org.apache.maven.plugins</groupId>
   5.122 -        <artifactId>maven-checkstyle-plugin</artifactId>
   5.123 -      </plugin>
   5.124 -
   5.125 -      <!-- FindBugs‚̃Œƒ|[ƒgo—Í -->
   5.126 -      <plugin>
   5.127 -        <groupId>org.codehaus.mojo</groupId>
   5.128 -        <artifactId>findbugs-maven-plugin</artifactId>
   5.129 -      </plugin>
   5.130 -
   5.131 -      <!-- PMD‚̃Œƒ|[ƒgo—Í -->
   5.132 -      <plugin>
   5.133 -        <groupId>org.apache.maven.plugins</groupId>
   5.134 -        <artifactId>maven-pmd-plugin</artifactId>
   5.135 -      </plugin>
   5.136 -
   5.137 -      <!-- ƒJƒoƒŒƒbƒW‚Ìo—Í -->
   5.138 -      <plugin>
   5.139 -        <groupId>org.codehaus.mojo</groupId>
   5.140 -        <artifactId>cobertura-maven-plugin</artifactId>
   5.141 -        <configuration>
   5.142 -          <sourceEncoding>Windows-31J</sourceEncoding>
   5.143 -        </configuration>
   5.144 -      </plugin>
   5.145 -
   5.146 -      <!-- ƒƒgƒŠƒbƒNƒX‚Ìo—Í -->
   5.147 -      <plugin>
   5.148 -        <groupId>org.codehaus.mojo</groupId>
   5.149 -        <artifactId>jdepend-maven-plugin</artifactId>
   5.150 -      </plugin>
   5.151 -
   5.152 -      <plugin>
   5.153 -        <groupId>org.codehaus.mojo</groupId>
   5.154 -        <artifactId>javancss-maven-plugin</artifactId>
   5.155 -      </plugin>
   5.156 -
   5.157 -      <!-- ƒNƒƒXƒŠƒtƒ@ƒŒƒ“ƒX -->
   5.158 -      <plugin>
   5.159 -        <groupId>org.apache.maven.plugins</groupId>
   5.160 -        <artifactId>maven-jxr-plugin</artifactId>
   5.161 -        <configuration>
   5.162 -          <aggregate>true</aggregate>
   5.163 -	  <inputEncoding>Windows-31J</inputEncoding>
   5.164 -	  <outputEncoding>UTF-8</outputEncoding>
   5.165 -        </configuration>
   5.166 -      </plugin>
   5.167 -
   5.168 -      <!-- ƒeƒXƒgƒŒƒ|[ƒg‚ÌÝ’è -->
   5.169 -      <plugin>
   5.170 -        <groupId>org.apache.maven.plugins</groupId>
   5.171 -        <artifactId>maven-surefire-report-plugin</artifactId>
   5.172 -      </plugin>
   5.173 -
   5.174 -    </plugins>
   5.175 -  </reporting>
   5.176 -
   5.177    <build>
   5.178      <plugins>
   5.179  
   5.180 -      <!-- JavaƒRƒ“ƒpƒCƒ‰‚ÌÝ’è -->
   5.181 +      <!-- Javaコンパイラã®è¨­å®š -->
   5.182        <plugin>
   5.183          <groupId>org.apache.maven.plugins</groupId>
   5.184          <artifactId>maven-compiler-plugin</artifactId>
   5.185          <configuration>
   5.186 -          <source>1.4</source>
   5.187 -          <target>1.4</target>
   5.188 +          <source>1.5</source>
   5.189 +          <target>1.5</target>
   5.190            <encoding>Windows-31J</encoding>
   5.191          </configuration>
   5.192        </plugin>
   5.193  
   5.194 -      <!-- WebƒRƒ“ƒeƒi‚ÌÝ’è -->
   5.195 +      <!-- siteプラグインã®å‡ºåŠ›è¨­å®š -->
   5.196 +      <plugin>
   5.197 +	<groupId>org.apache.maven.plugins</groupId>
   5.198 +	<artifactId>maven-site-plugin</artifactId>
   5.199 +	<version>3.0-beta-2</version>
   5.200 +	<configuration>
   5.201 +          <locales>ja</locales>
   5.202 +	  <reportPlugins>
   5.203 +	    <plugin>
   5.204 +	      <groupId>org.apache.maven.plugins</groupId>
   5.205 +	      <artifactId>maven-javadoc-plugin</artifactId>
   5.206 +	      <version>2.7</version>
   5.207 +	    </plugin>
   5.208 +	    <plugin>
   5.209 +	      <groupId>org.apache.maven.plugins</groupId>
   5.210 +	      <artifactId>maven-jxr-plugin</artifactId>
   5.211 +	      <version>2.1</version>
   5.212 +	      <configuration>
   5.213 +		<aggregate>true</aggregate>
   5.214 +		<charset>${project.reporting.outputEncoding}</charset>
   5.215 +	        <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
   5.216 +		<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
   5.217 +	      </configuration>
   5.218 +	    </plugin>
   5.219 +	    <!--テストレãƒãƒ¼ãƒˆã‚’出力。
   5.220 +	       emmaプラグインを利用ã—ã¦ã„ã‚‹å ´åˆã¯emmaã§ãƒ†ã‚¹ãƒˆãƒ¬ãƒãƒ¼ãƒˆã‚’作æˆã—ã¦ãれるã®ã§ç„¡åŠ¹ã«ã™ã‚‹ã€‚
   5.221 +	       <plugin>
   5.222 +		 <groupId>org.apache.maven.plugins</groupId>
   5.223 +		 <artifactId>maven-surefire-report-plugin</artifactId>
   5.224 +		 <version>2.7.2</version>
   5.225 +	       </plugin>
   5.226 +	       -->
   5.227 +	    <plugin>
   5.228 +	      <groupId>org.codehaus.mojo</groupId>
   5.229 +	      <artifactId>emma-maven-plugin</artifactId>
   5.230 +	      <version>1.0-alpha-3</version>
   5.231 +	    </plugin>
   5.232 +	    <plugin>
   5.233 +	      <groupId>org.apache.maven.plugins</groupId>
   5.234 +	      <artifactId>maven-checkstyle-plugin</artifactId>
   5.235 +	      <version>2.6</version>
   5.236 +	      <configuration>
   5.237 +                <configLocation>src/conf/sun_checks_eclipse.xml</configLocation>
   5.238 +	      </configuration>
   5.239 +	    </plugin>
   5.240 +	    <plugin>
   5.241 +	      <groupId>org.codehaus.mojo</groupId>
   5.242 +	      <artifactId>findbugs-maven-plugin</artifactId>
   5.243 +	      <version>2.3.1</version>
   5.244 +	    </plugin>
   5.245 +	    <plugin>
   5.246 +	      <groupId>org.apache.maven.plugins</groupId>
   5.247 +	      <artifactId>maven-pmd-plugin</artifactId>
   5.248 +	      <version>2.5</version>
   5.249 +	    </plugin>
   5.250 +	  </reportPlugins>
   5.251 +	</configuration>
   5.252 +      </plugin>
   5.253 +
   5.254 +      <!-- Webコンテナã®è¨­å®š -->
   5.255        <plugin>
   5.256          <groupId>org.mortbay.jetty</groupId>
   5.257          <artifactId>maven-jetty-plugin</artifactId>
   5.258 @@ -200,4 +172,4 @@
   5.259  
   5.260      </plugins>
   5.261    </build>
   5.262 -</project>
   5.263 \ No newline at end of file
   5.264 +</project>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/SampleProject/WebProject/trunk/src/conf/sun_checks_eclipse.xml	Tue Mar 22 19:03:40 2011 +0900
     6.3 @@ -0,0 +1,187 @@
     6.4 +<?xml version="1.0"?>
     6.5 +<!DOCTYPE module PUBLIC
     6.6 +    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
     6.7 +    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
     6.8 +
     6.9 +<!--
    6.10 +
    6.11 +  Checkstyle configuration that checks the sun coding conventions from:
    6.12 +
    6.13 +    - the Java Language Specification at
    6.14 +      http://java.sun.com/docs/books/jls/second_edition/html/index.html
    6.15 +
    6.16 +    - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
    6.17 +
    6.18 +    - the Javadoc guidelines at
    6.19 +      http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
    6.20 +
    6.21 +    - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
    6.22 +
    6.23 +    - some best practices
    6.24 +
    6.25 +  Checkstyle is very configurable. Be sure to read the documentation at
    6.26 +  http://checkstyle.sf.net (or in your downloaded distribution).
    6.27 +
    6.28 +  Most Checks are configurable, be sure to consult the documentation.
    6.29 +
    6.30 +  To completely disable a check, just comment it out or delete it from the file.
    6.31 +
    6.32 +  Finally, it is worth reading the documentation.
    6.33 +
    6.34 +-->
    6.35 +
    6.36 +<module name="Checker">
    6.37 +	<property name="severity" value="warning"/>
    6.38 +
    6.39 +    <!-- Checks that a package.html file exists for each package.     -->
    6.40 +    <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
    6.41 +<!--     <module name="PackageHtml"/>-->
    6.42 +
    6.43 +    <!-- Checks whether files end with a new line.                        -->
    6.44 +    <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
    6.45 +    <module name="NewlineAtEndOfFile"/>
    6.46 +
    6.47 +    <!-- Checks that property files contain the same keys.         -->
    6.48 +    <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
    6.49 +    <module name="Translation"/>
    6.50 +
    6.51 +    <module name="TreeWalker">
    6.52 +        <property name="tabWidth" value="4"/>
    6.53 +
    6.54 +        <!-- Checks for Javadoc comments.                     -->
    6.55 +        <!-- See http://checkstyle.sf.net/config_javadoc.html -->
    6.56 +        <module name="JavadocMethod">
    6.57 +            <property name="logLoadErrors" value="true"/>
    6.58 +            <property name="suppressLoadErrors" value="true"/>
    6.59 +        </module>
    6.60 +        <module name="JavadocType"/>
    6.61 +        <module name="JavadocVariable"/>
    6.62 +        <module name="JavadocStyle"/>
    6.63 +
    6.64 +
    6.65 +        <!-- Checks for Naming Conventions.                  -->
    6.66 +        <!-- See http://checkstyle.sf.net/config_naming.html -->
    6.67 +        <module name="ConstantName"/>
    6.68 +        <module name="LocalFinalVariableName"/>
    6.69 +        <module name="LocalVariableName"/>
    6.70 +        <module name="MemberName"/>
    6.71 +        <module name="MethodName"/>
    6.72 +        <module name="PackageName"/>
    6.73 +        <module name="ParameterName"/>
    6.74 +        <module name="StaticVariableName"/>
    6.75 +        <module name="TypeName"/>
    6.76 +
    6.77 +
    6.78 +        <!-- Checks for Headers                                -->
    6.79 +        <!-- See http://checkstyle.sf.net/config_header.html   -->
    6.80 +        <!-- <module name="Header">                            -->
    6.81 +            <!-- The follow property value demonstrates the ability     -->
    6.82 +            <!-- to have access to ANT properties. In this case it uses -->
    6.83 +            <!-- the ${basedir} property to allow Checkstyle to be run  -->
    6.84 +            <!-- from any directory within a project. See property      -->
    6.85 +            <!-- expansion,                                             -->
    6.86 +            <!-- http://checkstyle.sf.net/config.html#properties        -->
    6.87 +            <!-- <property                                              -->
    6.88 +            <!--     name="headerFile"                                  -->
    6.89 +            <!--     value="${basedir}/java.header"/>                   -->
    6.90 +        <!-- </module> -->
    6.91 +
    6.92 +        <!-- Following interprets the header file as regular expressions. -->
    6.93 +        <!-- <module name="RegexpHeader"/>                                -->
    6.94 +
    6.95 +
    6.96 +        <!-- Checks for imports                              -->
    6.97 +        <!-- See http://checkstyle.sf.net/config_import.html -->
    6.98 +        <module name="AvoidStarImport"/>
    6.99 +        <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
   6.100 +        <module name="RedundantImport"/>
   6.101 +        <module name="UnusedImports"/>
   6.102 +
   6.103 +
   6.104 +        <!-- Checks for Size Violations.                    -->
   6.105 +        <!-- See http://checkstyle.sf.net/config_sizes.html -->
   6.106 +        <!--  <module name="FileLength"/>-->
   6.107 +        <module name="LineLength">
   6.108 +         	<property name="max" value="120"/>
   6.109 +        </module>
   6.110 +        <module name="MethodLength"/>
   6.111 +        <module name="ParameterNumber"/>
   6.112 +
   6.113 +
   6.114 +        <!-- Checks for whitespace                               -->
   6.115 +        <!-- See http://checkstyle.sf.net/config_whitespace.html -->
   6.116 +        <module name="EmptyForIteratorPad"/>
   6.117 +        <module name="MethodParamPad"/>
   6.118 +        <module name="NoWhitespaceAfter">
   6.119 +            <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
   6.120 +        </module>
   6.121 +        <module name="NoWhitespaceBefore"/>
   6.122 +        <module name="OperatorWrap"/>
   6.123 +        <module name="ParenPad"/>
   6.124 +        <module name="TypecastParenPad"/>
   6.125 +        <module name="WhitespaceAfter"/>
   6.126 +        <module name="WhitespaceAround">
   6.127 +            <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND,WILDCARD_TYPE"/>
   6.128 +        </module>
   6.129 +
   6.130 +
   6.131 +        <!-- Modifier Checks                                    -->
   6.132 +        <!-- See http://checkstyle.sf.net/config_modifiers.html -->
   6.133 +        <module name="ModifierOrder"/>
   6.134 +        <module name="RedundantModifier"/>
   6.135 +
   6.136 +
   6.137 +        <!-- Checks for blocks. You know, those {}'s         -->
   6.138 +        <!-- See http://checkstyle.sf.net/config_blocks.html -->
   6.139 +        <module name="AvoidNestedBlocks"/>
   6.140 +        <module name="EmptyBlock"/>
   6.141 +        <module name="LeftCurly"/>
   6.142 +        <module name="NeedBraces"/>
   6.143 +        <module name="RightCurly"/>
   6.144 +
   6.145 +
   6.146 +        <!-- Checks for common coding problems               -->
   6.147 +        <!-- See http://checkstyle.sf.net/config_coding.html -->
   6.148 +        <module name="AvoidInlineConditionals"/>
   6.149 +        <module name="DoubleCheckedLocking"/>    <!-- MY FAVOURITE -->
   6.150 +        <module name="EmptyStatement"/>
   6.151 +        <module name="EqualsHashCode"/>
   6.152 +        <module name="HiddenField"/>
   6.153 +        <module name="IllegalInstantiation"/>
   6.154 +        <module name="InnerAssignment"/>
   6.155 +        <module name="MagicNumber"/>
   6.156 +        <module name="MissingSwitchDefault"/>
   6.157 +        <module name="RedundantThrows">
   6.158 +            <property name="logLoadErrors" value="true"/>
   6.159 +            <property name="suppressLoadErrors" value="true"/>
   6.160 +        </module>
   6.161 +        <module name="SimplifyBooleanExpression"/>
   6.162 +        <module name="SimplifyBooleanReturn"/>
   6.163 +
   6.164 +        <!-- Checks for class design                         -->
   6.165 +        <!-- See http://checkstyle.sf.net/config_design.html -->
   6.166 +        <module name="FinalClass"/>
   6.167 +        <module name="HideUtilityClassConstructor"/>
   6.168 +        <module name="InterfaceIsType"/>
   6.169 +        <module name="VisibilityModifier"/>
   6.170 +
   6.171 +
   6.172 +        <!-- Miscellaneous other checks.                   -->
   6.173 +        <!-- See http://checkstyle.sf.net/config_misc.html -->
   6.174 +        <module name="ArrayTypeStyle"/>
   6.175 +        <module name="FinalParameters"/>
   6.176 +        <!--
   6.177 +        <module name="GenericIllegalRegexp">
   6.178 +            <property name="severity" value="ignore"/>
   6.179 +            <property name="format" value="\s+$"/>
   6.180 +            <property name="message" value="Line has trailing spaces."/>
   6.181 +        </module>
   6.182 +        -->
   6.183 +        <module name="TodoComment">
   6.184 +            <property name="severity" value="ignore"/>
   6.185 +        </module>
   6.186 +        <module name="UpperEll"/>
   6.187 +
   6.188 +    </module>
   6.189 +
   6.190 +</module>
     7.1 --- a/kanon-setup	Tue Mar 22 12:00:52 2011 +0900
     7.2 +++ b/kanon-setup	Tue Mar 22 19:03:40 2011 +0900
     7.3 @@ -48,6 +48,32 @@
     7.4      exit
     7.5  fi
     7.6  
     7.7 +### ask install maven
     7.8 +echo ""
     7.9 +echo "Kanonã§ã¯Java開発ã®ãŸã‚ã®ãƒ“ルドツールã¨ã¦Mavenをインストールã—ã¦"
    7.10 +echo "利用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ユーザãŒå€‹åˆ¥ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ãŸMavenを利用ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ãŒã€"
    7.11 +echo "ã“ã“ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹ã¨Jenkinsã®ãƒ‡ãƒ¢ã‚’設定ãªã—ã«åˆ©ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚"
    7.12 +echo -n "Mavenをインストールã—ã¾ã™ã‹?(y/n) "
    7.13 +read YN
    7.14 +
    7.15 +if [ "$YN" != "y" ]
    7.16 +then
    7.17 +    MAVEN=y
    7.18 +fi
    7.19 +
    7.20 +### ask install jenkins
    7.21 +echo ""
    7.22 +echo "Kanonã¯ç¶™ç¶šçš„インテグレーションツール(CIツール)ã¨ã—ã¦"
    7.23 +echo "Jenkinsã‚’çµ±åˆã—ã¦ä½¿ã†ã“ã¨ãŒã§ãã¾ã™ã€‚"
    7.24 +echo -n "Jenkinsをインストールã—ã¾ã™ã‹?(y/n) "
    7.25 +read YN
    7.26 +
    7.27 +if [ "$YN" != "y" ]
    7.28 +then
    7.29 +    JENKINS=y
    7.30 +fi
    7.31 +
    7.32 +
    7.33  ### install ubuntu package 
    7.34  if [ "$OS" = 'debian' ]
    7.35  then
    7.36 @@ -58,6 +84,62 @@
    7.37      yum -y install `cat pkglist.rhel`
    7.38  fi
    7.39  
    7.40 +### install jenkins
    7.41 +if [ "$JENKINS" = 'y' ]
    7.42 +then
    7.43 +    if [ "$OS" = 'debian' ]
    7.44 +    then
    7.45 +        wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
    7.46 +        CHK=`grep "http://pkg.jenkins-ci.org/debian" /etc/apt/sources.list.d/jenkins.list`
    7.47 +        if [ "$CHK" = '' ]
    7.48 +        then
    7.49 +            echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/jenkins.list
    7.50 +        fi
    7.51 +        apt-get update
    7.52 +        apt-get -y install jenkins openjdk-6-jdk
    7.53 +        CHK=`grep "/etc/default/jenkins" prefix`
    7.54 +        if [ "$CHK" = '' ]
    7.55 +        then
    7.56 +            cat /etc/default/jenkins |sed 's/JENKINS_ARGS="/JENKINS_ARGS="--prefix=\/jenkins /' > /tmp/jenkins_config
    7.57 +            mv -f /tmp/jenkins_config /etc/default/jenkins
    7.58 +        fi
    7.59 +    elif [ "$OS" = 'rhel' ]
    7.60 +    then
    7.61 +        wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
    7.62 +        rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
    7.63 +        yum -y install jenkins
    7.64 +        CHK=`grep "/etc/sysconfig/jenkins" prefix`
    7.65 +        if [ "$CHK" = '' ]
    7.66 +        then
    7.67 +            cat /etc/sysconfig/jenkins |sed 's/JENKINS_ARGS=""/JENKINS_ARGS="--prefix=\/jenkins"/' > /tmp/jenkins_config
    7.68 +            mv -f /tmp/jenkins_config /etc/sysconfig/jenkins
    7.69 +        fi
    7.70 +    fi
    7.71 +
    7.72 +    if [ ! -f /var/jenkins/kanon.install ]    
    7.73 +    then
    7.74 +        cp -fr resource/jenkins-config/* /var/lib/jenkins/
    7.75 +        chown jenkins.nogroup -R /var/lib/jenkins
    7.76 +    fi
    7.77 +fi
    7.78 +
    7.79 +### install apache maven
    7.80 +if [ "$MAVEN" = 'y' ]
    7.81 +then
    7.82 +    wget -O /tmp/maven.tgz http://ftp.riken.jp/net/apache//maven/binaries/apache-maven-3.0.3-bin.tar.gz
    7.83 +    pushd .
    7.84 +    cd /tmp
    7.85 +    tar zxf maven.tgz
    7.86 +    if [ ! -d /opt/maven ]
    7.87 +    then
    7.88 +        mkdir /opt/maven
    7.89 +    fi
    7.90 +    
    7.91 +    mv -f apache-maven-3.?.?/* /opt/maven/
    7.92 +
    7.93 +    popd 
    7.94 +fi
    7.95 +
    7.96  ### install files
    7.97  cp -fr opt/* /opt
    7.98  cp -frn etc/* /etc
    7.99 @@ -143,7 +225,7 @@
   7.100      if [ ! "$CHK" = '' ]   
   7.101      then
   7.102          cat /etc/selinux/config |sed 's/SELINUX=enforcing/SELINUX=disabled/' > /tmp/selinux_config
   7.103 -        mv /tmp/selinux_config /etc/selinux/config 
   7.104 +        mv -f /tmp/selinux_config /etc/selinux/config 
   7.105      fi
   7.106      echo "SELinuxãŒç„¡åŠ¹åŒ–ã•ã‚Œã¾ã—ãŸ"
   7.107      service httpd stop
     8.1 --- a/resource/httpd.conf	Tue Mar 22 12:00:52 2011 +0900
     8.2 +++ b/resource/httpd.conf	Tue Mar 22 19:03:40 2011 +0900
     8.3 @@ -84,18 +84,18 @@
     8.4  #	Allow from all
     8.5  #</Directory>
     8.6  
     8.7 -#<Location /hudson>
     8.8 -#  Order allow,deny
     8.9 -#  Allow from all
    8.10 +<Location /jenkins>
    8.11 +  Order allow,deny
    8.12 +  Allow from all
    8.13     
    8.14 -#  AuthType Digest
    8.15 -#  AuthName kanon
    8.16 -#  AuthUserFile /etc/opt/kanon/trac.htdigest
    8.17 -#  Require valid-user
    8.18 +  AuthType Digest
    8.19 +  AuthName kanon
    8.20 +  AuthUserFile /etc/opt/kanon/kanon_users.htdigest
    8.21 +  Require valid-user
    8.22  
    8.23 -#  BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
    8.24 +  BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
    8.25  
    8.26 -#  ProxyPass        http://127.0.0.1:8010/hudson
    8.27 -#  ProxyPassReverse http://127.0.0.1:8010/hudson
    8.28 -#</Location>
    8.29 +  ProxyPass        http://127.0.0.1:8080/jenkins
    8.30 +  ProxyPassReverse http://127.0.0.1:8080/jenkins
    8.31 +</Location>
    8.32  
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/resource/jenkins-config/config.xml	Tue Mar 22 19:03:40 2011 +0900
     9.3 @@ -0,0 +1,12 @@
     9.4 +<?xml version='1.0' encoding='UTF-8'?>
     9.5 +<hudson>
     9.6 +  <numExecutors>2</numExecutors>
     9.7 +  <authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
     9.8 +  <securityRealm class="hudson.security.SecurityRealm$None"/>
     9.9 +  <jdks/>
    9.10 +  <slaves/>
    9.11 +  <quietPeriod>5</quietPeriod>
    9.12 +  <views/>
    9.13 +  <slaveAgentPort>0</slaveAgentPort>
    9.14 +  <secretKey>2e3822bfcf5916425bdc992d0e3956bfb93608def97b53d8e12b1b58e98253c9</secretKey>
    9.15 +</hudson>
    9.16 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/resource/jenkins-config/hudson.tasks.Maven.xml	Tue Mar 22 19:03:40 2011 +0900
    10.3 @@ -0,0 +1,10 @@
    10.4 +<?xml version='1.0' encoding='UTF-8'?>
    10.5 +<hudson.tasks.Maven_-DescriptorImpl>
    10.6 +  <installations>
    10.7 +    <hudson.tasks.Maven_-MavenInstallation>
    10.8 +      <name>Maven</name>
    10.9 +      <home>/opt/maven</home>
   10.10 +      <properties/>
   10.11 +    </hudson.tasks.Maven_-MavenInstallation>
   10.12 +  </installations>
   10.13 +</hudson.tasks.Maven_-DescriptorImpl>
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/resource/jenkins-config/jobs/LibraryProject/config.xml	Tue Mar 22 19:03:40 2011 +0900
    11.3 @@ -0,0 +1,207 @@
    11.4 +<?xml version='1.0' encoding='UTF-8'?>
    11.5 +<maven2-moduleset>
    11.6 +  <actions/>
    11.7 +  <description></description>
    11.8 +  <keepDependencies>false</keepDependencies>
    11.9 +  <properties/>
   11.10 +  <scm class="hudson.scm.SubversionSCM">
   11.11 +    <locations>
   11.12 +      <hudson.scm.SubversionSCM_-ModuleLocation>
   11.13 +        <remote>http://localhost/svn/SampleProject/LibraryProject/trunk</remote>
   11.14 +        <local>.</local>
   11.15 +      </hudson.scm.SubversionSCM_-ModuleLocation>
   11.16 +    </locations>
   11.17 +    <useUpdate>true</useUpdate>
   11.18 +    <doRevert>false</doRevert>
   11.19 +    <excludedRegions></excludedRegions>
   11.20 +    <includedRegions></includedRegions>
   11.21 +    <excludedUsers></excludedUsers>
   11.22 +    <excludedRevprop></excludedRevprop>
   11.23 +    <excludedCommitMessages></excludedCommitMessages>
   11.24 +  </scm>
   11.25 +  <canRoam>true</canRoam>
   11.26 +  <disabled>false</disabled>
   11.27 +  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
   11.28 +  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   11.29 +  <triggers class="vector"/>
   11.30 +  <concurrentBuild>false</concurrentBuild>
   11.31 +  <rootModule>
   11.32 +    <groupId>com.example</groupId>
   11.33 +    <artifactId>library</artifactId>
   11.34 +  </rootModule>
   11.35 +  <goals>site</goals>
   11.36 +  <mavenName>Maven</mavenName>
   11.37 +  <aggregatorStyleBuild>true</aggregatorStyleBuild>
   11.38 +  <incrementalBuild>false</incrementalBuild>
   11.39 +  <usePrivateRepository>false</usePrivateRepository>
   11.40 +  <ignoreUpstremChanges>false</ignoreUpstremChanges>
   11.41 +  <archivingDisabled>false</archivingDisabled>
   11.42 +  <resolveDependencies>false</resolveDependencies>
   11.43 +  <processPlugins>false</processPlugins>
   11.44 +  <mavenValidationLevel>-1</mavenValidationLevel>
   11.45 +  <reporters>
   11.46 +    <hudson.plugins.violations.hudson.maven.ViolationsMavenReporter>
   11.47 +      <config>
   11.48 +        <suppressions class="tree-set">
   11.49 +          <no-comparator/>
   11.50 +        </suppressions>
   11.51 +        <typeConfigs>
   11.52 +          <no-comparator/>
   11.53 +          <entry>
   11.54 +            <string>checkstyle</string>
   11.55 +            <hudson.plugins.violations.TypeConfig>
   11.56 +              <type>checkstyle</type>
   11.57 +              <min>10</min>
   11.58 +              <max>999</max>
   11.59 +              <unstable>999</unstable>
   11.60 +              <usePattern>false</usePattern>
   11.61 +              <pattern></pattern>
   11.62 +            </hudson.plugins.violations.TypeConfig>
   11.63 +          </entry>
   11.64 +          <entry>
   11.65 +            <string>codenarc</string>
   11.66 +            <hudson.plugins.violations.TypeConfig>
   11.67 +              <type>codenarc</type>
   11.68 +              <min>10</min>
   11.69 +              <max>999</max>
   11.70 +              <unstable>999</unstable>
   11.71 +              <usePattern>false</usePattern>
   11.72 +              <pattern></pattern>
   11.73 +            </hudson.plugins.violations.TypeConfig>
   11.74 +          </entry>
   11.75 +          <entry>
   11.76 +            <string>cpd</string>
   11.77 +            <hudson.plugins.violations.TypeConfig>
   11.78 +              <type>cpd</type>
   11.79 +              <min>10</min>
   11.80 +              <max>999</max>
   11.81 +              <unstable>999</unstable>
   11.82 +              <usePattern>false</usePattern>
   11.83 +              <pattern></pattern>
   11.84 +            </hudson.plugins.violations.TypeConfig>
   11.85 +          </entry>
   11.86 +          <entry>
   11.87 +            <string>findbugs</string>
   11.88 +            <hudson.plugins.violations.TypeConfig>
   11.89 +              <type>findbugs</type>
   11.90 +              <min>10</min>
   11.91 +              <max>999</max>
   11.92 +              <unstable>999</unstable>
   11.93 +              <usePattern>false</usePattern>
   11.94 +              <pattern></pattern>
   11.95 +            </hudson.plugins.violations.TypeConfig>
   11.96 +          </entry>
   11.97 +          <entry>
   11.98 +            <string>fxcop</string>
   11.99 +            <hudson.plugins.violations.TypeConfig>
  11.100 +              <type>fxcop</type>
  11.101 +              <min>10</min>
  11.102 +              <max>999</max>
  11.103 +              <unstable>999</unstable>
  11.104 +              <usePattern>false</usePattern>
  11.105 +              <pattern></pattern>
  11.106 +            </hudson.plugins.violations.TypeConfig>
  11.107 +          </entry>
  11.108 +          <entry>
  11.109 +            <string>gendarme</string>
  11.110 +            <hudson.plugins.violations.TypeConfig>
  11.111 +              <type>gendarme</type>
  11.112 +              <min>10</min>
  11.113 +              <max>999</max>
  11.114 +              <unstable>999</unstable>
  11.115 +              <usePattern>false</usePattern>
  11.116 +              <pattern></pattern>
  11.117 +            </hudson.plugins.violations.TypeConfig>
  11.118 +          </entry>
  11.119 +          <entry>
  11.120 +            <string>jcreport</string>
  11.121 +            <hudson.plugins.violations.TypeConfig>
  11.122 +              <type>jcreport</type>
  11.123 +              <min>10</min>
  11.124 +              <max>999</max>
  11.125 +              <unstable>999</unstable>
  11.126 +              <usePattern>false</usePattern>
  11.127 +              <pattern></pattern>
  11.128 +            </hudson.plugins.violations.TypeConfig>
  11.129 +          </entry>
  11.130 +          <entry>
  11.131 +            <string>jslint</string>
  11.132 +            <hudson.plugins.violations.TypeConfig>
  11.133 +              <type>jslint</type>
  11.134 +              <min>10</min>
  11.135 +              <max>999</max>
  11.136 +              <unstable>999</unstable>
  11.137 +              <usePattern>false</usePattern>
  11.138 +              <pattern></pattern>
  11.139 +            </hudson.plugins.violations.TypeConfig>
  11.140 +          </entry>
  11.141 +          <entry>
  11.142 +            <string>pmd</string>
  11.143 +            <hudson.plugins.violations.TypeConfig>
  11.144 +              <type>pmd</type>
  11.145 +              <min>10</min>
  11.146 +              <max>999</max>
  11.147 +              <unstable>999</unstable>
  11.148 +              <usePattern>false</usePattern>
  11.149 +              <pattern></pattern>
  11.150 +            </hudson.plugins.violations.TypeConfig>
  11.151 +          </entry>
  11.152 +          <entry>
  11.153 +            <string>pylint</string>
  11.154 +            <hudson.plugins.violations.TypeConfig>
  11.155 +              <type>pylint</type>
  11.156 +              <min>10</min>
  11.157 +              <max>999</max>
  11.158 +              <unstable>999</unstable>
  11.159 +              <usePattern>false</usePattern>
  11.160 +              <pattern></pattern>
  11.161 +            </hudson.plugins.violations.TypeConfig>
  11.162 +          </entry>
  11.163 +          <entry>
  11.164 +            <string>simian</string>
  11.165 +            <hudson.plugins.violations.TypeConfig>
  11.166 +              <type>simian</type>
  11.167 +              <min>10</min>
  11.168 +              <max>999</max>
  11.169 +              <unstable>999</unstable>
  11.170 +              <usePattern>false</usePattern>
  11.171 +              <pattern></pattern>
  11.172 +            </hudson.plugins.violations.TypeConfig>
  11.173 +          </entry>
  11.174 +          <entry>
  11.175 +            <string>stylecop</string>
  11.176 +            <hudson.plugins.violations.TypeConfig>
  11.177 +              <type>stylecop</type>
  11.178 +              <min>10</min>
  11.179 +              <max>999</max>
  11.180 +              <unstable>999</unstable>
  11.181 +              <usePattern>false</usePattern>
  11.182 +              <pattern></pattern>
  11.183 +            </hudson.plugins.violations.TypeConfig>
  11.184 +          </entry>
  11.185 +        </typeConfigs>
  11.186 +        <limit>100</limit>
  11.187 +        <encoding>default</encoding>
  11.188 +      </config>
  11.189 +    </hudson.plugins.violations.hudson.maven.ViolationsMavenReporter>
  11.190 +  </reporters>
  11.191 +  <publishers>
  11.192 +    <hudson.plugins.emma.EmmaPublisher>
  11.193 +      <includes></includes>
  11.194 +      <healthReports>
  11.195 +        <minClass>0</minClass>
  11.196 +        <maxClass>100</maxClass>
  11.197 +        <minMethod>0</minMethod>
  11.198 +        <maxMethod>70</maxMethod>
  11.199 +        <minBlock>0</minBlock>
  11.200 +        <maxBlock>80</maxBlock>
  11.201 +        <minLine>0</minLine>
  11.202 +        <maxLine>80</maxLine>
  11.203 +      </healthReports>
  11.204 +    </hudson.plugins.emma.EmmaPublisher>
  11.205 +    <hudson.plugins.persona.QuotePublisher>
  11.206 +      <persona>hudmi</persona>
  11.207 +    </hudson.plugins.persona.QuotePublisher>
  11.208 +  </publishers>
  11.209 +  <buildWrappers/>
  11.210 +</maven2-moduleset>
  11.211 \ No newline at end of file
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/resource/jenkins-config/jobs/LibraryProject/svnexternals.txt	Tue Mar 22 19:03:40 2011 +0900
    12.3 @@ -0,0 +1,2 @@
    12.4 +<?xml version='1.0' encoding='UTF-8'?>
    12.5 +<list/>
    12.6 \ No newline at end of file
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/resource/jenkins-config/jobs/WebProject/config.xml	Tue Mar 22 19:03:40 2011 +0900
    13.3 @@ -0,0 +1,224 @@
    13.4 +<?xml version='1.0' encoding='UTF-8'?>
    13.5 +<maven2-moduleset>
    13.6 +  <actions/>
    13.7 +  <description></description>
    13.8 +  <keepDependencies>false</keepDependencies>
    13.9 +  <properties/>
   13.10 +  <scm class="hudson.scm.SubversionSCM">
   13.11 +    <locations>
   13.12 +      <hudson.scm.SubversionSCM_-ModuleLocation>
   13.13 +        <remote>http://localhost/svn/SampleProject/WebProject/trunk</remote>
   13.14 +        <local>.</local>
   13.15 +      </hudson.scm.SubversionSCM_-ModuleLocation>
   13.16 +    </locations>
   13.17 +    <useUpdate>true</useUpdate>
   13.18 +    <doRevert>false</doRevert>
   13.19 +    <excludedRegions></excludedRegions>
   13.20 +    <includedRegions></includedRegions>
   13.21 +    <excludedUsers></excludedUsers>
   13.22 +    <excludedRevprop></excludedRevprop>
   13.23 +    <excludedCommitMessages></excludedCommitMessages>
   13.24 +  </scm>
   13.25 +  <canRoam>true</canRoam>
   13.26 +  <disabled>false</disabled>
   13.27 +  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
   13.28 +  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   13.29 +  <triggers class="vector"/>
   13.30 +  <concurrentBuild>false</concurrentBuild>
   13.31 +  <rootModule>
   13.32 +    <groupId>com.example</groupId>
   13.33 +    <artifactId>web</artifactId>
   13.34 +  </rootModule>
   13.35 +  <goals>site</goals>
   13.36 +  <mavenName>Maven</mavenName>
   13.37 +  <aggregatorStyleBuild>true</aggregatorStyleBuild>
   13.38 +  <incrementalBuild>false</incrementalBuild>
   13.39 +  <usePrivateRepository>false</usePrivateRepository>
   13.40 +  <ignoreUpstremChanges>false</ignoreUpstremChanges>
   13.41 +  <archivingDisabled>false</archivingDisabled>
   13.42 +  <resolveDependencies>false</resolveDependencies>
   13.43 +  <processPlugins>false</processPlugins>
   13.44 +  <mavenValidationLevel>-1</mavenValidationLevel>
   13.45 +  <reporters>
   13.46 +    <hudson.plugins.checkstyle.CheckStyleReporter>
   13.47 +      <healthy></healthy>
   13.48 +      <unHealthy></unHealthy>
   13.49 +      <pluginName>[CHECKSTYLE] </pluginName>
   13.50 +      <thresholdLimit>low</thresholdLimit>
   13.51 +      <canRunOnFailed>false</canRunOnFailed>
   13.52 +    </hudson.plugins.checkstyle.CheckStyleReporter>
   13.53 +    <hudson.plugins.dry.DryReporter>
   13.54 +      <healthy></healthy>
   13.55 +      <unHealthy></unHealthy>
   13.56 +      <pluginName>[DRY] </pluginName>
   13.57 +      <thresholdLimit>low</thresholdLimit>
   13.58 +      <canRunOnFailed>false</canRunOnFailed>
   13.59 +      <highThreshold>50</highThreshold>
   13.60 +      <normalThreshold>25</normalThreshold>
   13.61 +    </hudson.plugins.dry.DryReporter>
   13.62 +    <hudson.plugins.findbugs.FindBugsReporter>
   13.63 +      <healthy></healthy>
   13.64 +      <unHealthy></unHealthy>
   13.65 +      <pluginName>[FINDBUGS] </pluginName>
   13.66 +      <thresholdLimit>low</thresholdLimit>
   13.67 +      <canRunOnFailed>false</canRunOnFailed>
   13.68 +    </hudson.plugins.findbugs.FindBugsReporter>
   13.69 +    <hudson.plugins.pmd.PmdReporter>
   13.70 +      <healthy></healthy>
   13.71 +      <unHealthy></unHealthy>
   13.72 +      <pluginName>[PMD] </pluginName>
   13.73 +      <thresholdLimit>low</thresholdLimit>
   13.74 +      <canRunOnFailed>false</canRunOnFailed>
   13.75 +    </hudson.plugins.pmd.PmdReporter>
   13.76 +    <hudson.plugins.violations.hudson.maven.ViolationsMavenReporter>
   13.77 +      <config>
   13.78 +        <suppressions class="tree-set">
   13.79 +          <no-comparator/>
   13.80 +        </suppressions>
   13.81 +        <typeConfigs>
   13.82 +          <no-comparator/>
   13.83 +          <entry>
   13.84 +            <string>checkstyle</string>
   13.85 +            <hudson.plugins.violations.TypeConfig>
   13.86 +              <type>checkstyle</type>
   13.87 +              <min>10</min>
   13.88 +              <max>999</max>
   13.89 +              <unstable>999</unstable>
   13.90 +              <usePattern>false</usePattern>
   13.91 +              <pattern></pattern>
   13.92 +            </hudson.plugins.violations.TypeConfig>
   13.93 +          </entry>
   13.94 +          <entry>
   13.95 +            <string>codenarc</string>
   13.96 +            <hudson.plugins.violations.TypeConfig>
   13.97 +              <type>codenarc</type>
   13.98 +              <min>10</min>
   13.99 +              <max>999</max>
  13.100 +              <unstable>999</unstable>
  13.101 +              <usePattern>false</usePattern>
  13.102 +              <pattern></pattern>
  13.103 +            </hudson.plugins.violations.TypeConfig>
  13.104 +          </entry>
  13.105 +          <entry>
  13.106 +            <string>cpd</string>
  13.107 +            <hudson.plugins.violations.TypeConfig>
  13.108 +              <type>cpd</type>
  13.109 +              <min>10</min>
  13.110 +              <max>999</max>
  13.111 +              <unstable>999</unstable>
  13.112 +              <usePattern>false</usePattern>
  13.113 +              <pattern></pattern>
  13.114 +            </hudson.plugins.violations.TypeConfig>
  13.115 +          </entry>
  13.116 +          <entry>
  13.117 +            <string>findbugs</string>
  13.118 +            <hudson.plugins.violations.TypeConfig>
  13.119 +              <type>findbugs</type>
  13.120 +              <min>10</min>
  13.121 +              <max>999</max>
  13.122 +              <unstable>999</unstable>
  13.123 +              <usePattern>false</usePattern>
  13.124 +              <pattern></pattern>
  13.125 +            </hudson.plugins.violations.TypeConfig>
  13.126 +          </entry>
  13.127 +          <entry>
  13.128 +            <string>fxcop</string>
  13.129 +            <hudson.plugins.violations.TypeConfig>
  13.130 +              <type>fxcop</type>
  13.131 +              <min>10</min>
  13.132 +              <max>999</max>
  13.133 +              <unstable>999</unstable>
  13.134 +              <usePattern>false</usePattern>
  13.135 +              <pattern></pattern>
  13.136 +            </hudson.plugins.violations.TypeConfig>
  13.137 +          </entry>
  13.138 +          <entry>
  13.139 +            <string>gendarme</string>
  13.140 +            <hudson.plugins.violations.TypeConfig>
  13.141 +              <type>gendarme</type>
  13.142 +              <min>10</min>
  13.143 +              <max>999</max>
  13.144 +              <unstable>999</unstable>
  13.145 +              <usePattern>false</usePattern>
  13.146 +              <pattern></pattern>
  13.147 +            </hudson.plugins.violations.TypeConfig>
  13.148 +          </entry>
  13.149 +          <entry>
  13.150 +            <string>jcreport</string>
  13.151 +            <hudson.plugins.violations.TypeConfig>
  13.152 +              <type>jcreport</type>
  13.153 +              <min>10</min>
  13.154 +              <max>999</max>
  13.155 +              <unstable>999</unstable>
  13.156 +              <usePattern>false</usePattern>
  13.157 +              <pattern></pattern>
  13.158 +            </hudson.plugins.violations.TypeConfig>
  13.159 +          </entry>
  13.160 +          <entry>
  13.161 +            <string>jslint</string>
  13.162 +            <hudson.plugins.violations.TypeConfig>
  13.163 +              <type>jslint</type>
  13.164 +              <min>10</min>
  13.165 +              <max>999</max>
  13.166 +              <unstable>999</unstable>
  13.167 +              <usePattern>false</usePattern>
  13.168 +              <pattern></pattern>
  13.169 +            </hudson.plugins.violations.TypeConfig>
  13.170 +          </entry>
  13.171 +          <entry>
  13.172 +            <string>pmd</string>
  13.173 +            <hudson.plugins.violations.TypeConfig>
  13.174 +              <type>pmd</type>
  13.175 +              <min>10</min>
  13.176 +              <max>999</max>
  13.177 +              <unstable>999</unstable>
  13.178 +              <usePattern>false</usePattern>
  13.179 +              <pattern></pattern>
  13.180 +            </hudson.plugins.violations.TypeConfig>
  13.181 +          </entry>
  13.182 +          <entry>
  13.183 +            <string>pylint</string>
  13.184 +            <hudson.plugins.violations.TypeConfig>
  13.185 +              <type>pylint</type>
  13.186 +              <min>10</min>
  13.187 +              <max>999</max>
  13.188 +              <unstable>999</unstable>
  13.189 +              <usePattern>false</usePattern>
  13.190 +              <pattern></pattern>
  13.191 +            </hudson.plugins.violations.TypeConfig>
  13.192 +          </entry>
  13.193 +          <entry>
  13.194 +            <string>simian</string>
  13.195 +            <hudson.plugins.violations.TypeConfig>
  13.196 +              <type>simian</type>
  13.197 +              <min>10</min>
  13.198 +              <max>999</max>
  13.199 +              <unstable>999</unstable>
  13.200 +              <usePattern>false</usePattern>
  13.201 +              <pattern></pattern>
  13.202 +            </hudson.plugins.violations.TypeConfig>
  13.203 +          </entry>
  13.204 +          <entry>
  13.205 +            <string>stylecop</string>
  13.206 +            <hudson.plugins.violations.TypeConfig>
  13.207 +              <type>stylecop</type>
  13.208 +              <min>10</min>
  13.209 +              <max>999</max>
  13.210 +              <unstable>999</unstable>
  13.211 +              <usePattern>false</usePattern>
  13.212 +              <pattern></pattern>
  13.213 +            </hudson.plugins.violations.TypeConfig>
  13.214 +          </entry>
  13.215 +        </typeConfigs>
  13.216 +        <limit>100</limit>
  13.217 +        <encoding>default</encoding>
  13.218 +      </config>
  13.219 +    </hudson.plugins.violations.hudson.maven.ViolationsMavenReporter>
  13.220 +  </reporters>
  13.221 +  <publishers>
  13.222 +    <hudson.plugins.persona.QuotePublisher>
  13.223 +      <persona>hudmi</persona>
  13.224 +    </hudson.plugins.persona.QuotePublisher>
  13.225 +  </publishers>
  13.226 +  <buildWrappers/>
  13.227 +</maven2-moduleset>
  13.228 \ No newline at end of file
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/resource/jenkins-config/jobs/WebProject/svnexternals.txt	Tue Mar 22 19:03:40 2011 +0900
    14.3 @@ -0,0 +1,2 @@
    14.4 +<?xml version='1.0' encoding='UTF-8'?>
    14.5 +<list/>
    14.6 \ No newline at end of file
    15.1 Binary file resource/jenkins-config/persona/hudmi/failure.png has changed
    16.1 Binary file resource/jenkins-config/persona/hudmi/icon.png has changed
    17.1 Binary file resource/jenkins-config/persona/hudmi/other.png has changed
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/resource/jenkins-config/persona/hudmi/persona.xml	Tue Mar 22 19:03:40 2011 +0900
    18.3 @@ -0,0 +1,4 @@
    18.4 +<?xml version="1.0" encoding="utf-8"?>
    18.5 +<persona id='hudmi' displayName='Hud美ã•ã‚“'>
    18.6 +  <quote>頼れる秘書。Hud美ã•ã‚“</quote>
    18.7 +</persona>
    18.8 \ No newline at end of file
    19.1 Binary file resource/jenkins-config/persona/hudmi/success.png has changed
    20.1 Binary file resource/jenkins-config/plugins/analysis-core.hpi has changed
    21.1 Binary file resource/jenkins-config/plugins/checkstyle.hpi has changed
    22.1 Binary file resource/jenkins-config/plugins/dashboard-view.hpi has changed
    23.1 Binary file resource/jenkins-config/plugins/dry.hpi has changed
    24.1 Binary file resource/jenkins-config/plugins/emma.hpi has changed
    25.1 Binary file resource/jenkins-config/plugins/findbugs.hpi has changed
    26.1 Binary file resource/jenkins-config/plugins/persona.hpi has changed
    27.1 Binary file resource/jenkins-config/plugins/pmd.hpi has changed
    28.1 Binary file resource/jenkins-config/plugins/trac.hpi has changed
    29.1 Binary file resource/jenkins-config/plugins/violations.hpi has changed