1。 generate wsdl by command
cd C:\workspace\WDS2.4.WAS8.5\scwdservicechannel\target\classes
"C:\swdtools\IBM\RAD85\jdk\bin\wsgen.exe" com.hsbc.scwd.scwdservicechannel.ws.goaltracking.GoalTrackingWebServiceEndpoint -classpath "C:\workspace\WDS2.4.WAS8.5\scwdservicechannel\target\classes;C:\workspace\WDS2.4.WAS8.5\scwdweb\target\classes;C:\workspace\WDS2.4.WAS8.5\scwdwebservicemodel\target\classes;C:\workspace\WDS2.4.WAS8.5\scwdservice\target\classes;C:\workspace\WDS2.4.WAS8.5\common\target\classes;C:\Users\43612919\.m2\repository/org/springframework/spring-web/2.5.6/spring-web-2.5.6.jar;C:\Users\43612919\.m2\repository\org\springframework\spring-beans\2.5.6\spring-beans-2.5.6.jar" -wsdl:Xsoap1.2 -servicename {http://goaltracking.ws.scwdservicechannel.scwd.hsbc.com/}GoalTrackingWebServiceEndpoint -d C:\SCWD\output -r C:\SCWD\output\wsdl -s C:\workspace\WDS2.4.WAS8.5\scwdwebservicemodel -verbose -extension
------------------------------------------Maven setting----------------------------------
settings.xml:
<!--
| This is the configuration file for Maven. It can be specified at two levels:
|
| 1. User Level. This settings.xml file provides configuration for a single user,
| and is normally provided in $HOME/.m2/settings.xml.
|
| NOTE: This location can be overridden with the system property:
|
| -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
|
| 2. Global Level. This settings.xml file provides configuration for all maven
| users on a machine (assuming they're all using the same maven
| installation). It's normally provided in
| ${maven.home}/conf/settings.xml.
|
| NOTE: This location can be overridden with the system property:
|
| -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start at
| getting the most out of your Maven installation. Where appropriate, the default
| values (values used when the setting is not specified) are provided.
|
|-->
<settings>
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<servers>
<server>
<id>nexus-central</id>
<username>43612919</username>
<password>Pass5689</password>
</server>
<server>
<id>R2DS-Group</id>
<username>43612919</username>
<password>Pass5689</password>
</server>
<server>
<id>dsnexus-snapshots</id>
<username>43612919</username>
<password>Pass5689</password>
</server>
<server>
<id>dsnexus-releases</id>
<username>43612919</username>
<password>Pass5689</password>
</server>
<server>
<id>OHFE-Development</id>
<username>43612919</username>
<password>Pass5689</password>
</server>
<server>
<id>legacy-swh-release</id>
<username>43612919</username>
<password>Pass5689</password>
</server>
</servers>
<mirrors>
<mirror>
<id>nexus-central</id>
<name></name>
<url>https://dsnexus.uk.hibm.hsbc:8081/nexus/content/groups/prd</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>R2DS</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>R2DS-Group</id>
<url>https://dsnexus.uk.hibm.hsbc:8082/nexus/content/repositories/R2DS-Group</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</repository>
<repository>
<id>dsnexus-releases</id>
<url>https://dsnexus.uk.hibm.hsbc:8081/nexus/content/groups/prd/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>dsnexus-snapshots</id>
<url>https://dsnexus.uk.hibm.hsbc:8081/nexus/content/repositories/snapshots/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- START: add to build V1 sandbox -->
<repository>
<id>legacy-swh-release</id>
<url>https://dsnexus.uk.hibm.hsbc:8082/nexus/content/repositories/legacy-swh-release/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>OHFE-Development</id>
<url>https://dsnexus.uk.hibm.hsbc:8082/nexus/content/groups/OHFE-Development/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- END: add to build V1 sandbox -->
</repositories>
<pluginRepositories>
<pluginRepository>
<id>R2DS-Group</id>
<url>https://dsnexus.uk.hibm.hsbc:8082/nexus/content/repositories/R2DS-Group</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>compiler</id>
<properties>
<JAVA_1_6_HOME>C:\swdtools\IBM\RAD85\runtimes\base_v85_stub\java</JAVA_1_6_HOME>
<JAVA_1_7_HOME>C:\swdtools\IBM\RAD85\runtimes\base_v85_stub\java_1.7_32</JAVA_1_7_HOME>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>R2DS</activeProfile>
<activeProfile>compiler</activeProfile>
<!--<activeProfile>RBP-user</activeProfile>-->
<!--<activeProfile>OHFE-Development</activeProfile>-->
</activeProfiles>
<pluginGroups>
<pluginGroup>com.hsbc.alm.maven.scm</pluginGroup>
<pluginGroup>com.hsbc.alm.maven.jr2</pluginGroup>
</pluginGroups>
</settings>
------------------------------------------------component maven pom.xml--------------------------
1.common pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>scwdpom</artifactId>
<groupId>com.hsbc.wmd.scwd</groupId>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../scwdpom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>common</artifactId>
<name>common</name>
<packaging>jar</packaging>
<version>2.5.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>config</artifactId>
<version>2.5.0-SNAPSHOT</version>
</dependency>
<!-- ES Framework Core -->
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-core</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-jms</artifactId>
<version>1.6.0</version>
<exclusions>
<exclusion>
<artifactId>cglib-full</artifactId>
<groupId>cglib</groupId>
</exclusion>
<exclusion>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-core-rp</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-validation-conversion</artifactId>
<version>1.6.0</version>
</dependency>
<!-- ES Remote Service Provider -->
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-rsp</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-rsp</artifactId>
<version>1.8.0</version>
</dependency>
<!-- ES Host Adapter -->
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-host-adapter</artifactId>
<version>1.7.0</version>
<exclusions>
<exclusion>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-jms</artifactId>
</exclusion>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha-converter</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha-fixlength</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha-ism</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha-ism10</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha-ism11</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha-ism12</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-ns-ha-ism20</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-tracing</artifactId>
<version>1.3.0</version>
<exclusions>
<exclusion>
<artifactId>aspectjrt</artifactId>
<groupId>aspectj</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- 3rd Party -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<!--
<dependency>
<groupId>bsh</groupId>
<artifactId>bsh</artifactId>
<version>2.0b4</version>
</dependency>
<dependency>
<groupId>bsf</groupId>
<artifactId>bsf</artifactId>
<version>2.4.0</version>
</dependency>
-->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor</artifactId>
<version>1.1.2.1</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xerces</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>2.0.7</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
<exclusions>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>apache-log4j-extras</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>2.4.2</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
<exclusions>
<exclusion>
<artifactId>xml-apis</artifactId>
<groupId>xml-apis</groupId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<artifactId>hibernate-core</artifactId>
<groupId>org.hibernate</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.2.GA.BUY1</version>
<!-- to solve the imcompatible problem of asm-->
<!--
http://blog.springsource.com/main/2007/06/11/asm-version-incompatibilities-using-spring-autowired-with-hibernate/
-->
<exclusions>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm-attrs</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<!-- JTA is available in j2ee.jar -->
<exclusion>
<artifactId>jta</artifactId>
<groupId>javax.transaction</groupId>
</exclusion>
<exclusion>
<artifactId>cglib</artifactId>
<groupId>cglib</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.11</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.11</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>com.jamonapi</groupId>
<artifactId>jamon</artifactId>
<version>2.4</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.1_3</version>
</dependency>
<!-- IDS mirco Services -->
<dependency>
<groupId>com.hsbc.esf.ca</groupId>
<artifactId>esf-ca-jhx-bde-el</artifactId>
<version>1.3.0-RC1</version>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
</exclusion>
<exclusion>
<artifactId>aspectjweaver</artifactId>
<groupId>aspectj</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- OHD Message -->
<dependency>
<groupId>com.hsbc.group.oh</groupId>
<artifactId>group-oh-intg</artifactId>
<version>1.0.8</version>
</dependency>
<dependency>
<groupId>com.hsbc.group.oh</groupId>
<artifactId>group-oh-pres</artifactId>
<version>1.0.8</version>
</dependency>
<!--
Conditonal import require XPath so xalan is required. Websphere also have a version in JRE so no need include here normally
Yet, it is include here for following reason :
1) make it possible to run and compile on non IBM JDK
2) webservice need this jar anyway as websphere'one is too old. (It is include when component depends cxf-rt-frontend-jaxws
3) no harm to include this normally
-->
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.1</version>
<exclusions>
<!-- xml-apis is provided by the server -->
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.hsbc.group.oh</groupId>
<artifactId>group-oh-svc</artifactId>
<version>2.1.0</version>
<exclusions>
<exclusion>
<artifactId>aspectjweaver</artifactId>
<groupId>aspectj</groupId>
</exclusion>
<exclusion>
<artifactId>cglib</artifactId>
<groupId>cglib</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-batch</artifactId>
<version>1.8.0-CQ21246</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
</exclusion>
<exclusion>
<artifactId>hibernate-core</artifactId>
<groupId>org.hibernate</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.12</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.6.12</version>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>2.2.3</version>
</dependency>
</dependencies>
<properties>
<module-name>common</module-name>
</properties>
<profiles>
<profile>
<id>LogFilesUtil</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<finalName>LogFilesUtil</finalName>
<includes>
<include>**/com/hsbc/scwd/common/logging/*</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>compileTest</id>
<activation>
<property>
<name>!maven.test.skip</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>config</artifactId>
<version>2.5.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
2.commontest pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>commontest</artifactId>
<name>commontest</name>
<packaging>jar</packaging>
<version>2.5.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.8.1</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.03</version>
</dependency>
<dependency>
<groupId>javax.j2ee</groupId>
<artifactId>j2ee</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-mock</artifactId>
<version>2.0.6</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit4</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-legacy</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>com.mockrunner</groupId>
<artifactId>mockrunner</artifactId>
<version>0.4.0</version>
</dependency>
<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>2.4.8</version>
<exclusions>
<exclusion>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</exclusion>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commonj</groupId>
<artifactId>commonj-twm</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.1.0.7.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>com.hsbc.esf</groupId>
<artifactId>esf-core</artifactId>
<version>1.5.0</version>
<exclusions>
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.9.0.GA</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
</dependency>
<!-- remove or upgrade belows later -->
<dependency>
<groupId>com.ibm.websphere.ws</groupId>
<artifactId>com.ibm.ws.runtime</artifactId>
<version>8.5.0</version>
<scope>provided</scope>
</dependency>
<!-- remove or upgrade aboves later -->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<failOnError>false</failOnError>
<source>1.7</source>
<target>1.7</target>
<encoding>Cp1252</encoding>
<fork>true</fork>
<executable>${JAVA_1_7_HOME}/bin/javac</executable>
<compilerVersion>1.7</compilerVersion>
</configuration>
</plugin>
</plugins>
</build>
</project>
3. config.pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>scwdpom</artifactId>
<groupId>com.hsbc.wmd.scwd</groupId>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../scwdpom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>config</artifactId>
<version>2.5.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>config</name>
<properties>
<module-name>config</module-name>
<maven.build.timestamp.format>yyyyMMdd_HHmm</maven.build.timestamp.format>
<assembly.skipAssembly>true</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_17</targetEnvName>
<serverNumber>17</serverNumber>
<targetHostname>tkdp2rbpwas41</targetHostname>
<instanceName1>tkdp2rbpwas41_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas41_wdsapp02</instanceName2>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<assemblyDescriptorPath>src/main/assembly/config-assembly.xml</assemblyDescriptorPath>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>entity/**</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- Assemble Config Teamsite Package -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>config-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${configPackageName}</finalName>
<attach>true</attach>
<appendAssemblyId>true</appendAssemblyId>
<descriptors>
<descriptor>${assemblyDescriptorPath}</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>compileTest</id>
<activation>
<property>
<name>!maven.test.skip</name>
</property>
</activation>
<build>
<testResources>
<testResource>
<directory>SHARE_PROPERTIES</directory>
</testResource>
<testResource>
<directory>src/test/resources</directory>
</testResource>
<testResource>
<directory>src/main/resources</directory>
<includes>
<include>entity/**</include>
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>devBuild</id>
<activation>
<property>
<name>devBuild</name>
<value>true</value>
</property>
</activation>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>SHARE_PROPERTIES</directory>
<excludes>
<exclude>.jazzignore</exclude>
</excludes>
</resource>
</resources>
</build>
</profile>
<profile>
<id>devBuildWDS</id>
<activation>
<property>
<name>devBuildWDS</name>
<value>true</value>
</property>
</activation>
<build>
<resources>
<resource>
<directory>WDS/env_CORE2A/env_specific</directory>
</resource>
<resource>
<directory>WDS/env_CORE2A/hkgv3ls0403_wdsapp01</directory>
</resource>
</resources>
</build>
</profile>
<profile>
<id>devBuildWCS</id>
<activation>
<property>
<name>devBuildWCS</name>
<value>true</value>
</property>
</activation>
<build>
<resources>
<resource>
<directory>WCS/env_CORE2A/env_specific</directory>
</resource>
<resource>
<directory>WCS/env_CORE2A/hkgv3ls0405_wcsapp01</directory>
</resource>
</resources>
</build>
</profile>
<profile>
<id>devBuildWDSBI</id>
<activation>
<property>
<name>devBuildWDSBI</name>
<value>true</value>
</property>
</activation>
<build>
<resources>
<resource>
<directory>WDSBI/env_CORE2A/env_specific</directory>
</resource>
<resource>
<directory>WDSBI/env_CORE2A/hkgv3ls0403_bidsapp01</directory>
</resource>
</resources>
</build>
</profile>
<!-- For WDS -->
<profile>
<id>config_wds_env_4_tkdp2rbpwas153</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_4_tkdp2rbpwas153</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_4</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas153</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas153_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas153_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_4_tkdp2rbpwas162</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_4_tkdp2rbpwas162</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_4</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas162</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas162_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas162_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_15_tkdp2rbpwas19</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_15_tkdp2rbpwas19</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_15</targetEnvName>
<serverNumber>15</serverNumber>
<targetHostname>tkdp2rbpwas19</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>drbpwas19_scwd2</instanceName1>
<assemblyDescriptorPath>src/main/assembly/single_instance/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wds_env_17_tkdp2rbpwas41</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_17_tkdp2rbpwas41</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_17</targetEnvName>
<serverNumber>17</serverNumber>
<targetHostname>tkdp2rbpwas41</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas41_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas41_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_4_UAE_tkdp2rbpwas183</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_4_UAE_tkdp2rbpwas183</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_4_UAE</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas183</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas183_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas183_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_4_UAE_tkdp2rbpwas184</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_4_UAE_tkdp2rbpwas184</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_4_UAE</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas184</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas184_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas184_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_15_UAE_tkdp2rbpwas164</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_15_UAE_tkdp2rbpwas164</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_15_UAE</targetEnvName>
<serverNumber>15</serverNumber>
<targetHostname>tkdp2rbpwas164</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas164_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas164_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_17_UAE_tkdp2rbpwas166</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_17_UAE_tkdp2rbpwas166</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_17_UAE</targetEnvName>
<serverNumber>17</serverNumber>
<targetHostname>tkdp2rbpwas166</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas166_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas166_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_PROD_MTY</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_PROD_MTY</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_PROD_MTY</targetEnvName>
<serverNumber>8</serverNumber>
<targetHostname></targetHostname>
<configPackageName>${serverNumber}_config_${maven.build.timestamp}_MTY_${appName}prd</configPackageName>
<instanceName1>mtcsacsmwasv009_wdsapp01</instanceName1>
<instanceName2>mtcsacsmwasv009_wdsapp02</instanceName2>
<instanceName3>mtcsbcsmwasv009_wdsapp01</instanceName3>
<instanceName4>mtcsbcsmwasv009_wdsapp02</instanceName4>
<assemblyDescriptorPath>src/main/assembly/prod/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wds_env_PROD_TKO</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_PROD_TKO</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_PROD_TKO</targetEnvName>
<serverNumber>8</serverNumber>
<targetHostname></targetHostname>
<configPackageName>${serverNumber}_config_${maven.build.timestamp}_TKO_${appName}prd</configPackageName>
<instanceName1>tkcsacsmwasv009_wdsapp01</instanceName1>
<instanceName2>tkcsacsmwasv009_wdsapp02</instanceName2>
<instanceName3>tkcsbcsmwasv009_wdsapp01</instanceName3>
<instanceName4>tkcsbcsmwasv009_wdsapp02</instanceName4>
<assemblyDescriptorPath>src/main/assembly/prod/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wds_env_PSE_tkdp2rbpwas178</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_PSE_tkdp2rbpwas178</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_PSE</targetEnvName>
<serverNumber>PSE</serverNumber>
<targetHostname>tkdp2rbpwas178</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas178_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas178_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_PSE_tkdp2rbpwas202</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_PSE_tkdp2rbpwas202</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_PSE</targetEnvName>
<serverNumber>PSE</serverNumber>
<targetHostname>tkdp2rbpwas202</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas202_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas202_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_CORE2A_hkgv3ls0403</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_CORE2A_hkgv3ls0403</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>hkgv3ls0403</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0403_wdsapp01</instanceName1>
<instanceName2>hkgv3ls0403_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_CORE2A_hkgv3ls0404</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_CORE2A_hkgv3ls0404</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>hkgv3ls0404</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0404_wdsapp01</instanceName1>
<instanceName2>hkgv3ls0404_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_CORE2A_both</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_CORE2A_both</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>WDS</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>both</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0403_wdsapp01</instanceName1>
<instanceName2>hkgv3ls0403_wdsapp02</instanceName2>
<instanceName3>hkgv3ls0404_wdsapp01</instanceName3>
<instanceName4>hkgv3ls0404_wdsapp02</instanceName4>
<assemblyDescriptorPath>src/main/assembly/prod/config-assembly-wds.xml</assemblyDescriptorPath>
</properties>
</profile>
<!-- For WCS -->
<profile>
<id>config_wcs_env_4_tkdp2rbpwas154</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_4_tkdp2rbpwas154</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_4</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas154</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas154_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas154_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_4_tkdp2rbpwas163</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_4_tkdp2rbpwas163</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_4</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas163</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas163_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas163_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_15_tkdp2rbpwas42</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_15_tkdp2rbpwas42</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_15</targetEnvName>
<serverNumber>15</serverNumber>
<targetHostname>tkdp2rbpwas42</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas42_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas42_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_17_tkdp2rbpwas45</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_17_tkdp2rbpwas45</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_17</targetEnvName>
<serverNumber>17</serverNumber>
<targetHostname>tkdp2rbpwas45</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas45_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas45_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_4_UAE_tkdp2rbpwas185</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_4_UAE_tkdp2rbpwas185</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_4_UAE</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas185</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas185_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas185_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_4_UAE_tkdp2rbpwas186</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_4_UAE_tkdp2rbpwas186</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_4_UAE</targetEnvName>
<serverNumber>4</serverNumber>
<targetHostname>tkdp2rbpwas186</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas186_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas186_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_15_UAE_tkdp2rbpwas165</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_15_UAE_tkdp2rbpwas165</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_15_UAE</targetEnvName>
<serverNumber>15</serverNumber>
<targetHostname>tkdp2rbpwas165</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas165_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas165_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_17_UAE_tkdp2rbpwas167</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_17_UAE_tkdp2rbpwas167</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_17_UAE</targetEnvName>
<serverNumber>17</serverNumber>
<targetHostname>tkdp2rbpwas167</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas167_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas167_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_PROD_MTY</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_PROD_MTY</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_PROD_MTY</targetEnvName>
<serverNumber>8</serverNumber>
<targetHostname></targetHostname>
<configPackageName>${serverNumber}_config_${maven.build.timestamp}_MTY_${appName}prd</configPackageName>
<instanceName1>mtcsacsmwasv010_wcsapp01</instanceName1>
<instanceName2>mtcsacsmwasv010_wcsapp02</instanceName2>
<instanceName3>mtcsbcsmwasv010_wcsapp01</instanceName3>
<instanceName4>mtcsbcsmwasv010_wcsapp02</instanceName4>
<assemblyDescriptorPath>src/main/assembly/prod/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wcs_env_PROD_TKO</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_PROD_TKO</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_PROD_TKO</targetEnvName>
<serverNumber>8</serverNumber>
<targetHostname></targetHostname>
<configPackageName>${serverNumber}_config_${maven.build.timestamp}_TKO_${appName}prd</configPackageName>
<instanceName1>tkcsacsmwasv010_wcsapp01</instanceName1>
<instanceName2>tkcsacsmwasv010_wcsapp02</instanceName2>
<instanceName3>tkcsbcsmwasv010_wcsapp01</instanceName3>
<instanceName4>tkcsbcsmwasv010_wcsapp02</instanceName4>
<assemblyDescriptorPath>src/main/assembly/prod/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wcs_env_PSE_tkdp2rbpwas179</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_PSE_tkdp2rbpwas179</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_PSE</targetEnvName>
<serverNumber>PSE</serverNumber>
<targetHostname>tkdp2rbpwas179</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas179_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas179_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_PSE_tkdp2rbpwas203</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_PSE_tkdp2rbpwas203</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_PSE</targetEnvName>
<serverNumber>PSE</serverNumber>
<targetHostname>tkdp2rbpwas203</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas203_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas203_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_CORE2A_hkgv3ls0405</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_CORE2A_hkgv3ls0405</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>hkgv3ls0405</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0405_wcsapp01</instanceName1>
<instanceName2>hkgv3ls0405_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_CORE2A_hkgv3ls0406</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_CORE2A_hkgv3ls0406</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>hkgv3ls0406</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0406_wcsapp01</instanceName1>
<instanceName2>hkgv3ls0406_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_CORE2A_both</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_CORE2A_both</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>WCS</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>both</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0405_wcsapp01</instanceName1>
<instanceName2>hkgv3ls0405_wcsapp02</instanceName2>
<instanceName3>hkgv3ls0406_wcsapp01</instanceName3>
<instanceName4>hkgv3ls0406_wcsapp02</instanceName4>
<assemblyDescriptorPath>src/main/assembly/prod/config-assembly-wcs.xml</assemblyDescriptorPath>
</properties>
</profile>
<!-- For WDSBI -->
<profile>
<id>config_wdsbi_env_15_UAE_tkdp2rbpwas164</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_15_UAE_tkdp2rbpwas164</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbi</appName>
<targetEnvName>env_15_UAE</targetEnvName>
<serverNumber>15</serverNumber>
<targetHostname>tkdp2rbpwas164</targetHostname>
<configPackageName>${serverNumber}_config_UAE_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas164_wdsbiapp01</instanceName1>
<instanceName2>tkdp2rbpwas164_wdsbiapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_17_tkdp2rbpwas41</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_17_tkdp2rbpwas41</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbi</appName>
<targetEnvName>env_17</targetEnvName>
<serverNumber>17</serverNumber>
<targetHostname>tkdp2rbpwas41</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas41_wdsbiapp01</instanceName1>
<instanceName2>tkdp2rbpwas41_wdsbiapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_CORE2A_hkgv3ls0403</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_CORE2A_hkgv3ls0403</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbi</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>hkgv3ls0403</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0403_bidsapp01</instanceName1>
<assemblyDescriptorPath>src/main/assembly/single_instance/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_CORE2A_hkgv3ls0404</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_CORE2A_hkgv3ls0404</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbi</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>hkgv3ls0404</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0404_bidsapp01</instanceName1>
<assemblyDescriptorPath>src/main/assembly/single_instance/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_CORE2A_both</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_CORE2A_both</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>WDSBI</appName>
<targetEnvName>env_CORE2A</targetEnvName>
<serverNumber>CORE2A</serverNumber>
<targetHostname>both</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0403_bidsapp01</instanceName1>
<instanceName2>hkgv3ls0404_bidsapp01</instanceName2>
<assemblyDescriptorPath>src/main/assembly/config-assembly-wdsbi.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_dev_localhost</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_dev_localhost</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbi</appName>
<targetEnvName>env_dev</targetEnvName>
<serverNumber>dev</serverNumber>
<targetHostname>localhost</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>localhost_wdsbiapp01</instanceName1>
<instanceName2>localhost_wdsbiapp02</instanceName2>
</properties>
</profile>
<!-- WD PM batch config -->
<profile>
<id>config_wdsbatch_env_17_tkdp2rbpwas232</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbatch_env_17_tkdp2rbpwas232</value>
</property>
</activation>
<properties>
<assemblyDescriptorPath>src/main/assembly/config-assembly-wdbatch.xml</assemblyDescriptorPath>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbatch</appName>
<targetEnvName>env_17</targetEnvName>
<serverNumber>17</serverNumber>
<targetHostname>tkdp2rbpwas232</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
</properties>
</profile>
<!-- for golbal2 -->
<profile>
<id>config_wds_env_GLOBAL2_tkdp2rbpwas333</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_GLOBAL2_tkdp2rbpwas333</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_GLOBAL2</targetEnvName>
<serverNumber>GLOBAL2</serverNumber>
<targetHostname>tkdp2rbpwas333</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas333_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas333_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_GLOBAL2_tkdp2rbpwas334</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_GLOBAL2_tkdp2rbpwas334</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wds</appName>
<targetEnvName>env_GLOBAL2</targetEnvName>
<serverNumber>GLOBAL2</serverNumber>
<targetHostname>tkdp2rbpwas334</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas334_wdsapp01</instanceName1>
<instanceName2>tkdp2rbpwas334_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_GLOBAL2_tkdp2rbpwas331</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_GLOBAL2_tkdp2rbpwas331</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_GLOBAL2</targetEnvName>
<serverNumber>GLOBAL2</serverNumber>
<targetHostname>tkdp2rbpwas331</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas331_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas331_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_GLOBAL2_tkdp2rbpwas332</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_GLOBAL2_tkdp2rbpwas332</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wcs</appName>
<targetEnvName>env_GLOBAL2</targetEnvName>
<serverNumber>GLOBAL2</serverNumber>
<targetHostname>tkdp2rbpwas332</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas332_wcsapp01</instanceName1>
<instanceName2>tkdp2rbpwas332_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_GLOBAL2_tkdp2rbpwas333</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_GLOBAL2_tkdp2rbpwas333</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbi</appName>
<targetEnvName>env_GLOBAL2</targetEnvName>
<serverNumber>GLOBAL2</serverNumber>
<targetHostname>tkdp2rbpwas333</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas333_wdsbiapp01</instanceName1>
<instanceName2>tkdp2rbpwas333_wdsbiapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_GLOBAL2_tkdp2rbpwas334</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_GLOBAL2_tkdp2rbpwas334</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>wdsbi</appName>
<targetEnvName>env_GLOBAL2</targetEnvName>
<serverNumber>GLOBAL2</serverNumber>
<targetHostname>tkdp2rbpwas334</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>tkdp2rbpwas334_wdsbiapp01</instanceName1>
<instanceName2>tkdp2rbpwas334_wdsbiapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wds_env_CORE1A_503</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wds_env_CORE1A_503</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>WDS</appName>
<targetEnvName>env_CORE1A</targetEnvName>
<serverNumber>CORE1A</serverNumber>
<targetHostname>503</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0503_wdsapp01</instanceName1>
<instanceName2>hkgv3ls0503_wdsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wcs_env_CORE1A_504</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wcs_env_CORE1A_504</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>WCS</appName>
<targetEnvName>env_CORE1A</targetEnvName>
<serverNumber>CORE1A</serverNumber>
<targetHostname>504</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0504_wcsapp01</instanceName1>
<instanceName2>hkgv3ls0504_wcsapp02</instanceName2>
</properties>
</profile>
<profile>
<id>config_wdsbi_env_CORE1A_503</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdsbi_env_CORE1A_503</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>WDSBI</appName>
<targetEnvName>env_CORE1A</targetEnvName>
<serverNumber>CORE1A</serverNumber>
<targetHostname>503</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0503_bidsapp01</instanceName1>
<assemblyDescriptorPath>src/main/assembly/single_instance/config-assembly.xml</assemblyDescriptorPath>
</properties>
</profile>
<profile>
<!-- profile for wdalert -->
<id>config_wdalert_env_CORE1A_506</id>
<activation>
<property>
<name>targetEnv</name>
<value>config_wdalert_env_CORE1A_506</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<appName>WDALERT</appName>
<targetEnvName>env_CORE1A</targetEnvName>
<serverNumber>CORE1A</serverNumber>
<targetHostname>506</targetHostname>
<configPackageName>${serverNumber}_config_${targetHostname}_${maven.build.timestamp}_${appName}</configPackageName>
<instanceName1>hkgv3ls0506_wdbatch01</instanceName1>
<assemblyDescriptorPath>src/main/assembly/config-assembly-wdalert.xml</assemblyDescriptorPath>
</properties>
</profile>
</profiles>
</project>
4.scwdear pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>scwdpom</artifactId>
<groupId>com.hsbc.wmd.scwd</groupId>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../scwdpom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>scwdear</artifactId>
<version>2.5.0-SNAPSHOT</version>
<packaging>ear</packaging>
<name>scwdear</name>
<properties>
<module-name>scwdear</module-name>
<assembly.skipAssembly>true</assembly.skipAssembly>
<maven.build.timestamp.format>yyyyMMdd_HHmm</maven.build.timestamp.format>
<serverNumber>00</serverNumber>
<appName>wds</appName>
<teamsite.package.name>${serverNumber}_${maven.build.timestamp}_${appName}</teamsite.package.name>
</properties>
<dependencies>
<dependency>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>scwdejb</artifactId>
<version>2.5.0-SNAPSHOT</version>
<type>ejb</type>
</dependency>
<dependency>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>scwdweb</artifactId>
<version>2.5.0-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>awlweb</artifactId>
<version>2.5.0-SNAPSHOT</version>
<type>war</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<generateApplicationXml>true</generateApplicationXml>
<applicationXml>${project.build.directory}/application.xml</applicationXml>
<version>6</version>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
<!-- Assemble Teamsite Package -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>${teamsite.package.name}</finalName>
<outputDirectory>../teamsite-package/${appName}</outputDirectory>
<appendAssemblyId>false</appendAssemblyId>
<attach>false</attach>
<descriptors>
<descriptor>src/main/assembly/teamsite-assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>teamsite-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>wds_env_4</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_4</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>4</serverNumber>
</properties>
</profile>
<profile>
<id>wds_env_4_tkdp2rbpwas162</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_4_tkdp2rbpwas162</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>4</serverNumber>
</properties>
</profile>
<profile>
<id>wds_env_15</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_15</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>15</serverNumber>
</properties>
</profile>
<profile>
<id>wds_env_17</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_17</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>17</serverNumber>
</properties>
</profile>
<profile>
<id>wds_env_4_UAE</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_4_UAE</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>4</serverNumber>
<teamsite.package.name>${serverNumber}_UAE_${maven.build.timestamp}_${appName}</teamsite.package.name>
</properties>
</profile>
<profile>
<id>wds_env_4_UAE_tkdp2rbpwas184</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_4_UAE_tkdp2rbpwas184</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>4</serverNumber>
<teamsite.package.name>${serverNumber}_UAE_${maven.build.timestamp}_${appName}</teamsite.package.name>
</properties>
</profile>
<profile>
<id>wds_env_15_UAE</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_15_UAE</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>15</serverNumber>
<teamsite.package.name>${serverNumber}_UAE_${maven.build.timestamp}_${appName}</teamsite.package.name>
</properties>
</profile>
<profile>
<id>wds_env_17_UAE</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_17_UAE</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>17</serverNumber>
<teamsite.package.name>${serverNumber}_UAE_${maven.build.timestamp}_${appName}</teamsite.package.name>
</properties>
</profile>
<profile>
<id>wds_env_PROD</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_PROD</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>8</serverNumber>
<teamsite.package.name>${serverNumber}_${maven.build.timestamp}_${appName}prd</teamsite.package.name>
</properties>
</profile>
<profile>
<id>wds_env_PSE</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_PSE</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>PSE</serverNumber>
<teamsite.package.name>${serverNumber}_${maven.build.timestamp}_${appName}</teamsite.package.name>
</properties>
</profile>
<profile>
<id>wds_env_CORE2A</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_CORE2A</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>CORE2A</serverNumber>
</properties>
</profile>
<profile>
<id>wds_env_CORE1A</id>
<activation>
<property>
<name>targetEnv</name>
<value>wds_env_CORE1A</value>
</property>
</activation>
<properties>
<assembly.skipAssembly>false</assembly.skipAssembly>
<serverNumber>CORE1A</serverNumber>
</properties>
</profile>
</profiles>
</project>
5.
5.1 scwdpom buildAll/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>WDBuildAll</artifactId>
<name>HTSA-SCWD-ALL</name>
<version>2.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- all essential modules -->
<modules>
<module>../../scwdpom</module>
<module>../../commontest</module>
<module>../../config</module>
<module>../../common</module>
<module>../../cacheservice</module>
<module>../../microservice</module>
<module>../../wdsbiwebclient</module>
<module>../../remoteservicesupport</module>
<module>../../wdbatchcore</module>
<module>../../alertcommon</module>
<module>../../alertservice</module>
<module>../../remoteserviceoffline</module>
<module>../../remoteservice</module>
<module>../../remoteservicechannel</module>
<module>../../remotewebserviceclient</module>
<module>../../workcontroller</module>
<!--
<module>../../soapmdbcore</module>
-->
<!-- AWL -->
<module>../../awlweb</module>
<module>../../awlservice</module>
<module>../../awlservicechannel</module>
<!-- -->
<!-- WDS -->
<module>../../scwdservice</module>
<module>../../scwdservicechannel</module>
<module>../../aggregationservice</module>
<module>../../pmservice</module>
<module>../../pmservicechannel</module>
<module>../../pmweb</module>
<module>../../scwdhealthcheck</module>
<!-- WDS -->
<!-- WCS -->
<module>../../wcsservice</module>
<module>../../wcsservicechannel</module>
<!-- WCS -->
<!-- WDSBI -->
<module>../../wdsbicommon</module>
<module>../../wdsbiservice</module>
<module>../../wdsbiservicechannel</module>
<!-- WDS BI -->
<!-- WDS -->
<module>../../scwdweb</module>
<!-- WCS -->
<module>../../wcsweb</module>
<!-- WDS BI -->
<module>../../wdsbiweb</module>
<!-- WDS Batch
<module>../../awlbatchservice</module>
<module>../../pmbatchservice</module>
-->
</modules>
<distributionManagement>
<repository>
<id>${repositoryId}</id>
<url>${repositoryUrl}</url>
</repository>
<snapshotRepository>
<id>${repositoryId}</id>
<url>${repositoryUrl}</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>nexus8081</id>
<properties>
<repositoryId>dsnexus-snapshots</repositoryId>
<repositoryUrl>https://dsnexus.uk.hibm.hsbc:8081/nexus/content/repositories/snapshots</repositoryUrl>
</properties>
</profile>
<!-- generated codes projects, default included, but excluded from sonar analysis if -Dsonar -->
<profile>
<id>WDBatch-NoSonar</id>
<activation>
<property>
<name>!sonar</name>
</property>
</activation>
<modules>
<module>../../remoteservicemodel</module>
<module>../../awlwebservicemodel</module>
<module>../../scwdwebservicemodel</module>
<module>../../pmwebservicemodel</module>
<module>../../scwdejb</module>
<module>../../wcsejb</module>
<!--
<module>../../wdbatchejb</module>
<module>../../wdbatchear</module>
-->
<module>../../wcsear</module>
<module>../../scwdear</module>
<module>../../wdsbiear</module>
<module>../../wcswebservicemodel</module>
<module>../../awlservicemodel</module>
<module>../../scwdservicemodel</module>
<module>../../wdsbiwebservicemodel</module>
</modules>
</profile>
</profiles>
</project>
5.2 wdcommon pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hsbc.wmd.scwd</groupId>
<artifactId>WDCommon</artifactId>
<name>HTSA-SCWD-WDCommon</name>
<version>2.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- all essential modules -->
<modules>
<module>../../scwdpom</module>
<module>../../cacheservice</module>
<module>../../common</module>
<module>../../commontest</module>
<module>../../config</module>
<module>../../awlwebservicemodel</module>
<module>../../microservice</module>
<module>../../wdsbiwebclient</module>
<module>../../awlservice</module>
<module>../../remoteservicesupport</module>
<module>../../remoteservice</module>
<module>../../remoteservicechannel</module>
<module>../../remotewebserviceclient</module>
<module>../../workcontroller</module>
<module>../../remoteservicemodel</module>
<module>../../pmwebservicemodel</module>
</modules>
<distributionManagement>
<repository>
<id>${repositoryId}</id>
<url>${repositoryUrl}</url>
</repository>
<snapshotRepository>
<id>${repositoryId}</id>
<url>${repositoryUrl}</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>nexus8081</id>
<properties>
<repositoryId>dsnexus-snapshots</repositoryId>
<repositoryUrl>https://dsnexus.uk.hibm.hsbc:8081/nexus/content/repositories/snapshots</repositoryUrl>
</properties>
</profile>
</profiles>
</project>
5.3 wdcommon/build_env_Core1A.bat
@@call ..\WDCommon\build_create_version_file.bat %0
@@set packageLogFilePath=%CD%/package-config.log
call mvn -Dmaven.test.skip=true clean install > build.log
5.4 wds/build_env_core1a.bat
@@set packageLogFilePath=%CD%/package-config.log
call mvn -Ddeploy=true -Dmaven.test.skip=true -Pwds_env_CORE1A clean install > build.log
@@cd ../../config
@@echo current directory is %CD%
call mvn -Ddeploy=true -Dmaven.test.skip=true -Pconfig_wds_env_CORE1A_503 assembly:assembly > "%packageLogFilePath%"
@@set localRepository=C:/maven303_repository
@@cd ../teamsite-package/wds
@@echo current directory is %CD%
call mvn deploy:deploy-file -DgroupId=com.hsbc.wmd.wds -DartifactId=wdsear -Dversion=2.4.0-SNAPSHOT -Dpackaging=ear -Dfile=%localRepository%\com\hsbc\wmd\scwd\scwdear\2.4.0-SNAPSHOT\scwdear-2.4.0-SNAPSHOT.ear -Durl=https://dsnexus.uk.hibm.hsbc:8081/nexus/content/repositories/snapshots/ -DrepositoryId=dsnexus-snapshots > upload-ear.log
@@echo current directory is %CD%
@@set newConfigName=CORE1A_config_503_%date:~6,4%%date:~0,2%%date:~3,2%_%time:~0,2%%time:~3,2%_wds.zip
@@rename CORE1A_config_503_wds.zip %newConfigName%
call mvn deploy:deploy-file -DgroupId=com.hsbc.wmd.wds -DartifactId=config -Dversion=2.4.0-SNAPSHOT -Dpackaging=zip -Dfile=%newConfigName% -Durl=https://dsnexus.uk.hibm.hsbc:8081/nexus/content/repositories/snapshots/ -DrepositoryId=dsnexus-snapshots > upload-config.log
@@echo ------------------%date:~6,4%%date:~0,2%%date:~3,2%_%time:~0,2%%time:~3,2%----------------------- >> package_url.txt
@@findstr /E "zip" upload-config.log >> package_url.txt
@@findstr " BUILD " upload-config.log >> package_url.txt
@@findstr /E "ear" upload-ear.log >> package_url.txt
@@findstr " BUILD " upload-ear.log >> package_url.txt
相关推荐
标题中提到的“ORACLE DBA工作笔记 运维数据迁移与性能调优”揭示了这本书籍主要围绕着Oracle数据库管理员(DBA)在日常工作中经常需要进行的两项关键任务:数据迁移和性能调优。作为一名Oracle DBA,不仅要负责...
源码+原型+数据库 工作笔记管理系统源码+原型+数据库 工作笔记管理系统源码+原型+数据库 工作笔记管理系统源码+原型+数据库 工作笔记管理系统源码+原型+数据库 工作笔记管理系统源码+原型+数据库 工作笔记管理系统...
网管工作笔记之故障诊断排除专辑,很不错的技术学校资料
金蝶EAS-BOS工作笔记:150+个BOS开发过程中可能遇到的问题及解答!
《300条MTK工作笔记》是一份珍贵的资源,包含了在MTK(MediaTek)工作中积累的丰富经验和知识。MediaTek是一家知名的半导体公司,以其在无线通信、数字电视、移动设备等领域的芯片解决方案而闻名。这300条笔记涵盖了...
《Apache服务器配置与使用工作笔记》详细介绍了新版本的Apache服务器软件的安装、配置与管理,通过这些介绍,读者能快速地将Apache运用到工作中。在每个章节后附有常见问题解答(FAQ),帮助读者解决一些在Apache...
《C语言工作笔记——含图片》是一份珍贵的个人学习与工作经验总结,作者在实际工作中积累了大量的C语言编程技巧,并通过详细的笔记形式分享出来。这份资料不仅包含了基础的语法讲解,更聚焦于解决实际问题的方法,是...
【标题】"在工作中对VC工作笔记"涵盖了在使用Visual C++(简称VC)进行软件开发过程中的实践经验与总结。这份笔记可能包含了作者在实际项目中遇到的问题、解决方法以及对于VC工具和库的深入理解。 【描述】"一些...
apache 服务器配置与使用工具书。[Apache服务器配置与使用工作笔记].王江伟.扫描版
上传一份自己从学习到工作整理出来的android的笔记,会不断更新,希望对初学者有用
【MTK工作笔记】是针对MediaTek(联发科)平台的工作经验和技巧的总结,旨在帮助用户提升工作效率,节省一半的工作时间。MediaTek是一家全球知名的半导体公司,主要产品包括智能手机、电视、路由器等设备的芯片解决...
个人工作笔记
本人08年工作 真正开始做电子是从12年开始,工作笔记记载个人工作中需要记忆的一些知识
Java工作笔记(必看经典) Java工作笔记(必看经典)是一份专门为Java开发者准备的工作笔记,涵盖了Java编程语言的方方面面,让开发者可以快速地了解Java的各个方面。 一、Java基础知识 Java是一种面向对象的编程...
"工作笔记主题CSS模板"指的是一个专门设计用于创建工作笔记类网站的样式模板,它采用了棕色作为主色调,同时融入了钢笔和笔记的元素,旨在为用户提供一个富有创意和专业感的网页设计框架。CSS(Cascading Style ...
这里需要说明的时,该文档是本人5年工作经验的积累,文档中大部分知识点来源于实际工作中的总结,(除了JAR等资源文件外)其代码都是可运行的,还有一部分知识来源于网络或者其他书籍,这里做一些收集,使该体系更加...
【商务工作笔记总结PPT模板】是用于呈现商务工作中的各项要点、总结和计划的演示文稿模版,旨在帮助用户高效地整理和展示工作内容。以下是对该模板的详细说明: 1. **模板结构**:PPT模板通常包含一个预设的框架,...
工作笔记主题CSS模板是一款专为网站设计而打造的棕色风格模板,它巧妙地融合了钢笔和笔记元素,为用户提供了一种独特的视觉体验。这款模板以其精致的布局和丰富的功能,成为了前端开发中的一个亮点。在HTML和CSS的...