| <?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 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/maven-v4_0_0.xsd"> |
| <parent> |
| <artifactId>MetaModel</artifactId> |
| <groupId>org.apache.metamodel</groupId> |
| <version>5.1.2-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>MetaModel-sugarcrm</artifactId> |
| <name>MetaModel module for SugarCRM</name> |
| |
| <properties> |
| <jaxws.version>2.3.1</jaxws.version> |
| </properties> |
| |
| <profiles> |
| <profile> |
| <id>jdk8</id> |
| <activation> |
| <jdk>1.8</jdk> |
| </activation> |
| <properties> |
| <jaxws.version>2.2.10</jaxws.version> |
| </properties> |
| </profile> |
| </profiles> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.helger.maven</groupId> |
| <artifactId>jaxws-maven-plugin</artifactId> |
| <version>2.6</version> |
| <executions> |
| <execution> |
| <id>import-sugarcrm-wsdl</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>wsimport</goal> |
| </goals> |
| <inherited>false</inherited> |
| <configuration> |
| <packageName>com.sugarcrm.ws.soap</packageName> |
| <sourceDestDir>${project.build.directory}/generated/jaxws-sugarcrm</sourceDestDir> |
| <bindingDirectory>src/jaxws/binding</bindingDirectory> |
| <destDir>${project.build.directory}/generated/jaxws-sugarcrm</destDir> |
| <verbose>true</verbose> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun.xml.ws</groupId> |
| <artifactId>jaxws-tools</artifactId> |
| <version>${jaxws.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.xml.ws</groupId> |
| <artifactId>jaxws-api</artifactId> |
| <version>${jaxws.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.activation</groupId> |
| <artifactId>activation</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.8</version> |
| <executions> |
| <execution> |
| <id>add-source</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>${project.build.directory}/generated/jaxws-sugarcrm</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <!-- Ignore instructions for m2e (overrides eclipse warning) --> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.jvnet.jax-ws-commons</groupId> |
| <artifactId>jaxws-maven-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>wsimport</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.metamodel</groupId> |
| <artifactId>MetaModel-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </dependency> |
| |
| <!-- JAX WS --> |
| <dependency> |
| <groupId>javax.xml.ws</groupId> |
| <artifactId>jaxws-api</artifactId> |
| <version>${jaxws.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.xml.stream</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.xml.ws</groupId> |
| <artifactId>jaxws-rt</artifactId> |
| <version>${jaxws.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.xml.stream</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.woodstox</groupId> |
| <artifactId>woodstox-core-asl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- test --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-nop</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |