Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUILD][HOTFIX] Add -DskipTests property to reduce build time #1321

Closed
wants to merge 1 commit into from

Conversation

minahlee
Copy link
Member

@minahlee minahlee commented Aug 11, 2016

What is this PR for?

In dev/publish_release.sh there are two mvn build. Second build fails with follow error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (start-zeppelin) on project zeppelin-server: An Ant BuildException has occured: The directory /private/tmp/zeppelin-release/zeppelin/zeppelin-server/${zeppelin.daemon.package.base} does not exist
[ERROR] around Ant part ...<exec spawn="true" dir="${zeppelin.daemon.package.base}" executable="./zeppelin-daemon.sh">... @ 4:94 in /private/tmp/zeppelin-release/zeppelin/zeppelin-server/target/antrun/build-main.xml

This PR skip tests to fix this issue as hotfix. In addition, it will reduce build time

What type of PR is it?

Build

Questions:

  • Does the licenses files need update? no
  • Is there breaking changes for older versions? no
  • Does this needs documentation? no

@felixcheung
Copy link
Member

LGTM

@bzz
Copy link
Member

bzz commented Aug 12, 2016

Looks great to me @minahlee lets :shipit: !

@minahlee
Copy link
Member Author

Merge if there is no more discussion

@asfgit asfgit closed this in 74c9756 Aug 12, 2016
asfgit pushed a commit that referenced this pull request Aug 12, 2016
### What is this PR for?
In `dev/publish_release.sh` there are two mvn build. Second build fails with follow error:
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (start-zeppelin) on project zeppelin-server: An Ant BuildException has occured: The directory /private/tmp/zeppelin-release/zeppelin/zeppelin-server/${zeppelin.daemon.package.base} does not exist
[ERROR] around Ant part ...<exec spawn="true" dir="${zeppelin.daemon.package.base}" executable="./zeppelin-daemon.sh">...  4:94 in /private/tmp/zeppelin-release/zeppelin/zeppelin-server/target/antrun/build-main.xml
```

This PR skip tests to fix this issue as hotfix. In addition, it will reduce build time

### What type of PR is it?
Build

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <[email protected]>

Closes #1321 from minahlee/build_skipTests and squashes the following commits:

c1aa845 [Mina Lee] Add -DskipTests property to reduce build time

(cherry picked from commit 74c9756)
Signed-off-by: Mina Lee <[email protected]>
@minahlee minahlee deleted the build_skipTests branch August 30, 2016 15:10
asfgit pushed a commit that referenced this pull request Oct 12, 2016
…n repository

### What is this PR for?
While removing duplication of specifying build profile in #1321, build profile has been changed from `-Ppublish-distr` to `-Pbuild-distr`. We need to restore this change and use `-Ppublish-distr` profile to publish `*.javadoc.jar ` and `*.sources.jar`.

### What type of PR is it?
Hot Fix

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <[email protected]>

Closes #1506 from minahlee/build_profile and squashes the following commits:

b84b371 [Mina Lee] Change build profile for distributing artifact to maven repository
asfgit pushed a commit that referenced this pull request Oct 12, 2016
…n repository

### What is this PR for?
While removing duplication of specifying build profile in #1321, build profile has been changed from `-Ppublish-distr` to `-Pbuild-distr`. We need to restore this change and use `-Ppublish-distr` profile to publish `*.javadoc.jar ` and `*.sources.jar`.

### What type of PR is it?
Hot Fix

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <[email protected]>

Closes #1506 from minahlee/build_profile and squashes the following commits:

b84b371 [Mina Lee] Change build profile for distributing artifact to maven repository

(cherry picked from commit 22bd851)
Signed-off-by: Mina Lee <[email protected]>
pedrozatta pushed a commit to pedrozatta/zeppelin that referenced this pull request Oct 27, 2016
…n repository

### What is this PR for?
While removing duplication of specifying build profile in apache#1321, build profile has been changed from `-Ppublish-distr` to `-Pbuild-distr`. We need to restore this change and use `-Ppublish-distr` profile to publish `*.javadoc.jar ` and `*.sources.jar`.

### What type of PR is it?
Hot Fix

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <[email protected]>

Closes apache#1506 from minahlee/build_profile and squashes the following commits:

b84b371 [Mina Lee] Change build profile for distributing artifact to maven repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants