blob: 7f2c9aaddfe457b234989a740cbf8253f715f2ce [file] [log] [blame]
<?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</groupId>
<artifactId>camel-parent</artifactId>
<version>4.7.0</version>
<relativePath>../parent</relativePath>
</parent>
<artifactId>docs</artifactId>
<name>Camel :: Docs</name>
<description>Camel Documentation</description>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<properties>
<skipOnUnsupported>true</skipOnUnsupported>
</properties>
<repositories>
<repository>
<id>atlassian</id>
<url>https://packages.atlassian.com/maven-external/</url>
<name>atlassian external repo</name>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-allcomponents</artifactId>
<type>pom</type>
<scope>provided</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>x86</id>
<activation>
<os>
<arch>amd64</arch>
</os>
</activation>
<properties>
<skipOnUnsupported>false</skipOnUnsupported>
</properties>
</profile>
<profile>
<id>Arm</id>
<activation>
<os>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<skipOnUnsupported>false</skipOnUnsupported>
</properties>
</profile>
<profile>
<id>ppc64le</id>
<activation>
<os>
<arch>ppc64le</arch>
</os>
</activation>
<properties>
<skipOnUnsupported>false</skipOnUnsupported>
</properties>
</profile>
<profile>
<id>regen</id>
<activation>
<property>
<name>!quickly</name>
</property>
</activation>
<build>
<plugins>
<!-- we want to copy some adoc files from tooling -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-maven-plugin-doc</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/user-manual/modules/ROOT/pages</outputDirectory>
<resources>
<resource>
<directory>../tooling/maven/camel-maven-plugin/src/main/docs</directory>
</resource>
<resource>
<directory>../catalog/camel-report-maven-plugin/src/main/docs</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.15.0</version>
<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<configuration>
<nodeVersion>v16.17.1</nodeVersion>
<yarnVersion>v1.22.19</yarnVersion>
</configuration>
</execution>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<!-- need to specify the normal install as there is another goal specified too and no cache is checked in codebase -->
<arguments>install</arguments>
<skip>${skipOnUnsupported}</skip>
</configuration>
</execution>
<execution>
<id>yarn-gulp</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>gulp</arguments>
<skip>${skipOnUnsupported}</skip>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-package-maven-plugin</artifactId>
<executions>
<execution>
<id>xref-check</id>
<goals>
<goal>xref-check</goal>
</goals>
<phase>generate-resources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>