| <?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>dsl</artifactId> |
| <version>4.7.0</version> |
| </parent> |
| |
| <artifactId>camel-kotlin-api</artifactId> |
| <packaging>jar</packaging> |
| <name>Camel :: Kotlin API (deprecated)</name> |
| <description>Camel Kotlin API (deprecated)</description> |
| |
| <properties> |
| <firstVersion>4.4.0</firstVersion> |
| <title>Kotlin API</title> |
| <label>dsl</label> |
| <supportLevel>Experimental</supportLevel> |
| |
| <camel.surefire.reuseForks>false</camel.surefire.reuseForks> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-stdlib</artifactId> |
| <version>${kotlin-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core-model</artifactId> |
| </dependency> |
| |
| <!-- used at build time --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-catalog</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-test-junit5</artifactId> |
| <version>${kotlin-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test-junit5</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core-engine</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-log</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-direct</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jetty</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-csv</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-rest</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-openapi-java</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j2-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jcl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-package-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate-all-dsl-kotlin</id> |
| <goals> |
| <goal>generate-all-dsl-kotlin</goal> |
| </goals> |
| <phase>generate-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-maven-plugin</artifactId> |
| <version>${kotlin-version}</version> |
| <configuration> |
| <jvmTarget>${jdk.version}</jvmTarget> |
| </configuration> |
| <executions> |
| <execution> |
| <id>compile</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <configuration> |
| <jvmTarget>${jdk.version}</jvmTarget> |
| <sourceDirs> |
| <sourceDir>src/main/kotlin</sourceDir> |
| <sourceDir>src/generated/kotlin</sourceDir> |
| </sourceDirs> |
| <myIncremental>true</myIncremental> |
| </configuration> |
| </execution> |
| <execution> |
| <id>test-compile</id> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>test-compile</goal> |
| </goals> |
| <configuration> |
| <jvmTarget>${jdk.version}</jvmTarget> |
| <sourceDirs> |
| <sourceDir>src/test/kotlin</sourceDir> |
| </sourceDirs> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <executions> |
| <!-- Replacing default-compile as it is treated specially by maven --> |
| <execution> |
| <id>default-compile</id> |
| <phase>none</phase> |
| </execution> |
| <!-- Replacing default-testCompile as it is treated specially by maven --> |
| <execution> |
| <id>default-testCompile</id> |
| <phase>none</phase> |
| </execution> |
| <execution> |
| <id>java-compile</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>java-test-compile</id> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |