Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed m2e lifecycle mapping metadata as META-INF/m2e/lifecycle-mapping-metadata.xml #64

Open
patrodyne opened this issue Mar 21, 2022 · 0 comments

Comments

@patrodyne
Copy link

The widely used M2Eclipse plugin for the Eclipse IDE can be instructed to execute the markdown-page-generator-plugin during the Eclipse build cycle. This will eliminate Eclipse error messages and improve the integrated build cycle. To instruct M2Eclipse, the markdown-page-generator-plugin is configured by embedding this file under src/main/resources.

META-INF/m2e/lifecycle-mapping-metadata.xml

<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
    <pluginExecutions>
        <pluginExecution>
            <pluginExecutionFilter>
                <goals>
                    <goal>generate</goal>
                </goals>
            </pluginExecutionFilter>
            <action>
                <execute>
                    <runOnConfiguration>true</runOnConfiguration>
                    <runOnIncremental>true</runOnIncremental>
                </execute>
            </action>
        </pluginExecution>
    </pluginExecutions>
</lifecycleMappingMetadata>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant