Remove M2E lifecycle-mapping <execute/> for yang-maven-plugin 43/39043/1
authorMichael Vorburger <vorburger@redhat.com>
Wed, 18 May 2016 13:05:15 +0000 (15:05 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 18 May 2016 13:05:15 +0000 (15:05 +0200)
This appears to be broken anyway (causing:
org.apache.maven.plugin.MojoExecutionException: yang-to-sources: Unable
to parse yang files from
/home/vorburger/dev/ODL/git/openflowplugin/applications/forwardingrules-manager/src/main/yang;
Caused by:
org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException:
Imported module [config] was not found. [at null:6:1])

In https://github.com/vorburger/opendaylight-eclipse-setup, the
workspace wide lifecycle mapping for yang-maven-plugin is ignore.

In the future, I'm hoping that I'll be able to bundle yangide in
opendaylight-eclipse-setup, and it will correctly configure code
generation.

Change-Id: I8c1640482912eb05ea3fb07e9d55d82f90ab6ebd
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
parent/pom.xml

index 55d68f818b8a1bf8d15f87c72aa93cae3cb4d4d0..33d16f4aa6c36287036be3275ac2629498b78a7b 100644 (file)
                                         <ignore/>
                                     </action>
                                 </pluginExecution>
-                                <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.opendaylight.yangtools</groupId>
-                                        <artifactId>yang-maven-plugin</artifactId>
-                                        <versionRange>[0.5,)</versionRange>
-                                        <goals>
-                                            <goal>generate-sources</goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <execute/>
-                                    </action>
-                                </pluginExecution>
                                 <pluginExecution>
                                     <pluginExecutionFilter>
                                         <groupId>org.codehaus.groovy.maven</groupId>