]> source.dussan.org Git - sonarqube.git/blob
cd580be9914fa9b505eeefa5cda320f02f27d7ca
[sonarqube.git] /
1 <component-set>
2   <components>
3     <component>
4       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
5       <role-hint>sonar-plugin</role-hint>
6       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
7       <configuration>
8         <lifecycles>
9           <lifecycle>
10             <id>default</id>
11             <phases>
12               <!-- Sonar specific step -->
13               <initialize>org.codehaus.sonar:sonar-packaging-maven-plugin:check-dependencies</initialize>
14
15               <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources>
16               <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile>
17               <process-test-resources>org.apache.maven.plugins:maven-resources-plugin:testResources</process-test-resources>
18               <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile>
19               <test>org.apache.maven.plugins:maven-surefire-plugin:test</test>
20
21               <!-- Sonar specific step -->
22               <package>org.codehaus.sonar:sonar-packaging-maven-plugin:sonar-plugin</package>
23
24               <install>org.apache.maven.plugins:maven-install-plugin:install</install>
25               <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
26             </phases>
27           </lifecycle>
28         </lifecycles>
29       </configuration>
30     </component>
31     <component>
32       <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
33       <role-hint>sonar-plugin</role-hint>
34       <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
35       <configuration>
36         <type>sonar-plugin</type>
37         <extension>jar</extension>
38         <language>java</language>
39         <addedToClasspath>true</addedToClasspath>
40       </configuration>
41     </component>
42   </components>
43 </component-set>