]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SONARPLUGINS-2574 Fork API
authorSimonBrandhof <simon.brandhof@gmail.com>
Fri, 5 Apr 2013 13:10:54 +0000 (15:10 +0200)
committerSimonBrandhof <simon.brandhof@gmail.com>
Fri, 5 Apr 2013 13:10:54 +0000 (15:10 +0200)
1  2 
pom.xml

diff --cc pom.xml
index ec04c0e44f892fd89d2bf7d8827bf763aea66a4e,4a6bbbe4f8643bba6a1fa078ac03c694fc90095a..314b3b1c8b2f540a0e606bf6babbd4420b807456
+++ b/pom.xml
    <url>http://docs.codehaus.org/display/SONAR/Analyzing+with+Sonar+Runner</url>
    <inceptionYear>2011</inceptionYear>
  
 +  <!-- Overridding default properties to be able to deploy the release -->
 +  <distributionManagement>
 +    <repository>
 +      <id>codehaus-nexus-staging</id>
 +      <name>Codehaus Release Repository</name>
 +      <url>https://nexus.codehaus.org/service/local/staging/deploy/maven2/</url>
 +    </repository>
 +  </distributionManagement>
 +
    <modules>
      <module>sonar-runner-api</module>
-     <module>sonar-runner-impl</module>
+     <module>sonar-runner-batch</module>
      <module>sonar-runner-dist</module>
+     <module>sonar-runner-impl</module>
    </modules>
  
 -
    <organization>
      <name>SonarSource</name>
      <url>http://www.sonarsource.com</url>
    </issueManagement>
  
    <properties>
-     <sonar.buildVersion>3.5-RC3</sonar.buildVersion>
++    <sonar.buildVersion>3.5</sonar.buildVersion>
      <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
    </properties>
  
 +  <profiles>
 +    <profile>
 +      <id>release</id>
 +      <build>
 +        <plugins>
 +          <plugin>
 +            <groupId>org.apache.maven.plugins</groupId>
 +            <artifactId>maven-javadoc-plugin</artifactId>
 +            <executions>
 +              <execution>
 +                <id>attach-javadocs</id>
 +                <goals>
 +                  <goal>jar</goal>
 +                </goals>
 +              </execution>
 +            </executions>
 +          </plugin>
 +          <plugin>
 +            <groupId>org.apache.maven.plugins</groupId>
 +            <artifactId>maven-gpg-plugin</artifactId>
 +            <executions>
 +              <execution>
 +                <id>sign-artifacts</id>
 +                <phase>verify</phase>
 +                <goals>
 +                  <goal>sign</goal>
 +                </goals>
 +              </execution>
 +            </executions>
 +          </plugin>
 +        </plugins>
 +      </build>
 +    </profile>
 +  </profiles>
 + 
+   <dependencyManagement>
+     <dependencies>
+       <dependency>
+         <groupId>com.google.code.findbugs</groupId>
+         <artifactId>jsr305</artifactId>
+         <version>2.0.1</version>
+       </dependency>
+       <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+         <version>4.11</version>
+       </dependency>
+       <dependency>
+         <groupId>org.easytesting</groupId>
+         <artifactId>fest-assert</artifactId>
+         <version>1.4</version>
+       </dependency>
+       <dependency>
+         <groupId>org.mockito</groupId>
+         <artifactId>mockito-all</artifactId>
+         <version>1.9.5</version>
+       </dependency>
+     </dependencies>
+   </dependencyManagement>
+   <build>
+     <pluginManagement>
+       <plugins>
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-dependency-plugin</artifactId>
+           <version>2.7</version>
+         </plugin>
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-shade-plugin</artifactId>
+           <version>1.7.1</version>
+         </plugin>
+       </plugins>
+     </pluginManagement>
+   </build>
  </project>