[jboss-jira] [JBoss JIRA] (DROOLS-3370) Issue is with the invalid M2E metadata in the downstream kie-maven-plugin

Matteo Mortari (Jira) issues at jboss.org
Tue Dec 11 02:47:00 EST 2018


    [ https://issues.jboss.org/browse/DROOLS-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673039#comment-13673039 ] 

Matteo Mortari commented on DROOLS-3370:
----------------------------------------

[~anstephe] I believe this JIRA can be closed, as it's solved on [DROOLS-3236]. Can you kindly verify.

> 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
>
> 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
>  



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list