]> source.dussan.org Git - sonarqube.git/commitdiff
Move the removal of deployment of sonar-batch-maven-compat into release profile
authorEric Hartmann <hartmann.eric@gmail.com>
Wed, 2 Jul 2014 16:34:23 +0000 (18:34 +0200)
committerEric Hartmann <hartmann.eric@gmail.com>
Wed, 2 Jul 2014 16:34:23 +0000 (18:34 +0200)
sonar-batch-maven-compat/pom.xml

index 7554d5ecd9f6a267d0329abddd5c1176ae190c4f..00aef88500b9d2f4c3fbf0436d50f4145dfcd0c7 100644 (file)
 
   <build>
     <plugins>
-      <plugin>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-        <skip>true</skip>
-        </configuration>
-      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <skip>true</skip>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>  
 </project>