META-INF.plexus.components.xml Maven / Gradle / Ivy
The newest version!
<component-set> <components> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>sonar-plugin</role-hint> <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> <configuration> <lifecycles> <lifecycle> <id>default</id> <phases> <!-- SonarQube specific steps --> <initialize>org.sonarsource.sonar-packaging-maven-plugin:sonar-packaging-maven-plugin:check</initialize> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile> <process-test-resources>org.apache.maven.plugins:maven-resources-plugin:testResources </process-test-resources> <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile> <test>org.apache.maven.plugins:maven-surefire-plugin:test</test> <!-- SonarQube specific step --> <package>org.sonarsource.sonar-packaging-maven-plugin:sonar-packaging-maven-plugin:sonar-plugin</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> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>sonar-plugin</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <type>sonar-plugin</type> <extension>jar</extension> <language>java</language> <addedToClasspath>true</addedToClasspath> </configuration> </component> </components> </component-set>