]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Improve pom files
authorSimonBrandhof <simon.brandhof@gmail.com>
Fri, 5 Apr 2013 13:25:46 +0000 (15:25 +0200)
committerSimonBrandhof <simon.brandhof@gmail.com>
Fri, 5 Apr 2013 13:25:46 +0000 (15:25 +0200)
.gitignore
pom.xml
sonar-runner-api/pom.xml
sonar-runner-impl/pom.xml

index 2b86998ab028173c69fbeccfe4b9103747f11960..ae31f48237914e9dbc0c0bffb879f73341725d65 100644 (file)
@@ -9,7 +9,7 @@ dependency-reduced-pom.xml
 *.ipr
 .idea/
 
-# Eclipse
+# ---- Eclipse
 .classpath
 .project
 .settings
diff --git a/pom.xml b/pom.xml
index 314b3b1c8b2f540a0e606bf6babbd4420b807456..badfebafee6aee0061fa984c40713c7281f868bb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -68,6 +68,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.9</version>
             <executions>
               <execution>
                 <id>attach-javadocs</id>
@@ -80,6 +81,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
       </build>
     </profile>
   </profiles>
+
   <dependencyManagement>
     <dependencies>
+      <dependency>
+        <groupId>commons-lang</groupId>
+        <artifactId>commons-lang</artifactId>
+        <version>2.6</version>
+      </dependency>
+      <dependency>
+        <groupId>org.easytesting</groupId>
+        <artifactId>fest-assert</artifactId>
+        <version>1.4</version>
+      </dependency>
       <dependency>
         <groupId>com.google.code.findbugs</groupId>
         <artifactId>jsr305</artifactId>
         <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>
+      <dependency>
+        <groupId>org.codehaus.sonar</groupId>
+        <artifactId>sonar-home</artifactId>
+        <version>3.5</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
index db87b657d9f4e352e83fd4f4267249fbd91ec943..f9b21b36cf675841e9655f76de77dfab42f6ec92 100644 (file)
@@ -27,7 +27,6 @@
     <dependency>
       <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>
-      <version>2.6</version>
       <scope>test</scope>
     </dependency>
     <dependency>
@@ -84,7 +83,7 @@
                   <version>${pom.version}</version>
                   <type>jar</type>
                   <overWrite>false</overWrite>
-                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+                  <outputDirectory>${pom.build.outputDirectory}</outputDirectory>
                   <destFileName>sonar-runner-impl.jar</destFileName>
                 </artifactItem>
               </artifactItems>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <archive>
-            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifestFile>${pom.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
           </archive>
         </configuration>
       </plugin>
index 2b4a24c61bca9c7dcb8ad5199680f12cc8015fb8..8f77e3917e877cd3e6cb898e75d40f24047fd7f5 100644 (file)
@@ -14,7 +14,6 @@
     <dependency>
       <groupId>org.codehaus.sonar</groupId>
       <artifactId>sonar-home</artifactId>
-      <version>3.5</version>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
@@ -61,7 +60,7 @@
                   <version>${pom.version}</version>
                   <type>jar</type>
                   <overWrite>false</overWrite>
-                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+                  <outputDirectory>${pom.build.outputDirectory}</outputDirectory>
                   <destFileName>sonar-runner-batch.jar</destFileName>
                 </artifactItem>
               </artifactItems>