geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1038929 - /geronimo/daytrader/branches/2.1/modules/web/pom.xml
Date Thu, 25 Nov 2010 06:08:57 GMT
Author: xiaming
Date: Thu Nov 25 06:08:57 2010
New Revision: 1038929

URL: http://svn.apache.org/viewvc?rev=1038929&view=rev
Log:
Change a way to filter web resource to avoid mvn eclipse:eclipse failure on windows platform

Modified:
    geronimo/daytrader/branches/2.1/modules/web/pom.xml

Modified: geronimo/daytrader/branches/2.1/modules/web/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1/modules/web/pom.xml?rev=1038929&r1=1038928&r2=1038929&view=diff
==============================================================================
--- geronimo/daytrader/branches/2.1/modules/web/pom.xml (original)
+++ geronimo/daytrader/branches/2.1/modules/web/pom.xml Thu Nov 25 06:08:57 2010
@@ -93,6 +93,7 @@
         -->
     </dependencies>
     <build>
+    	<!-- this cause mvn eclipse:eclipse failure on windows platform
     	<resources>
         	<resource>
                 <directory>
@@ -104,7 +105,7 @@
                     <include>**/tradeversion.html</include>
                 </includes>
             </resource>                
-        </resources>
+        </resources>-->
         <plugins>
             <!-- Removed per DATRADER-7 due to interop issues on commercial AppServers
             <plugin>
@@ -147,7 +148,7 @@
                             <includes>
                                 <include>web.xml</include>
                             </includes>
-                        </resource>                        
+                        </resource>                                         
                     </resources>
                     <!--                        
                     HACK: Include legal files explicity, otherwise they will
@@ -163,7 +164,16 @@
                                 <include>META-INF/NOTICE*</include>
                                 <include>META-INF/DISCLAIMER*</include>
                             </includes>
-                        </resource>                        
+                        </resource>
+                        <resource>
+                            <directory>${basedir}/src/main/resources</directory>
+                            <!--target path is relative to ${project.build.directory}/${project.artifactId}-${project.version}/
-->
+                            <targetPath>docs</targetPath>
+                            <filtering>true</filtering>                     
      
+                            <includes>
+                                <include>**/tradeversion.html</include>
+                            </includes>
+                        </resource>                             
                     </webResources>
                 </configuration>
             </plugin>



Mime
View raw message