kie-dmn-backend
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-backend</artifactId>
<version>10.1.0</version>
</dependency><?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.kie</groupId>
<artifactId>kie-dmn</artifactId>
<version>10.1.0</version>
</parent>
<artifactId>kie-dmn-backend</artifactId>
<name>KIE :: Decision Model Notation :: Backend</name>
<properties>
<java.module.name>org.kie.dmn.backend</java.module.name>
</properties>
<dependencies>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-internal</artifactId>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-util-xml</artifactId>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-xsd-resources</artifactId>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-api</artifactId>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-model</artifactId>
</dependency>
<!-- XML marshalling -->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Unpack XSD resources from org.kie:kie-dmn-xsd-resources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-xsd-resources</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/test-classes/</outputDirectory>
<!-- fetch only those specific xsd -->
<includes>
**/20151101/dmn.xsd,
**/20180521/DC.xsd,
**/20180521/DI.xsd,
**/20180521/DMN12.xsd,
**/20180521/DMNDI12.xsd,
**/20191111/DMN13.xsd,
**/20191111/DMNDI13.xsd,
**/20211108/DMN14.xsd,
**/20230324/DMN15.xsd,
**/20230324/DMNDI15.xsd</includes>
<fileMappers>
<!-- remove all parent directories from it, flattening it under the classes directory -->
<org.codehaus.plexus.components.io.filemappers.FlattenFileMapper/>
<!-- rename dmn.xsd to DMN11.xsd -->
<org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
<pattern>^\Qdmn.xsd\E</pattern>
<replacement>DMN11.xsd</replacement>
</org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
</fileMappers>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>sonarcloud-analysis</id>
<properties>
<!-- Excluding the Xstream DTOs from duplicate statistics. These naturally presents duplication due to the representation of the several versions of the DMN standard. -->
<sonar.cpd.exclusions>**/org/kie/dmn/backend/marshalling/v1_*/**</sonar.cpd.exclusions>
</properties>
</profile>
</profiles>
</project>