diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-01 22:46:12 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-01 22:46:12 +0100 |
commit | 2f4e334f432f56ba9da8bace16ca89d76fd546e7 (patch) | |
tree | 688b4ff117fb2d102c677758c7777ed1f27af54e | |
parent | e728c5d17e9793f32fa56287c09af188831610f7 (diff) | |
download | rules-sandbox-2f4e334f432f56ba9da8bace16ca89d76fd546e7.tar.gz rules-sandbox-2f4e334f432f56ba9da8bace16ca89d76fd546e7.tar.bz2 rules-sandbox-2f4e334f432f56ba9da8bace16ca89d76fd546e7.tar.xz rules-sandbox-2f4e334f432f56ba9da8bace16ca89d76fd546e7.zip |
POM fixes.
-rw-r--r-- | module/ri-base/pom.xml | 11 | ||||
-rw-r--r-- | module/ri-module-parent/pom.xml | 86 | ||||
-rw-r--r-- | pom.xml | 31 |
3 files changed, 96 insertions, 32 deletions
diff --git a/module/ri-base/pom.xml b/module/ri-base/pom.xml index 43703f7..aca4f26 100644 --- a/module/ri-base/pom.xml +++ b/module/ri-base/pom.xml @@ -1,4 +1,3 @@ -<?xml version="1.0" encoding="UTF-8"?> <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"> @@ -49,16 +48,6 @@ <plugin> <groupId>org.kie</groupId> <artifactId>kie-maven-plugin</artifactId> - <version>${version.drools}</version> - <extensions>true</extensions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>3.0.0-M5</version> - <configuration> - <failIfNoTests>false</failIfNoTests> - </configuration> </plugin> </plugins> </build> diff --git a/module/ri-module-parent/pom.xml b/module/ri-module-parent/pom.xml index 1c54527..5f56fda 100644 --- a/module/ri-module-parent/pom.xml +++ b/module/ri-module-parent/pom.xml @@ -42,32 +42,11 @@ <plugin> <groupId>org.kie</groupId> <artifactId>kie-maven-plugin</artifactId> - <version>${version.drools}</version> <extensions>true</extensions> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <encoding>UTF-8</encoding> - <release>${java.version}</release> - <source>${java.version}</source> - <target>${java.version}</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>3.2.0</version> - <configuration> - <encoding>UTF-8</encoding> - </configuration> - </plugin> - <plugin> <groupId>eu.nets.oss.maven</groupId> <artifactId>classpath-maven-plugin</artifactId> - <version>1.0</version> <executions> <execution> <id>default</id> @@ -78,6 +57,71 @@ </executions> </plugin> </plugins> + <pluginManagement> + <plugins> + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.kie</groupId> + <artifactId>kie-maven-plugin</artifactId> + <versionRange>[7.48.0.Final,)</versionRange> + <goals> + <goal>generatePMMLModel</goal> + <goal>generateDMNModel</goal> + <goal>build</goal> + <goal>generateANC</goal> + <goal>generateModel</goal> + <goal>validateDMN</goal> + <goal>injectreactive</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + <plugin> + <groupId>org.kie</groupId> + <artifactId>kie-maven-plugin</artifactId> + <version>${version.drools}</version> + <extensions>true</extensions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <encoding>UTF-8</encoding> + <release>${java.version}</release> + <source>${java.version}</source> + <target>${java.version}</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>3.2.0</version> + <configuration> + <encoding>UTF-8</encoding> + </configuration> + </plugin> + <plugin> + <groupId>eu.nets.oss.maven</groupId> + <artifactId>classpath-maven-plugin</artifactId> + <version>1.0</version> + </plugin> + </plugins> + </pluginManagement> </build> </project> @@ -124,5 +124,36 @@ </executions> </plugin> </plugins> + <pluginManagement> + <plugins> + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId>eu.nets.oss.maven</groupId> + <artifactId> + classpath-maven-plugin + </artifactId> + <versionRange>[1.0,)</versionRange> + <goals> + <goal>export-classpath</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> </build> </project> |