hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HowToContribute" by TomWhite
Date Wed, 03 Aug 2011 00:34:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HowToContribute" page has been changed by TomWhite:

  For testing a patch in Hadoop Common, use a command like this one, run from the top-level
({{{hadoop-trunk}}}) checkout:
+ export MAVEN_HOME=...
  dev-support/test-patch.sh DEVELOPER \
    /path/to/my.patch \
    /tmp \
@@ -207, +208 @@

   * Run any unit tests there (e.g. 'mvn test')
   * ''Publish'' your new common jar to your local mvn repository:<<BR>>
- hadoop-common$ mvn clean install
+ hadoop-common$ mvn clean install -DskipTests
   . A word of caution: `mvn-install` pushes the artifacts into your local Maven repository
which is shared by all your projects.
   * Switch to the dependent project and make any changes there (e.g., that rely on a new
API you introduced in common).

View raw message