README 1.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
========================================
How to test and build Hippo Repository
========================================

1. Introduction

  Very brief introduction to how to build and test Hippo Repository!

2. Requirements --

11
  (1) Java 1.8
Unico Hommes's avatar
Unico Hommes committed
12
  (2) Maven 3.0.4+
13 14 15

3. Build 
     
16
    (1) Build with short running test but no integration tests
17 18 19 20 21 22 23
    
      $ mvn clean install
    
    (2) Build with skipping tests
    
      $ mvn clean install -DskipTests
    
24 25
    (3) Build with integration tests

Unico Hommes's avatar
Unico Hommes committed
26
      $ mvn clean install -Pintegration
27 28

    (4) Build with Hippo Snapshot Repository Flag
29
      - Note: Mostly you do not need this when you check out and build a released version!
30 31 32 33
              Needed only when you build the TRUNK having snapshot dependencies!
      - Note: Please beware that the `-Dhippo.snapshots' option is effective only when you define
              a Maven profile with this property in your settings.xml for the Hippo snapshot repository.
              For detail, see https://wiki.onehippo.com/display/CMS7/Build+Hippo+CMS+7.5+or+higher+from+scratch
34 35 36
      - Add `-Dhippo.snapshots' for snapshot dependencies.
        For example,
        
37
          $ mvn clean install -Dhippo.snapshots -DskipTests
38