-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
547 changed files
with
38,819 additions
and
2,838 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ devenv | |
*.iml | ||
.idea/ | ||
*.versionsBackup | ||
*bin | ||
.DS_Store | ||
!NOTICE-BIN | ||
!LICENSE-BIN | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,43 @@ | ||
notifications: | ||
email: | ||
recipients: | ||
- dev@rocketmq.incubator.apache.org | ||
on_success: change | ||
on_failure: always | ||
|
||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
- oraclejdk7 | ||
- openjdk7 | ||
|
||
matrix: | ||
include: | ||
# On OSX, run with default JDK only. | ||
# - os: osx | ||
# On Linux, run with specific JDKs only. | ||
- os: linux | ||
env: CUSTOM_JDK="oraclejdk8" | ||
- os: linux | ||
env: CUSTOM_JDK="oraclejdk7" | ||
- os: linux | ||
env: CUSTOM_JDK="openjdk7" | ||
|
||
before_install: | ||
- echo 'MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m -XX:MaxPermSize=512m -XX:+BytecodeVerificationLocal"' >> ~/.mavenrc | ||
- cat ~/.mavenrc | ||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi | ||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi | ||
|
||
#os: | ||
# - linux | ||
# - osx | ||
#jdk: | ||
# - oraclejdk8 | ||
# - oraclejdk7 | ||
# - openjdk7 | ||
|
||
|
||
script: | ||
- travis_retry mvn -B clean apache-rat:check | ||
- travis_retry mvn -B package jacoco:report coveralls:report | ||
|
||
after_success: | ||
- mvn clean install -Pit-test | ||
- mvn sonar:sonar -Psonar-apache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
Build instructions for RocketMQ | ||
Build Instructions for Apache RocketMQ | ||
|
||
==================================================== | ||
|
||
(1) Requisites | ||
(1) Prerequisites | ||
|
||
JDK 1.7+ is required in order to compile and run RocketMQ. | ||
JDK 1.7+ is required in order to compile and run RocketMQ. | ||
|
||
RocketMQ utilizes Maven as a distribution management and packaging tool. Version 3.0.3 or later is required. | ||
Maven installation and configuration instructions can be found here: | ||
RocketMQ utilizes Maven as a distribution management and packaging tool. Version 3.0.3 or later is required. | ||
Maven installation and configuration instructions can be found here: | ||
|
||
http://maven.apache.org/run-maven/index.html | ||
http://maven.apache.org/run-maven/index.html | ||
|
||
|
||
(2) Executing test cases | ||
(2) Run test cases | ||
|
||
Execute the following command in order to compile and test the components: | ||
Execute the following command in order to compile and run test cases of each components: | ||
|
||
$ mvn test | ||
$ mvn test | ||
|
||
|
||
(3) Importing projects to eclipse | ||
(3) Import projects to Eclipse IDE | ||
|
||
First, generate eclipse project files: | ||
First, generate eclipse project files: | ||
|
||
$ mvn -U eclipse:eclipse | ||
$ mvn -U eclipse:eclipse | ||
|
||
Then, import to eclipse by specifying the root directory of the project via: | ||
Then, import to eclipse by specifying the root directory of the project via: | ||
|
||
[File] > [Import] > [Existing Projects into Workspace]. | ||
[File] > [Import] > [Existing Projects into Workspace]. | ||
|
||
|
||
(4) Building packages | ||
(4) Build distribution packages | ||
|
||
Execute the following command in order to build the tar.gz packages and install JAR to the local repository: | ||
Execute the following command in order to build the tar.gz packages and install JAR into local repository: | ||
|
||
$ mvn clean package install assembly:assembly -U | ||
$ mvn -Prelease-all -DskipTests clean install -U |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
RocketMQ | ||
Copyright 2016 Alibaba Group. | ||
Apache RocketMQ (incubating) | ||
Copyright 2016-2017 The Apache Software Foundation | ||
|
||
This product includes software developed at | ||
The Apache Software Foundation (http://www.apache.org/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.