Author: gertv
Date: Sun May 25 05:27:39 2008
New Revision: 659975

URL: http://svn.apache.org/viewvc?rev=659975&view=rev
Log:
SM-1369: Build fails on CheckStyle reports

Added:
    servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle-header.txt
Modified:
    servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle.xml
    servicemix/smx3/trunk/parent/pom.xml

Added: servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle-header.txt
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle-header.txt?rev=659975&view=auto
==============================================================================
--- servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle-header.txt 
(added)
+++ servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle-header.txt 
Sun May 25 05:27:39 2008
@@ -0,0 +1,18 @@
+^/\*$
+^ \* Licensed to the Apache Software Foundation \(ASF\) under one or more$
+^ \* contributor license agreements.  See the NOTICE file distributed with$
+^ \* this work for additional information regarding copyright ownership.$
+^ \* The ASF licenses this file to You under the Apache License, Version 2.0$
+^ \* \(the "License"\); you may not use this file except in compliance with$
+^ \* the License.  You may obtain a copy of the License at$
+^ \*$
+^ \*      http://www.apache.org/licenses/LICENSE-2.0$
+^ \*$
+^ \* Unless required by applicable law or agreed to in writing, software$
+^ \* distributed under the License is distributed on an "AS IS" BASIS,$
+^ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.$
+^ \* See the License for the specific language governing permissions and$
+^ \* limitations under the License.$
+^ \*/$
+^package 
+^$
\ No newline at end of file

Modified: servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle.xml?rev=659975&r1=659974&r2=659975&view=diff
==============================================================================
--- servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle.xml (original)
+++ servicemix/smx3/trunk/build/src/main/resources/smx-checkstyle.xml Sun May 
25 05:27:39 2008
@@ -70,8 +70,8 @@
         
         <!-- Header checks -->
         <module name="RegexpHeader">
-            <property name="header"
-                 value="^/\*$\n^ \* Licensed to the Apache Software Foundation 
\(ASF\) under one or more$\n^ \* contributor license agreements.  See the 
NOTICE file distributed with$\n^ \* this work for additional information 
regarding copyright ownership.$\n^ \* The ASF licenses this file to You under 
the Apache License, Version 2.0$\n \* \(the &quot;License&quot;\); you may not 
use this file except in compliance with$\n^ \* the License.  You may obtain a 
copy of the License at$\n^ \*$\n^ \*      
http://www.apache.org/licenses/LICENSE-2.0$\n^ \*$\n^ \* Unless required by 
applicable law or agreed to in writing, software$\n^ \* distributed under the 
License is distributed on an &quot;AS IS&quot; BASIS,$\n^ \* WITHOUT WARRANTIES 
OR CONDITIONS OF ANY KIND, either express or implied.$\n^ \* See the License 
for the specific language governing permissions and$\n^ \* limitations under 
the License.$\n^ \*/$\n^package \n^$\n"/>
+            <property name="headerFile"
+                 value="${checkstyle.header.file}"/>
         </module>
 
 

Modified: servicemix/smx3/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/trunk/parent/pom.xml?rev=659975&r1=659974&r2=659975&view=diff
==============================================================================
--- servicemix/smx3/trunk/parent/pom.xml (original)
+++ servicemix/smx3/trunk/parent/pom.xml Sun May 25 05:27:39 2008
@@ -73,6 +73,7 @@
                     <linkXRef>false</linkXRef>
                     
<suppressionsLocation>smx-checkstyle-suppressions.xml</suppressionsLocation>
                     <sourceDirectory>${basedir}/src</sourceDirectory>
+                    <headerLocation>smx-checkstyle-header.txt</headerLocation>
                   </configuration>
                   <goals>
                     <goal>checkstyle</goal>


Reply via email to