maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r704654 - in /maven/plugins/trunk/maven-resources-plugin/src/site: apt/examples/binaries-filtering.apt site.xml
Date Tue, 14 Oct 2008 20:07:39 GMT
Author: olamy
Date: Tue Oct 14 13:07:38 2008
New Revision: 704654

URL: http://svn.apache.org/viewvc?rev=704654&view=rev
Log:
add documentation on how to prevent filtering on some file extensions.


Added:
    maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt
  (with props)
Modified:
    maven/plugins/trunk/maven-resources-plugin/src/site/site.xml

Added: maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt?rev=704654&view=auto
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt
(added)
+++ maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt
Tue Oct 14 13:07:38 2008
@@ -0,0 +1,60 @@
+ ------
+ Binaries Filtering
+ ------
+ Olivier Lamy
+ ------
+ 2008-10-14
+ ------
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Binaries filtering
+
+ Now the plugin will prevent binaries files filtering without adding some excludes configuration.
+ 
+ By default, files with extensions (jpg, jpeg, gif, bmp and png) won't be filtered anymore.
+ 
+ Users can add some extra file extensions to not apply filtering with the following configuration
:
+ 
+
++-----+
+<project>
+  ...
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <configuration>
+          ...
+          <nonFilteredFileExtensions>
+            <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
+            <nonFilteredFileExtension>swf</nonFilteredFileExtension>
+          </nonFilteredFileExtensions>
+          ...
+        </configuration>
+      </plugin>
+    </plugins>
+    ...
+  </build>
+  ...
+</project>
++-----+

Propchange: maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt
------------------------------------------------------------------------------
    svn:executable = *

Propchange: maven/plugins/trunk/maven-resources-plugin/src/site/apt/examples/binaries-filtering.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/plugins/trunk/maven-resources-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/site/site.xml?rev=704654&r1=704653&r2=704654&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/site/site.xml Tue Oct 14 13:07:38 2008
@@ -39,7 +39,9 @@
       <item name="Escape Filtering"
             href="/examples/escape-filtering.html"/>
       <item name="Copy Resources"
-            href="/examples/copy-resources.html"/>      
+            href="/examples/copy-resources.html"/>   
+      <item name="Binaries Filtering"
+            href="/examples/binaries-filtering.html"/>   
     </menu>
   </body>
 </project>



Mime
View raw message