Skip to content
Permalink
Browse files

Remove useless links in alluxio-*.tar.gz

pr-link: #8969
change-id: cid-e0d19dc8167d6d0c0bd3f40376e03fdf9d542b31
  • Loading branch information...
witgo authored and alluxio-bot committed May 17, 2019
1 parent 0b4989e commit 429a9415cf11ea9ced5b5cbf904bfef34e65e71e
Showing with 0 additions and 14 deletions.
  1. +0 −14 dev/scripts/src/alluxio.org/build-distribution/cmd/generate-tarball.go
@@ -90,13 +90,6 @@ func chdir(path string) {
}
}

func symlink(oldname, newname string) {
if err := os.Symlink(oldname, newname); err != nil {
fmt.Fprintf(os.Stderr, "Symlink(%v, %v) failed: %v\n", oldname, newname, err)
os.Exit(1)
}
}

func getCommonMvnArgs(hadoopVersion version) []string {
args := []string{"-T", "2C", "-am", "clean", "install", "-DskipTests", "-Dfindbugs.skip", "-Dmaven.javadoc.skip", "-Dcheckstyle.skip", "-Pmesos"}
if mvnArgsFlag != "" {
@@ -243,13 +236,6 @@ func addAdditionalFiles(srcPath, dstPath string, hadoopVersion version, version
mkdir(filepath.Join(dstPath, "underFSStorage"))
mkdir(filepath.Join(dstPath, "integration/docker/conf"))

// Add links for previous jar locations for backwards compatibility
for _, jar := range []string{"client", "server"} {
oldLocation := filepath.Join(dstPath, fmt.Sprintf("assembly/%v/target/alluxio-assembly-%v-%v-jar-with-dependencies.jar", jar, jar, version))
mkdir(filepath.Dir(oldLocation))
symlink(fmt.Sprintf("../../alluxio-%v-%v.jar", jar, version), oldLocation)
}
mkdir(filepath.Join(dstPath, "assembly/server/target"))
mkdir(filepath.Join(dstPath, "lib"))
addModules(srcPath, dstPath, "underfs", ufsModulesFlag, version, ufsModules)
}

0 comments on commit 429a941

Please sign in to comment.
You can’t perform that action at this time.