incubator-mrunit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1195714 - in /incubator/mrunit/branches/mrunit-0.5.0: ./ pom.xml
Date Mon, 31 Oct 2011 23:07:40 GMT
Author: brock
Date: Mon Oct 31 23:07:36 2011
New Revision: 1195714

URL: http://svn.apache.org/viewvc?rev=1195714&view=rev
Log:
Merge 1195713 (MRUNIT-37: Use maven deploy plugin)

Modified:
    incubator/mrunit/branches/mrunit-0.5.0/   (props changed)
    incubator/mrunit/branches/mrunit-0.5.0/pom.xml

Propchange: incubator/mrunit/branches/mrunit-0.5.0/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Oct 31 23:07:36 2011
@@ -1,3 +1,3 @@
 /hadoop/core/branches/branch-0.19/mapred/src/contrib/mrunit:713112
 /hadoop/core/trunk/src/contrib/mrunit:776175-786373
-/incubator/mrunit/trunk:1189151,1189206,1189248
+/incubator/mrunit/trunk:1189151,1189206,1189248,1195713

Modified: incubator/mrunit/branches/mrunit-0.5.0/pom.xml
URL: http://svn.apache.org/viewvc/incubator/mrunit/branches/mrunit-0.5.0/pom.xml?rev=1195714&r1=1195713&r2=1195714&view=diff
==============================================================================
--- incubator/mrunit/branches/mrunit-0.5.0/pom.xml (original)
+++ incubator/mrunit/branches/mrunit-0.5.0/pom.xml Mon Oct 31 23:07:36 2011
@@ -20,6 +20,13 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
+
+  <parent>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>7</version>
+  </parent> 
+
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.mrunit</groupId>
   <artifactId>mrunit</artifactId>
@@ -104,6 +111,23 @@
 
   </build>
 
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>http://repository.apache.org/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache-snapshots</id>
+      <url>https://repository.apache.org/content/repositories/snapshots</url>
+    </pluginRepository>
+  </pluginRepositories>
+
   <dependencies>
 
     <dependency>
@@ -151,4 +175,66 @@
 
   </dependencies>
 
+
+  <profiles>
+    <profile>
+      <!-- Used only when cutting a full release.  Configures the deploy plugin to mark
+          each artifact as a release (especially important for the archetype). Signs each
+          file deployed (it actually signs way too many files and we have to clean up a bit
+          once deployed). -->
+      <id>deploy</id>
+      <build>
+        <plugins>
+          <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>
+      <properties>
+        <update-release-info>true</update-release-info>
+        <!--  Don't re-run tests as part of the deploy build.
+              Note we use skipTests, not maven.test.skip, since the latter skips
+              compilation too and we want to deploy tests. -->
+        <skipTests>true</skipTests>
+      </properties>
+    </profile>
+    <profile>
+      <!--  Only bind Javadoc JARs when the javadoc profile is active, since it is slow.
-->
+      <id>javadoc</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.7</version>
+            <executions>
+              <execution>
+                <id>aggregate</id>
+                <goals>
+                  <goal>aggregate</goal>
+                </goals>
+                <phase>site</phase>
+              </execution>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



Mime
View raw message