Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <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>
- <parent>
- <artifactId>parent-pom</artifactId>
- <groupId>org.jleaf.erp</groupId>
- <version>3.5.8-SNAPSHOT</version>
- </parent>
- <artifactId>webpos-intgr-service</artifactId>
- <version>3.5.8-SNAPSHOT</version>
- <name>ERP Enterprise Webpos Integration Services</name>
- <description>ERP Enterprise Webpos Integration Services</description>
- <url>http://www.jleaf.org/erp-jleaf/webpos-intgr-service</url>
- <scm>
- <connection>scm:svn:svn://jleaf.org:9011/erp/erp-enterprise/webpos-intgr-service/trunk</connection>
- <developerConnection>scm:svn:svn://jleaf.org:9011/erp/erp-enterprise/webpos-intgr-service/trunk</developerConnection>
- <url>svn://jleaf.org:9011/erp/erp-enterprise/webpos-intgr-service/trunk</url>
- </scm>
- <dependencies>
- <!-- FOR TEST -->
- <dependency>
- <groupId>org.dbunit</groupId>
- <artifactId>dbunit</artifactId>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>junit-addons</artifactId>
- <groupId>junit-addons</groupId>
- </exclusion>
- <exclusion>
- <artifactId>poi</artifactId>
- <groupId>poi</groupId>
- </exclusion>
- <exclusion>
- <artifactId>slf4j-nop</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-all</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.carbonfive</groupId>
- <artifactId>test-support</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.googlecode.json-simple</groupId>
- <artifactId>json-simple</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- </exclusion>
- <exclusion>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- </exclusion>
- <exclusion>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.dbunit</groupId>
- <artifactId>dbunit</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-common</artifactId>
- <exclusions>
- <exclusion>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- Digantikan dengan service-flow <dependency> <groupId>org.jleaf</groupId>
- <artifactId>jleaf-baseservices</artifactId> </dependency> -->
- <dependency>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-service-flow</artifactId>
- <exclusions>
- <exclusion>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-io</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.mongodb</groupId>
- <artifactId>mongo-java-driver</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-mongodb</artifactId>
- </exclusion>
- <exclusion>
- <groupId>cglib</groupId>
- <artifactId>cglib-nodep</artifactId>
- </exclusion>
- <exclusion>
- <groupId>de.odysseus.juel</groupId>
- <artifactId>juel</artifactId>
- </exclusion>
- <exclusion>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>com.springsource.slf4j.log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.codehaus.jettison</groupId>
- <artifactId>jettison</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-jms</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activemq-pool</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.geronimo</groupId>
- <artifactId>commons-logging-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activeio-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.activemq</groupId>
- <artifactId>kahadb</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.activemq.protobuf</groupId>
- <artifactId>activemq-protobuf</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-io</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-net</groupId>
- <artifactId>commons-net</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-pool</groupId>
- <artifactId>commons-pool</artifactId>
- </exclusion>
- <exclusion>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-autonumber</artifactId>
- <exclusions>
- <exclusion>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-io</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.mongodb</groupId>
- <artifactId>mongo-java-driver</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-mongodb</artifactId>
- </exclusion>
- <exclusion>
- <groupId>cglib</groupId>
- <artifactId>cglib-nodep</artifactId>
- </exclusion>
- <exclusion>
- <groupId>de.odysseus.juel</groupId>
- <artifactId>juel</artifactId>
- </exclusion>
- <exclusion>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>com.springsource.slf4j.log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.codehaus.jettison</groupId>
- <artifactId>jettison</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>master-bo</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- <exclusion>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>cb-bo</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- <exclusion>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>webpos-intgr-bo</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- <exclusion>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>inv-bo</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- <exclusion>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>approval-config</artifactId>
- </dependency>
- <!-- JLEAF WORKFLOW -->
- <dependency>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-workflow</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.mongodb</groupId>
- <artifactId>mongo-java-driver</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-mongodb</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib-nodep</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>de.odysseus.juel</groupId>
- <artifactId>juel</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Axis2 / Axiom -->
- <dependency>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.ws.commons.axiom</groupId>
- <artifactId>axiom-api</artifactId>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <artifactId>xercesImpl</artifactId>
- <groupId>xerces</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-spring</artifactId>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <artifactId>xercesImpl</artifactId>
- <groupId>xerces</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- EL 2 -->
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Apache Common IO -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-io</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Spring Core -->
- <!-- Core utilities used by other modules. Define this if you use Spring
- Utility APIs (org.springframework.core.*/org.springframework.util.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Expression Language (depends on spring-core) Define this if you use
- Spring Expression APIs (org.springframework.expression.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-expression</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Bean Factory and JavaBeans utilities (depends on spring-core) Define
- this if you use Spring Bean APIs (org.springframework.beans.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Aspect Oriented Programming (AOP) Framework (depends on spring-core,
- spring-beans) Define this if you use Spring AOP APIs (org.springframework.aop.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-aop</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Application Context (depends on spring-core, spring-expression, spring-aop,
- spring-beans) This is the central artifact for Spring's Dependency Injection
- Container and is generally always defined -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Various Application Context utilities, including EhCache, JavaMail,
- Quartz, and Freemarker integration Define this if you need any of these integrations -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Transaction Management Abstraction (depends on spring-core, spring-beans,
- spring-aop, spring-context) Define this if you use Spring Transactions or
- DAO Exception Hierarchy (org.springframework.transaction.*/org.springframework.dao.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- JDBC Data Access Library (depends on spring-core, spring-beans, spring-context,
- spring-tx) Define this if you use Spring's JdbcTemplate API (org.springframework.jdbc.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Object-to-Relation-Mapping (ORM) integration with Hibernate, JPA,
- and iBatis. (depends on spring-core, spring-beans, spring-context, spring-tx)
- Define this if you need ORM (org.springframework.orm.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-orm</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Object-to-XML Mapping (OXM) abstraction and integration with JAXB,
- JiBX, Castor, XStream, and XML Beans. (depends on spring-core, spring-beans,
- spring-context) Define this if you need OXM (org.springframework.oxm.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-oxm</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Support for testing Spring applications with tools such as JUnit and
- TestNG This artifact is generally always defined with a 'test' scope for
- the integration testing framework and unit testing stubs -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- Web application development utilities applicable to both Servlet and
- Portlet Environments (depends on spring-core, spring-beans, spring-context)
- Define this if you use Spring MVC, or wish to use Struts, JSF, or another
- web framework with Spring (org.springframework.web.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Spring MVC for Servlet Environments (depends on spring-core, spring-beans,
- spring-context, spring-web) Define this if you use Spring MVC with a Servlet
- Container such as Apache Tomcat (org.springframework.web.servlet.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Spring MVC for Portlet Environments (depends on spring-core, spring-beans,
- spring-context, spring-web) Define this if you use Spring MVC with a Portlet
- Container (org.springframework.web.portlet.*) -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc-portlet</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>javax.persistence</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>com.springsource.javax.transaction</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>com.springsource.slf4j.log4j</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Hibernate -->
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-entitymanager</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Oro PerlUtil -->
- <dependency>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.bsc.maven</groupId>
- <artifactId>maven-processor-plugin</artifactId>
- <version>${maven-processor-plugin.version}</version>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>process</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-core</artifactId>
- <version>${jleaf-core.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- <configuration>
- <outputDiagnostics>true</outputDiagnostics>
- <processors>
- <processor>org.jleaf.core.docs.AnnotationProcessor</processor>
- </processors>
- <optionMap>
- <outputFileName>${project.groupId}-${project.artifactId}-${project.version}.ser</outputFileName>
- </optionMap>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jleaf</groupId>
- <artifactId>jleaf-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>update-ser</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>webpos-intgr-bo</artifactId>
- <version>${webpos-intgr-bo.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>master-bo</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- <configuration>
- <!-- For update ser -->
- <updateSerConfig>
- <serFile>${project.groupId}-${project.artifactId}-${project.version}.ser</serFile>
- <serviceFlowFile>${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/service-flow-webpos-intgr-bean.xml</serviceFlowFile>
- </updateSerConfig>
- <!-- for generate doc -->
- <serviceDocConfig>
- <targetFolder>doc</targetFolder>
- <clearFirst>true</clearFirst>
- <document>
- <title>${project.artifactId} - Service Documentation</title>
- <version>${project.version}</version>
- </document>
- </serviceDocConfig>
- <!-- For generate demo service -->
- <demoServiceConfig>
- <serUrl>file:///${project.build.outputDirectory}/${project.groupId}-${project.artifactId}-${project.version}.ser</serUrl>
- <packageName>org.jleaf.erp.webpos_intgr.web</packageName>
- <moduleName>erpjleafwebpos</moduleName>
- <overwrite>false</overwrite>
- <target>
- <forClass>${project.basedir}/target/serviceDemo/class</forClass>
- <forResource>${project.basedir}/target/serviceDemo/resource</forResource>
- </target>
- </demoServiceConfig>
- <!-- For test service -->
- <testServiceConfig>
- <serviceProxyUrl>http://localhost:8082/axis2/services/WebposIntegrationTaskService.WebposIntegrationTaskServiceHttpEndpoint/execute</serviceProxyUrl>
- <serFile>${project.build.outputDirectory}/${project.groupId}-${project.artifactId}-${project.version}.ser</serFile>
- <serverMode>axis2</serverMode>
- <serviceHeader>
- <tenantLoginId>22</tenantLoginId>
- <module>erpjleafwebpos</module>
- </serviceHeader>
- </testServiceConfig>
- <!-- generate-error-prop -->
- <errorProperties>
- <errorPropOutputFolder>target/error-prop</errorPropOutputFolder>
- <errorPropClasses>org.jleaf.erp.webpos_intgr.WebposIntegrationExceptionConstants</errorPropClasses>
- <errorPropLanguages>in,de</errorPropLanguages>
- </errorProperties>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-aar-maven-plugin</artifactId>
- <version>${axis2-aar-maven-plugin.version}</version>
- <configuration>
- <servicesXmlFile>${basedir}/src/main/resources/META-INF/services.xml</servicesXmlFile>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>package</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.jleaf.erp</groupId>
- <artifactId>server-config</artifactId>
- <version>${server-config.version}</version>
- <type>jar</type>
- <overWrite>true</overWrite>
- </artifactItem>
- </artifactItems>
- <outputDirectory>${project.build.directory}</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>local</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy file="${project.build.outputDirectory}/log4j-local.properties" tofile="${project.build.outputDirectory}/log4j.properties" />
- <delete file="${project.build.outputDirectory}/log4j-local.properties" />
- <delete file="${project.build.outputDirectory}/log4j-dev.properties" />
- <delete file="${project.build.outputDirectory}/log4j-qa.properties" />
- <delete file="${project.build.outputDirectory}/log4j-prod.properties" />
- <copy file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-local.properties" tofile="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-local.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-dev.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-qa.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-prod.properties" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- added by fredi 1 April 2015 -->
- <!-- user axis2-aar:aar instead to build service -->
- <!-- <plugin> -->
- <!-- <groupId>org.jleaf</groupId> -->
- <!-- <artifactId>jleaf-maven-plugin</artifactId> -->
- <!-- <version>${jleaf-maven-plugin.version}</version> -->
- <!-- <extensions>true</extensions> -->
- <!-- <configuration> -->
- <!-- <jleafAarConfig> -->
- <!-- <servicesXml>${basedir}/src/main/resources/META-INF/services.xml</servicesXml> -->
- <!-- <pluginVersion> -->
- <!-- <dependenciesPlugin>${maven-dependency-plugin.version}</dependenciesPlugin> -->
- <!-- <antrunPlugin>${maven-antrun-plugin.version}</antrunPlugin> -->
- <!-- <axis2Aar>${axis2-aar-maven-plugin.version}</axis2Aar> -->
- <!-- </pluginVersion> -->
- <!-- <serverConfig> -->
- <!-- <groupId>org.jleaf.erp</groupId> -->
- <!-- <artifactId>server-config</artifactId> -->
- <!-- <version>${server-config.version}</version> -->
- <!-- <file> -->
- <!-- <source>server-config-local.properties</source> -->
- <!-- Optional, default : server-config.properties -->
- <!-- <target>server-config.properties</target> -->
- <!-- </file> -->
- <!-- </serverConfig> -->
- <!-- </jleafAarConfig> -->
- <!-- </configuration> -->
- <!-- </plugin> -->
- </plugins>
- </build>
- </profile>
- <profile>
- <id>dev</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy file="${project.build.outputDirectory}/log4j-dev.properties" tofile="${project.build.outputDirectory}/log4j.properties" />
- <delete file="${project.build.outputDirectory}/log4j-local.properties" />
- <delete file="${project.build.outputDirectory}/log4j-dev.properties" />
- <delete file="${project.build.outputDirectory}/log4j-qa.properties" />
- <delete file="${project.build.outputDirectory}/log4j-prod.properties" />
- <copy file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-dev.properties" tofile="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-local.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-dev.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-qa.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-prod.properties" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- added by fredi 1 April 2015 -->
- <!-- user axis2-aar:aar instead to build service -->
- <!-- <plugin> -->
- <!-- <groupId>org.jleaf</groupId> -->
- <!-- <artifactId>jleaf-maven-plugin</artifactId> -->
- <!-- <version>${jleaf-maven-plugin.version}</version> -->
- <!-- <extensions>true</extensions> -->
- <!-- <configuration> -->
- <!-- <jleafAarConfig> -->
- <!-- <servicesXml>${basedir}/src/main/resources/META-INF/services.xml</servicesXml> -->
- <!-- <pluginVersion> -->
- <!-- <dependenciesPlugin>${maven-dependency-plugin.version}</dependenciesPlugin> -->
- <!-- <antrunPlugin>${maven-antrun-plugin.version}</antrunPlugin> -->
- <!-- <axis2Aar>${axis2-aar-maven-plugin.version}</axis2Aar> -->
- <!-- </pluginVersion> -->
- <!-- <serverConfig> -->
- <!-- <groupId>org.jleaf.erp</groupId> -->
- <!-- <artifactId>server-config</artifactId> -->
- <!-- <version>${server-config.version}</version> -->
- <!-- <file> -->
- <!-- <source>server-config-dev.properties</source> -->
- <!-- Optional, default : server-config.properties -->
- <!-- <target>server-config.properties</target> -->
- <!-- </file> -->
- <!-- </serverConfig> -->
- <!-- </jleafAarConfig> -->
- <!-- </configuration> -->
- <!-- </plugin> -->
- </plugins>
- </build>
- </profile>
- <profile>
- <id>qa</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy file="${project.build.outputDirectory}/log4j-qa.properties" tofile="${project.build.outputDirectory}/log4j.properties" />
- <delete file="${project.build.outputDirectory}/log4j-local.properties" />
- <delete file="${project.build.outputDirectory}/log4j-dev.properties" />
- <delete file="${project.build.outputDirectory}/log4j-qa.properties" />
- <delete file="${project.build.outputDirectory}/log4j-prod.properties" />
- <copy file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-qa.properties" tofile="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-local.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-dev.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-qa.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-prod.properties" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- added by fredi 1 April 2015 -->
- <!-- user axis2-aar:aar instead to build service -->
- <!-- <plugin> -->
- <!-- <groupId>org.jleaf</groupId> -->
- <!-- <artifactId>jleaf-maven-plugin</artifactId> -->
- <!-- <version>${jleaf-maven-plugin.version}</version> -->
- <!-- <extensions>true</extensions> -->
- <!-- <configuration> -->
- <!-- <jleafAarConfig> -->
- <!-- <servicesXml>${basedir}/src/main/resources/META-INF/services.xml</servicesXml> -->
- <!-- <pluginVersion> -->
- <!-- <dependenciesPlugin>${maven-dependency-plugin.version}</dependenciesPlugin> -->
- <!-- <antrunPlugin>${maven-antrun-plugin.version}</antrunPlugin> -->
- <!-- <axis2Aar>${axis2-aar-maven-plugin.version}</axis2Aar> -->
- <!-- </pluginVersion> -->
- <!-- <serverConfig> -->
- <!-- <groupId>org.jleaf.erp</groupId> -->
- <!-- <artifactId>server-config</artifactId> -->
- <!-- <version>${server-config.version}</version> -->
- <!-- <file> -->
- <!-- <source>server-config-qa.properties</source> -->
- <!-- Optional, default : server-config.properties -->
- <!-- <target>server-config.properties</target> -->
- <!-- </file> -->
- <!-- </serverConfig> -->
- <!-- </jleafAarConfig> -->
- <!-- </configuration> -->
- <!-- </plugin> -->
- </plugins>
- </build>
- </profile>
- <profile>
- <id>prod</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy file="${project.build.outputDirectory}/log4j-prod.properties" tofile="${project.build.outputDirectory}/log4j.properties" />
- <delete file="${project.build.outputDirectory}/log4j-local.properties" />
- <delete file="${project.build.outputDirectory}/log4j-dev.properties" />
- <delete file="${project.build.outputDirectory}/log4j-qa.properties" />
- <delete file="${project.build.outputDirectory}/log4j-prod.properties" />
- <copy file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-prod.properties" tofile="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-local.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-dev.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-qa.properties" />
- <delete file="${project.build.outputDirectory}/org/jleaf/erp/webpos_intgr/services/workflow-config-prod.properties" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- added by fredi 1 April 2015 -->
- <!-- user axis2-aar:aar instead to build service -->
- <!-- <plugin> -->
- <!-- <groupId>org.jleaf</groupId> -->
- <!-- <artifactId>jleaf-maven-plugin</artifactId> -->
- <!-- <version>${jleaf-maven-plugin.version}</version> -->
- <!-- <extensions>true</extensions> -->
- <!-- <configuration> -->
- <!-- <jleafAarConfig> -->
- <!-- <servicesXml>${basedir}/src/main/resources/META-INF/services.xml</servicesXml> -->
- <!-- <pluginVersion> -->
- <!-- <dependenciesPlugin>${maven-dependency-plugin.version}</dependenciesPlugin> -->
- <!-- <antrunPlugin>${maven-antrun-plugin.version}</antrunPlugin> -->
- <!-- <axis2Aar>${axis2-aar-maven-plugin.version}</axis2Aar> -->
- <!-- </pluginVersion> -->
- <!-- <serverConfig> -->
- <!-- <groupId>org.jleaf.erp</groupId> -->
- <!-- <artifactId>server-config</artifactId> -->
- <!-- <version>${server-config.version}</version> -->
- <!-- <file> -->
- <!-- <source>server-config-prod.properties</source> -->
- <!-- Optional, default : server-config.properties -->
- <!-- <target>server-config.properties</target> -->
- <!-- </file> -->
- <!-- </serverConfig> -->
- <!-- </jleafAarConfig> -->
- <!-- </configuration> -->
- <!-- </plugin> -->
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement