Merge pull request #2498 from guobingkun/fix_tarball

generate tarball by mvn package
This commit is contained in:
Fangjin Yang 2016-02-18 15:57:20 -08:00
commit 7e5d9a84f9
3 changed files with 12 additions and 4 deletions

View File

@ -47,7 +47,7 @@
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>install</phase> <phase>package</phase>
<goals> <goals>
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
@ -106,7 +106,7 @@
<executions> <executions>
<execution> <execution>
<id>distro-assembly</id> <id>distro-assembly</id>
<phase>install</phase> <phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>
@ -120,7 +120,7 @@
</execution> </execution>
<execution> <execution>
<id>mysql-distro-assembly</id> <id>mysql-distro-assembly</id>
<phase>install</phase> <phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>

View File

@ -17,7 +17,7 @@ To do so, run these commands:
``` ```
git clone git@github.com:druid-io/druid.git git clone git@github.com:druid-io/druid.git
cd druid cd druid
mvn clean install mvn clean package
``` ```
This will compile the project and create the Druid binary distribution tar under This will compile the project and create the Druid binary distribution tar under

View File

@ -650,6 +650,14 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId> <artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version> <version>2.3.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>install</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>