| <?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
| 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>tooling</artifactId> |
| <version>3.5.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>camel-openapi-rest-dsl-generator</artifactId> |
| |
| <name>Camel :: Tooling :: OpenApi REST DSL Generator</name> |
| <description>Generator of REST DSL route definitions from OpenAPI specification</description> |
| |
| <properties> |
| <camel.osgi.import.pkg> |
| org.apache.camel.*;${camel.osgi.import.camel.version}, |
| * |
| </camel.osgi.import.pkg> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup</groupId> |
| <artifactId>javapoet</artifactId> |
| <version>${javapoet-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.apicurio</groupId> |
| <artifactId>apicurio-data-models</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons-lang3-version}</version> |
| </dependency> |
| |
| <!-- test --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-bundle-plugin</artifactId> |
| <version>${project.version}</version> |
| <configuration> |
| <supportIncrementalBuild>true</supportIncrementalBuild> |
| <noWarningProjectTypes>pom</noWarningProjectTypes> |
| <excludeDependencies>${camel.osgi.exclude.dependencies}</excludeDependencies> |
| <instructions> |
| <Bundle-Name>${project.artifactId}</Bundle-Name> |
| <Bundle-SymbolicName>${camel.osgi.symbolic.name}</Bundle-SymbolicName> |
| <Bundle-Activator>${camel.osgi.activator}</Bundle-Activator> |
| <Import-Package>${camel.osgi.import}</Import-Package> |
| <Export-Package>${camel.osgi.export}</Export-Package> |
| <DynamicImport-Package>${camel.osgi.dynamic}</DynamicImport-Package> |
| <Private-Package>${camel.osgi.private.pkg}</Private-Package> |
| <Require-Capability>${camel.osgi.require.capability}</Require-Capability> |
| <Provide-Capability>${camel.osgi.provide.capability}</Provide-Capability> |
| <Implementation-Title>Apache Camel</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Karaf-Info>Camel;${project.artifactId}=${project.version}</Karaf-Info> |
| <_versionpolicy>${camel.osgi.import.default.version}</_versionpolicy> |
| <_failok>${camel.osgi.failok}</_failok> |
| <_removeheaders>Bnd-LastModified</_removeheaders> |
| </instructions> |
| </configuration> |
| <executions> |
| <execution> |
| <id>versions</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>cleanVersions</goal> |
| </goals> |
| <configuration> |
| <versions> |
| <camel.osgi.version.clean>${project.version}</camel.osgi.version.clean> |
| </versions> |
| </configuration> |
| </execution> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |