| <?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 |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| > |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.jbpm</groupId> |
| <artifactId>jbpm-quarkus-devui-parent</artifactId> |
| <version>${revision}</version> |
| </parent> |
| |
| <artifactId>jbpm-quarkus-devui-deployment</artifactId> |
| <name>KIE Tools :: jBPM Quarkus Dev UI Extension :: Deployment</name> |
| |
| <properties> |
| <java.module.name>org.jbpm.quarkus.dev.ui.deployment</java.module.name> |
| <path.to.webapp.app>../node_modules/@kie-tools/runtime-tools-process-dev-ui-webapp</path.to.webapp.app> |
| </properties> |
| |
| <dependencies> |
| <!-- quarkus --> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-development-mode-spi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-core-deployment</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-arc-deployment</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-resteasy-deployment</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-resteasy-jackson-deployment</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-rest-client-deployment</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-resteasy-multipart-deployment</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.kie.kogito</groupId> |
| <artifactId>kogito-quarkus-extension-spi</artifactId> |
| </dependency> |
| |
| <!-- Undertow is needed so that the static resource serving can correctly locate CP resources from `META-INF/resources` of the application, as it would be normally expected. |
| See https://issues.redhat.com/browse/KOGITO-3477 --> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-undertow-deployment</artifactId> |
| </dependency> |
| |
| <!-- test --> |
| <dependency> |
| <groupId>io.rest-assured</groupId> |
| <artifactId>rest-assured</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jbpm</groupId> |
| <artifactId>jbpm-quarkus-devui</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-junit5-internal</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-extension-processor</artifactId> |
| <version>${quarkus.platform.version}</version> |
| </path> |
| </annotationProcessorPaths> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-webapp</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/classes/dev-static/webapp</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${path.to.webapp.app}/dist/resources/webapp</directory> |
| <filtering>false</filtering> |
| </resource> |
| <resource> |
| <directory>${path.to.webapp.app}/dist/webapp</directory> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-envelope-resources</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/classes/dev-static/</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${path.to.webapp.app}/dist/resources</directory> |
| <includes> |
| <include>form-displayer.html</include> |
| <include>form-displayer.js</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |