| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-as2-parent</artifactId> |
| <version>4.9.0</version> |
| </parent> |
| |
| <artifactId>camel-as2</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Camel :: AS2 :: Component</name> |
| <description>Camel AS2 component</description> |
| |
| <properties> |
| <schemeName>as2</schemeName> |
| <componentName>AS2</componentName> |
| <componentPackage>org.apache.camel.component.as2</componentPackage> |
| <outPackage>org.apache.camel.component.as2.internal</outPackage> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-support</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-as2-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test-junit5</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jetty</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io-version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <defaultGoal>install</defaultGoal> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-api-component-maven-plugin</artifactId> |
| <version>${project.version}</version> |
| <configuration> |
| <scheme>${schemeName}</scheme> |
| <componentName>${componentName}</componentName> |
| <componentPackage>${componentPackage}</componentPackage> |
| <outPackage>${outPackage}</outPackage> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <!-- generate Component source and test source --> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-api-component-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate-test-component-classes</id> |
| <goals> |
| <goal>fromApis</goal> |
| </goals> |
| <configuration> |
| <apis> |
| <api> |
| <apiName>client</apiName> |
| <producerOnly>true</producerOnly> |
| <proxyClass>org.apache.camel.component.as2.api.AS2ClientManager</proxyClass> |
| <fromJavasource> |
| <excludeMethods> |
| createSigningGenerator|createEncryptingGenerator|createCompressorGenerator|createEncryptor|createCompressor |
| </excludeMethods> |
| </fromJavasource> |
| <nullableOptions> |
| <nullableOption>ediMessageTransferEncoding</nullableOption> |
| <nullableOption>signingAlgorithm</nullableOption> |
| <nullableOption>signingCertificateChain</nullableOption> |
| <nullableOption>signingPrivateKey</nullableOption> |
| <nullableOption>compressionAlgorithm</nullableOption> |
| <nullableOption>dispositionNotificationTo</nullableOption> |
| <nullableOption>signedReceiptMicAlgorithms</nullableOption> |
| <nullableOption>encryptingAlgorithm</nullableOption> |
| <nullableOption>encryptingCertificateChain</nullableOption> |
| <nullableOption>attachedFileName</nullableOption> |
| <nullableOption>receiptDeliveryOption</nullableOption> |
| </nullableOptions> |
| </api> |
| <api> |
| <apiName>server</apiName> |
| <consumerOnly>true</consumerOnly> |
| <proxyClass>org.apache.camel.component.as2.api.AS2ServerManager</proxyClass> |
| <fromJavasource> |
| <excludeMethods>stopListening|handleMDNResponse</excludeMethods> |
| </fromJavasource> |
| <excludeConfigNames>handler</excludeConfigNames> |
| <!-- <nullableOptions> |
| <nullableOption>decryptingPrivateKey</nullableOption> |
| </nullableOptions> |
| --> |
| </api> |
| <api> |
| <apiName>receipt</apiName> |
| <consumerOnly>true</consumerOnly> |
| <proxyClass>org.apache.camel.component.as2.api.AS2AsyncMDNServerManager</proxyClass> |
| <fromJavasource /> |
| <excludeConfigNames>handler</excludeConfigNames> |
| </api> |
| </apis> |
| <!-- Specify global values for all APIs here, these are overridden at API level |
| <substitutions /> |
| <excludeConfigNames /> |
| <excludeConfigTypes /> |
| <extraOptions /> |
| <fromJavasource /> |
| <aliases /> |
| <nullableOptions /> |
| --> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <!-- Component API to read API signatures --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-as2-api</artifactId> |
| <version>${project.version}</version> |
| <classifier>sources</classifier> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |