<profile>
<id>tkweb</id>
<properties>
<file.name>ztweb-ws</file.name>
</properties>
<build>
<finalName>${file.name}</finalName>
<resources>
<resource>
<directory>${basedir}/resources/ztweb/</directory>
<filtering>false</filtering>
<includes>
<include>*.xml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/Test.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Hi ,
This is my profile under the pom.xml file
The folder resources / ztweb has got two xml files namely cxf-endpoints and services
please refer to the screen shot below of it
http://tinypic.com/view.php?pic=ohn77n&s=7
But while building the target , why these two xml files are being skipped
The result is this (Please refer to the screen shot of target directory structure )
http://tinypic.com/view.php?pic=1znmrsy&s=7
Thank you for reading .
As you’re overriding
build.finalNameto “ztweb-ws”, the app isn’t being built totarget/ztweb-ws-1.0, which you showed in the screenshot. Look intarget/ztweb-wsinstead.