Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 996 Bytes

build.md

File metadata and controls

47 lines (32 loc) · 996 Bytes

Build project

To build the project, you will need at least Java 11 and Maven installed.

To verify the installed Java run in console:

java -version

which should show something like (yours may be different):

openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

Follow next steps to create JAR which can be deployed locally.

Download or clone a project locally:

git clone https://github.com/prebid/prebid-server-java.git

Move to project directory:

cd prebid-server-java

And from this step there are two common use cases, which can be chosen depending on your goals.

  1. Create prebid-server JAR only:
mvn clean package
  1. Create prebid-server JAR with modules included:
mvn clean package --file extra/pom.xml