]
Marek Novotny closed DROOLS-3370.
---------------------------------
Fix Version/s: 7.14.0.Final
Resolution: Duplicate Issue
Issue is with the invalid M2E metadata in the downstream
kie-maven-plugin
-------------------------------------------------------------------------
Key: DROOLS-3370
URL:
https://issues.jboss.org/browse/DROOLS-3370
Project: Drools
Issue Type: Bug
Components: build
Affects Versions: 7.14.0.Final, 7.15.0.Final
Environment: JBoss Developer Studio 12.0 and Eclipse 12
Reporter: Mister PM
Assignee: Ant Stephenson
Priority: Minor
Fix For: 7.14.0.Final
When you try to use the quick start from the catalog or create any kjar project the
kie-maven-plugin is not recognised therefore project is not building by Eclipse, even if
you try to build from command line and refresh, eclipse don't pick up forcing you to
include a workaround in the pom file.
<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.14.0.Final,)
</versionRange>
<goals>
<goal>build</goal>
<goal>generateDMNModel</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
This is not necessary on other IDEs
This will also affect customer which use workbench to start they project and pull this to
eclipse later on.
JBoss Developer Studio engineer pointed out this problem is an Issue is with the invalid
M2E metadata in the downstream kie-maven-plugin as you can see in the jira below
https://issues.jboss.org/browse/JBDS-4745