| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>catalog</artifactId> |
| <version>4.7.0</version> |
| </parent> |
| |
| <artifactId>camel-catalog</artifactId> |
| <packaging>jar</packaging> |
| <name>Camel :: Catalog :: Camel Catalog</name> |
| <description>Camel Catalog</description> |
| |
| <properties> |
| <!-- use by camel-catalog --> |
| <firstVersion>2.15.0</firstVersion> |
| <label>tooling</label> |
| </properties> |
| |
| <dependencies> |
| |
| <!-- required dependencies by camel-catalog --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core-catalog</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-util-json</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-tooling-model</artifactId> |
| </dependency> |
| |
| <!-- disable all components --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-allcomponents</artifactId> |
| <type>pom</type> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- |
| Enforce the dependency with all the core artifacts to ensure that the parallel build won't build this module |
| before the core artifacts to prevent inconsistencies in the catalog |
| --> |
| <!-- disable all core --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core-all</artifactId> |
| <type>pom</type> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- for testing simple language parser --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- for testing jsonpath language --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jsonpath</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- for testing activemq component --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- logging --> |
| <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-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| |
| <!-- generate and include all components in the catalog --> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-package-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <!-- prepare the catalog, readme files, etc. --> |
| <goal>prepare-catalog</goal> |
| <!-- update secrets in camel-util --> |
| <goal>update-sensitive-helper</goal> |
| <!-- update names in camel-main --> |
| <goal>update-main-helper</goal> |
| </goals> |
| <phase>generate-resources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| <goal>add-resource</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>src/generated/java</source> |
| </sources> |
| <resources> |
| <resource> |
| <directory>src/generated/resources</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>update-camel-releases</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-package-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <!-- update camel release details from camel-website --> |
| <goal>update-camel-releases</goal> |
| </goals> |
| <phase>generate-resources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |