| <?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"> |
| |
| <parent> |
| <groupId>org.apache.camel.quarkus</groupId> |
| <artifactId>camel-quarkus-support-spring-parent</artifactId> |
| <version>3.0.0-M2</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>camel-quarkus-support-spring-shade</artifactId> |
| <name>Camel Quarkus :: Support :: Spring Shade</name> |
| <packaging>pom</packaging> |
| |
| <modules> |
| <module>beans</module> |
| <module>context</module> |
| <module>core</module> |
| </modules> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-expression</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jcl</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <profiles> |
| <profile> |
| <!-- Pass '-Dquickly' to skip enforcer and some further sanity checks --> |
| <id>full</id> |
| <activation> |
| <property> |
| <name>!quickly</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-enforcer-rules</artifactId> |
| <version>${quarkus.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.l2x6.cq</groupId> |
| <artifactId>cq-filtered-external-enforcer-rules</artifactId> |
| <version>${cq-plugin.version}</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>camel-quarkus-enforcer-rules</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration><!-- This should be the same as in the top pom.xml, but without camel-quarkus-banned-dependencies-spring.xml --> |
| <rules> |
| <requireJavaVersion> |
| <version>11</version> |
| </requireJavaVersion> |
| <dependencyConvergence /> |
| <filteredExternalRules> |
| <location>classpath:enforcer-rules/quarkus-require-maven-version.xml</location> |
| </filteredExternalRules> |
| <filteredExternalRules> |
| <location>classpath:enforcer-rules/quarkus-banned-dependencies.xml</location> |
| <xsltLocation>${maven.multiModuleProjectDirectory}/tooling/enforcer-rules/quarkus-banned-dependencies.xsl</xsltLocation> |
| </filteredExternalRules> |
| <filteredExternalRules> |
| <location>${maven.multiModuleProjectDirectory}/tooling/enforcer-rules/camel-quarkus-banned-dependencies.xml</location> |
| </filteredExternalRules> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |