Author: bodewig
Date: Sun Feb 26 07:35:24 2012
New Revision: 1293760

URL: http://svn.apache.org/viewvc?rev=1293760&view=rev
Log:
steal fix for 'inconsistent newlines' generated by mvn site:site from pdfbox

Modified:
    logging/log4net/trunk/log4net.build
    logging/log4net/trunk/pom.xml

Modified: logging/log4net/trunk/log4net.build
URL: 
http://svn.apache.org/viewvc/logging/log4net/trunk/log4net.build?rev=1293760&r1=1293759&r2=1293760&view=diff
==============================================================================
--- logging/log4net/trunk/log4net.build (original)
+++ logging/log4net/trunk/log4net.build Sun Feb 26 07:35:24 2012
@@ -1317,7 +1317,7 @@ limitations under the License.
     <if test="${platform::is-windows()}">
       <property name="mvn" value="mvn.bat"/>
     </if>
-    <exec program="${mvn}" commandline="site:site"/>
+    <exec program="${mvn}" commandline="site:site install"/>
   </target>
   <target name="package" description="Build and Package distribution">
     <!-- set flag to indicating that this is a package build -->

Modified: logging/log4net/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/logging/log4net/trunk/pom.xml?rev=1293760&r1=1293759&r2=1293760&view=diff
==============================================================================
--- logging/log4net/trunk/pom.xml (original)
+++ logging/log4net/trunk/pom.xml Sun Feb 26 07:35:24 2012
@@ -85,7 +85,7 @@
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
-        <version>0.7</version>
+        <version>0.8</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -139,6 +139,30 @@
           </reportPlugins>
         </configuration>
       </plugin>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.4</version>
+        <executions>
+          <execution>
+            <phase>install</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <fixcrlf srcDir="target/site" excludes="images/**"/>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant</artifactId>
+            <version>1.8.2</version>
+          </dependency>
+        </dependencies>
+      </plugin>
     </plugins>
   </build>
 


Reply via email to