Thanks. I've solved it. I modified pom.xml and add my own repo into it, then use "mvn deploy".
Fengdong Yu <fengdo...@everstring.com>于2015年9月22日周二 下午2:08写道: > basically, you can build snapshot by yourself. > > just clone the source code, and then 'mvn package/deploy/install…..’ > > > Azuryy Yu > > > > On Sep 22, 2015, at 13:36, Bin Wang <wbi...@gmail.com> wrote: > > However I find some scripts in dev/audit-release, can I use them? > > Bin Wang <wbi...@gmail.com>于2015年9月22日周二 下午1:34写道: > >> No, I mean push spark to my private repository. Spark don't have a >> build.sbt as far as I see. >> >> Fengdong Yu <fengdo...@everstring.com>于2015年9月22日周二 下午1:29写道: >> >>> Do you mean you want to publish the artifact to your private repository? >>> >>> if so, please using ‘sbt publish’ >>> >>> add the following in your build.sb: >>> >>> publishTo := { >>> val nexus = "https://YOUR_PRIVATE_REPO_HOSTS/ >>> <https://your_private_repo_hosts/>" >>> if (version.value.endsWith("SNAPSHOT")) >>> Some("snapshots" at nexus + "content/repositories/snapshots") >>> else >>> Some("releases" at nexus + "content/repositories/releases") >>> >>> } >>> >>> >>> >>> On Sep 22, 2015, at 13:26, Bin Wang <wbi...@gmail.com> wrote: >>> >>> My project is using sbt (or maven), which need to download dependency >>> from a maven repo. I have my own private maven repo with nexus but I don't >>> know how to push my own build to it, can you give me a hint? >>> >>> Mark Hamstra <m...@clearstorydata.com>于2015年9月22日周二 下午1:25写道: >>> >>>> Yeah, whoever is maintaining the scripts and snapshot builds has fallen >>>> down on the job -- but there is nothing preventing you from checking out >>>> branch-1.5 and creating your own build, which is arguably a smarter thing >>>> to do anyway. If I'm going to use a non-release build, then I want the >>>> full git commit history of exactly what is in that build readily available, >>>> not just somewhat arbitrary JARs. >>>> >>>> On Mon, Sep 21, 2015 at 9:57 PM, Bin Wang <wbi...@gmail.com> wrote: >>>> >>>>> But I cannot find 1.5.1-SNAPSHOT either at >>>>> https://repository.apache.org/content/groups/snapshots/org/apache/spark/spark-core_2.10/ >>>>> >>>>> Mark Hamstra <m...@clearstorydata.com>于2015年9月22日周二 下午12:55写道: >>>>> >>>>>> There is no 1.5.0-SNAPSHOT because 1.5.0 has already been released. >>>>>> The current head of branch-1.5 is 1.5.1-SNAPSHOT -- soon to be 1.5.1 >>>>>> release candidates and then the 1.5.1 release. >>>>>> >>>>>> On Mon, Sep 21, 2015 at 9:51 PM, Bin Wang <wbi...@gmail.com> wrote: >>>>>> >>>>>>> I'd like to use some important bug fixes in 1.5 branch and I look >>>>>>> for the apache maven host, but don't find any snapshot for 1.5 branch. >>>>>>> https://repository.apache.org/content/groups/snapshots/org/apache/spark/spark-core_2.10/1.5.0-SNAPSHOT/ >>>>>>> >>>>>>> I can find 1.4.X and 1.6.0 versions, why there is no snapshot for >>>>>>> 1.5.X? >>>>>>> >>>>>> >>>>>> >>>> >>> >