| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <project> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.ofbiz</groupId> |
| <artifactId>ofbiz-component</artifactId> |
| <version>TRUNK</version> |
| <relativePath>../../poms/component-pom.xml</relativePath> |
| </parent> |
| <artifactId>ofbiz-service</artifactId> |
| <name>OFBiz - Service</name> |
| <description>Service Component</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ofbiz-start</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ofbiz-base</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ofbiz-entity</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ofbiz-security</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>axiom</groupId> |
| <artifactId>axiom-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>axis2</groupId> |
| <artifactId>axis2-kernel</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>geronimo</groupId> |
| <artifactId>geronimo-jms</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>icu4j</groupId> |
| <artifactId>icu4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>mail</groupId> |
| <artifactId>mail</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>wsdl4j</groupId> |
| <artifactId>wsdl4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>xmlrpc</groupId> |
| <artifactId>xmlrpc-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>xmlrpc</groupId> |
| <artifactId>xmlrpc-common</artifactId> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rmic-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>rmic-process-classes</id> |
| <goals> |
| <goal>rmic</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack-LICENSE+NOTICE-rmi</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.ofbiz</groupId> |
| <artifactId>ofbiz-parent</artifactId> |
| <version>TRUNK</version> |
| <type>zip</type> |
| <classifier>assembly-LICENSE+NOTICE</classifier> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/rmi-classes/META-INF</outputDirectory> |
| <includes>*</includes> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>rmi-copy-classes</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/rmi-classes</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${project.build.outputDirectory}</directory> |
| <includes> |
| <include>**/GenericServiceException.class</include> |
| <include>**/GenericResultWaiter.class</include> |
| <include>**/GenericRequester.class</include> |
| <include>**/LocalDispatcher.class</include> |
| <include>**/ModelService.class</include> |
| <include>**/org/ofbiz/service/rmi/**</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>rmi-jar</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <classifier>rmi</classifier> |
| <classesDirectory>${project.build.directory}/rmi-classes</classesDirectory> |
| <outputDirectory>${component.build.dir}/rmi</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/org/ofbiz/service/test/AbstractXmlRpcTestCase.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |