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

Provides support for execution, compilation and other facets of Groovy development.

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (C) 2006-2007 the original author or authors.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->

<!-- $Id: components.xml 5691 2007-12-06 22:01:47Z user57 $ -->

<plexus>
    <components>

        <!--
        Support for communication between stub generation and compilation
        -->

        <component>
            <role>org.codehaus.mojo.groovy.CompileState</role>
            <implementation>org.codehaus.mojo.groovy.CompileState</implementation>
            <instantiation-strategy>singleton</instantiation-strategy>
        </component>

        <!--
        Support for groovy:execute's Source custom injection.
        -->

        <component>
            <role>org.codehaus.plexus.component.configurator.ComponentConfigurator</role>
            <role-hint>override</role-hint>
            <implementation>org.codehaus.plexus.component.configurator.BasicComponentConfigurator</implementation>
            <requirements>
                <requirement>
                    <role>org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup</role>
                    <role-hint>override</role-hint>
                </requirement>
            </requirements>
        </component>

        <component>
            <role>org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup</role>
            <role-hint>override</role-hint>
            <implementation>org.codehaus.plexus.component.configurator.converters.lookup.DefaultConverterLookup</implementation>
            <requirements>
                <requirement>
                    <role>org.codehaus.plexus.component.configurator.converters.ConfigurationConverter</role>
                    <role-hint>org.codehaus.mojo.groovy.execute.Source</role-hint>
                    <field-name>customConverters</field-name>
                </requirement>
            </requirements>
        </component>

        <component>
            <role>org.codehaus.plexus.component.configurator.converters.ConfigurationConverter</role>
            <role-hint>org.codehaus.mojo.groovy.execute.Source</role-hint>
            <implementation>org.codehaus.mojo.groovy.execute.SourceConverter</implementation>
        </component>
        
        <!--
        Defines the 'groovy-jar' packaging and artifact handling.
        -->
        
        <component>
            <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
            <role-hint>groovy-jar</role-hint>
            <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
            <configuration>
                <type>groovy-jar</type>
                <extension>jar</extension>
                <language>java</language>
                <addedToClasspath>true</addedToClasspath>
            </configuration>
        </component>
        
        <component>
            <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
            <role-hint>groovy-jar</role-hint>
            <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
            <configuration>
                <lifecycles>
                    <lifecycle>
                        <id>default</id>
                        <phases>
                            <process-resources>
                                org.apache.maven.plugins:maven-resources-plugin:resources
                            </process-resources>
                            <compile>
                                org.codehaus.mojo.groovy:groovy-maven-plugin:generateStubs,
                                org.apache.maven.plugins:maven-compiler-plugin:compile,
                                org.codehaus.mojo.groovy:groovy-maven-plugin:compile
                            </compile>
                            <process-test-resources>
                                org.apache.maven.plugins:maven-resources-plugin:testResources
                            </process-test-resources>
                            <test-compile>
                                org.codehaus.mojo.groovy:groovy-maven-plugin:generateTestStubs,
                                org.apache.maven.plugins:maven-compiler-plugin:testCompile,
                                org.codehaus.mojo.groovy:groovy-maven-plugin:testCompile
                            </test-compile>
                            <test>
                                org.apache.maven.plugins:maven-surefire-plugin:test
                            </test>
                            <package>
                                org.apache.maven.plugins:maven-jar-plugin:jar
                            </package>
                            <install>
                                org.apache.maven.plugins:maven-install-plugin:install
                            </install>
                            <deploy>
                                org.apache.maven.plugins:maven-deploy-plugin:deploy
                            </deploy>
                        </phases>
                    </lifecycle>
                </lifecycles>
            </configuration>
        </component>
        
        <!--
        Defines the 'groovy-mojo' packaging and artifact handling.
        -->
        
        <component>
            <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
            <role-hint>groovy-mojo</role-hint>
            <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
            <configuration>
                <type>groovy-mojo</type>
                <extension>jar</extension>
                <language>java</language>
                <addedToClasspath>true</addedToClasspath>
            </configuration>
        </component>
            
        <component>
            <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
            <role-hint>groovy-mojo</role-hint>
            <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
            <configuration>
                <lifecycles>
                    <lifecycle>
                        <id>default</id>
                        <phases>
                            <process-resources>
                                org.apache.maven.plugins:maven-resources-plugin:resources
                            </process-resources>
                            <compile>
                                org.codehaus.mojo.groovy:groovy-maven-plugin:generateStubs,
                                org.apache.maven.plugins:maven-compiler-plugin:compile,
                                org.codehaus.mojo.groovy:groovy-maven-plugin:compile
                            </compile>
                            <process-classes>
                                org.apache.maven.plugins:maven-plugin-plugin:descriptor
                            </process-classes>
                            <process-test-resources>
                                org.apache.maven.plugins:maven-resources-plugin:testResources
                            </process-test-resources>
                            <test-compile>
                                org.codehaus.mojo.groovy:groovy-maven-plugin:generateTestStubs,
                                org.apache.maven.plugins:maven-compiler-plugin:testCompile,
                                org.codehaus.mojo.groovy:groovy-maven-plugin:testCompile
                            </test-compile>
                            <test>
                                org.apache.maven.plugins:maven-surefire-plugin:test
                            </test>
                            <package>
                                org.apache.maven.plugins:maven-jar-plugin:jar,
                                org.apache.maven.plugins:maven-plugin-plugin:addPluginArtifactMetadata
                            </package>
                            <install>
                                org.apache.maven.plugins:maven-install-plugin:install,
                                org.apache.maven.plugins:maven-plugin-plugin:updateRegistry
                            </install>
                            <deploy>
                                org.apache.maven.plugins:maven-deploy-plugin:deploy
                            </deploy>
                        </phases>
                    </lifecycle>
                </lifecycles>
            </configuration>
        </component>

    </components>
</plexus>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy