Author: veithen
Date: Wed Aug 30 18:07:53 2017
New Revision: 1806719

URL: http://svn.apache.org/viewvc?rev=1806719&view=rev
Log:
AXIS2-5872: Make the axis2-webapp POM compatible with Eclipse.

Modified:
    axis/axis2/java/core/trunk/modules/webapp/pom.xml

Modified: axis/axis2/java/core/trunk/modules/webapp/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp/pom.xml?rev=1806719&r1=1806718&r2=1806719&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/webapp/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/webapp/pom.xml Wed Aug 30 18:07:53 2017
@@ -218,7 +218,7 @@
         <finalName>axis2-${project.version}</finalName>
         <resources>
             <resource>
-                <directory>../kernel/conf</directory>
+                <directory>${project.build.directory}/kernel/conf</directory>
                 <includes>
                     <include>*.properties</include>
                 </includes>
@@ -298,6 +298,24 @@
                             </resources>              
                         </configuration>            
                     </execution>
+                    <execution>
+                        <id>copy-kernel-conf-properties</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            
<outputDirectory>${project.build.directory}/kernel/conf</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>../kernel/conf</directory>
+                                    <includes>
+                                        <include>*.properties</include>
+                                    </includes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
             <plugin>


Reply via email to