All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.plexus.components.xml Maven / Gradle / Ivy

Go to download

Liberty Maven Plugin : Install, Start/Stop, Package, Create Server, Deploy/Undeploy applications

There is a newer version: 3.0.M1
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<component-set>
    <components>
        <component>
            <role>org.codehaus.plexus.archiver.UnArchiver</role>
            <role-hint>liberty-assembly</role-hint>
            <implementation>org.codehaus.plexus.archiver.zip.ZipUnArchiver</implementation>
            <instantiation-strategy>per-lookup</instantiation-strategy>
        </component>

        <!--
        Custom packaging for liberty assemblies.
        -->
        <component>
            <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
            <role-hint>liberty-assembly</role-hint>
            <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
            <configuration>
                <lifecycles>
                    <lifecycle>
                        <id>default</id>
                        <phases>
                            <pre-clean>
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:stop-server
                            </pre-clean>
                            <process-resources>
                                org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources
                            </process-resources>
                            <compile>
                                org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile
                            </compile>
                            <process-test-resources>
                                org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources
                            </process-test-resources>
                            <test-compile>
                                org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile
                            </test-compile>
                            <test>
                                org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
                            </test>
                            <prepare-package>
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:install-server,
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:create-server,
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:install-feature,
                            </prepare-package>
                            <package>
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:install-apps,
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:package-server
                            </package>
                            <pre-integration-test>
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:test-start-server
                            </pre-integration-test>
                            <integration-test>
                                org.apache.maven.plugins:maven-failsafe-plugin:2.20:integration-test
                            </integration-test>
                            <post-integration-test>
                                net.wasdev.wlp.maven.plugins:liberty-maven-plugin:test-stop-server
                            </post-integration-test>
                            <verify>
                               org.apache.maven.plugins:maven-failsafe-plugin:2.20:verify
                           </verify>
                            <install>
                                org.apache.maven.plugins:maven-install-plugin:2.5.2:install
                            </install>
                            <deploy>
                                org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
                            </deploy>
                        </phases>
                    </lifecycle>
                </lifecycles>
            </configuration>
        </component>

        <component>
            <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
            <role-hint>liberty-assembly</role-hint>
            <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
            <configuration>
                <type>liberty-assembly</type>
                <extension>zip</extension>
                <packaging>liberty-assembly</packaging>
                <addedToClasspath>false</addedToClasspath>
                <!--<language>java</language>-->
            </configuration>
        </component>

    </components>
</component-set>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy