| <?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>core</artifactId> |
| <version>4.7.0</version> |
| </parent> |
| |
| <artifactId>camel-util</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Camel :: Util</name> |
| <description>The Camel Utilities</description> |
| |
| <properties> |
| <firstVersion>3.0.0</firstVersion> |
| <label>core</label> |
| </properties> |
| |
| <dependencies> |
| |
| <!-- required dependencies by camel-util --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- logging --> |
| <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> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <!-- Required by camel-spring-xml and possibly others which unpack the sources --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <links> |
| <link>http://download.oracle.com/javase/7/docs/api/</link> |
| <link>http://download.oracle.com/javaee/7/api/</link> |
| </links> |
| <isOffline>${camel.javadoc.offline}</isOffline> |
| <linksource>true</linksource> |
| <maxmemory>256m</maxmemory> |
| <groups> |
| <group> |
| <title>Camel API</title> |
| <packages>org.apache.camel</packages> |
| </group> |
| <group> |
| <title>Fluent API (DSL) for building EIP rules</title> |
| <packages>org.apache.camel.builder:org.apache.camel.builder.*</packages> |
| </group> |
| <group> |
| <title>EIP model</title> |
| <packages>org.apache.camel.model:org.apache.camel.model.*</packages> |
| </group> |
| <group> |
| <title>Camel Components</title> |
| <packages>org.apache.camel.component:org.apache.camel.component.*</packages> |
| </group> |
| <group> |
| <title>Language APIs and plugins for Expressions and Predicates</title> |
| <packages>org.apache.camel.language:org.apache.camel.language.*</packages> |
| </group> |
| <group> |
| <title>Processors to implement the Enterprise Integration Patterns</title> |
| <packages>org.apache.camel.processor:org.apache.camel.processor.*</packages> |
| </group> |
| <group> |
| <title>Strategy APIs for implementors extending Camel</title> |
| <packages>org.apache.camel.spi</packages> |
| </group> |
| <group> |
| <title>Support APIs for implementors</title> |
| <packages>org.apache.camel.support:org.apache.camel.support.*</packages> |
| </group> |
| <group> |
| <title>Management (JMX) API</title> |
| <packages> |
| org.apache.camel.management:org.apache.camel.management.*:org.apache.camel.api.management.mbean |
| </packages> |
| </group> |
| <group> |
| <title>Camel Runtime</title> |
| <packages>org.apache.camel.impl:org.apache.camel.impl.*</packages> |
| </group> |
| <group> |
| <title>Camel Main to run Camel standalone</title> |
| <packages>org.apache.camel.main</packages> |
| </group> |
| <group> |
| <title>Type conversion helper classes</title> |
| <packages>org.apache.camel.converter:org.apache.camel.converter.*</packages> |
| </group> |
| <group> |
| <title>Utility classes</title> |
| <packages>org.apache.camel.util:org.apache.camel.util.*</packages> |
| </group> |
| </groups> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>package</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <links> |
| <link>http://download.oracle.com/javase/7/docs/api/</link> |
| <link>http://download.oracle.com/javaee/7/api/</link> |
| </links> |
| <linksource>true</linksource> |
| <maxmemory>256m</maxmemory> |
| <isOffline>${camel.javadoc.offline}</isOffline> |
| <groups> |
| <group> |
| <title>Camel API</title> |
| <packages>org.apache.camel</packages> |
| </group> |
| <group> |
| <title>Fluent API (DSL) for building EIP rules</title> |
| <packages>org.apache.camel.builder:org.apache.camel.builder.*</packages> |
| </group> |
| <group> |
| <title>EIP model</title> |
| <packages>org.apache.camel.model:org.apache.camel.model.*</packages> |
| </group> |
| <group> |
| <title>Camel Components</title> |
| <packages>org.apache.camel.component:org.apache.camel.component.*</packages> |
| </group> |
| <group> |
| <title>Language APIs and plugins for Expressions and Predicates</title> |
| <packages>org.apache.camel.language:org.apache.camel.language.*</packages> |
| </group> |
| <group> |
| <title>Processors to implement the Enterprise Integration Patterns</title> |
| <packages>org.apache.camel.processor:org.apache.camel.processor.*</packages> |
| </group> |
| <group> |
| <title>Strategy APIs for implementors extending Camel</title> |
| <packages>org.apache.camel.spi</packages> |
| </group> |
| <group> |
| <title>Support APIs for implementors</title> |
| <packages>org.apache.camel.support:org.apache.camel.support.*</packages> |
| </group> |
| <group> |
| <title>Management (JMX) API</title> |
| <packages> |
| org.apache.camel.management:org.apache.camel.management.*:org.apache.camel.api.management.mbean |
| </packages> |
| </group> |
| <group> |
| <title>Camel Runtime</title> |
| <packages>org.apache.camel.impl:org.apache.camel.impl.*</packages> |
| </group> |
| <group> |
| <title>Camel Main to run Camel standalone</title> |
| <packages>org.apache.camel.main</packages> |
| </group> |
| <group> |
| <title>Type conversion helper classes</title> |
| <packages>org.apache.camel.converter:org.apache.camel.converter.*</packages> |
| </group> |
| <group> |
| <title>Utility classes</title> |
| <packages>org.apache.camel.util:org.apache.camel.util.*</packages> |
| </group> |
| </groups> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>full</id> |
| <activation> |
| <property> |
| <name>!quickly</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!-- needed for testing the properties component --> |
| <environmentVariables> |
| <FOO_SERVICE_HOST>myserver</FOO_SERVICE_HOST> |
| <FOO_SERVICE_PORT>8081</FOO_SERVICE_PORT> |
| </environmentVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>java-21-sources</id> |
| <activation> |
| <jdk>[21,)</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin-version}</version> |
| <executions> |
| <execution> |
| <id>default-compile</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>compile-java-21</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <configuration> |
| <release>21</release> |
| <compileSourceRoots>${project.basedir}/src/main/java21</compileSourceRoots> |
| <multiReleaseOutput>true</multiReleaseOutput> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Multi-Release>true</Multi-Release> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |