Ok, a few things: 1) I can build with
sbt "++2.10.2 update" sbt "++2.10.2 package" sbt "++2.10.2 assembly-package-dependency" but the following asks for a PGP passphrase sbt "++2.10.2 publish-local" and fails Please enter PGP passphrase: ******** java.io.FileNotFoundException: /Users/reefedjib/.sbt/gpg/secring.asc (No such file or directory) This seems related: https://github.com/sbt/sbt-pgp/issues/24. I do not know my passphrase if it is not my user's password. 2) then I decide to publish to the local maven repo, with the following commands: Robs-MacBook-Pro:kafka reefedjib$ mvn install:install-file -Dfile=core/target/scala-2.10/kafka_2.10-0.8.0-beta1.jar -DgroupId=org.apache -DartifactId=kafka_2.10 -Dversion=0.8.1 -Dpackaging=jar Robs-MacBook-Pro:kafka reefedjib$ mvn install:install-file -Dfile=core/target/scala-2.10/kafka-assembly-0.8.0-beta1-deps.jar -DgroupId=org.apache -DartifactId=kafka-deps-2.10 -Dversion=0.8.1 -Dpackaging=jar these work AND I get control over what they are published as. Robs-MacBook-Pro:kafka reefedjib$ ll ~/.m2/repository/org/apache/kafka_2.10/0.8.1/ total 4896 drwxr-xr-x 5 reefedjib staff 170 Aug 3 09:44 . drwxr-xr-x 4 reefedjib staff 136 Aug 3 09:44 .. -rw-r--r-- 1 reefedjib staff 172 Aug 3 09:55 _maven.repositories -rw-r--r-- 1 reefedjib staff 2494775 Aug 3 09:53 kafka_2.10-0.8.1.jar -rw-r--r-- 1 reefedjib staff 464 Aug 3 09:44 kafka_2.10-0.8.1.pom Robs-MacBook-Pro:kafka reefedjib$ ll ~/.m2/repository/org/apache/kafka-deps-2.10/0.8.1/ total 52616 drwxr-xr-x 5 reefedjib staff 170 Aug 3 09:44 . drwxr-xr-x 4 reefedjib staff 136 Aug 3 09:44 .. -rw-r--r-- 1 reefedjib staff 182 Aug 3 09:56 _maven.repositories -rw-r--r-- 1 reefedjib staff 26929642 Aug 3 09:54 kafka-deps-2.10-0.8.1.jar -rw-r--r-- 1 reefedjib staff 469 Aug 3 09:44 kafka-deps-2.10-0.8.1.pom allowing me to reference them as: libraryDependencies ++= Seq( "org.apache" %% "kafka" % "0.8.1", "org.apache" %% "kafka-deps" % "0.8.1" ) Note that I have a resolver defined: "Local Maven Repo" at "file://" + Path.userHome + "/.m2/repository" 3) If I could publish-local AND control the naming of the modules, then I could just skip the mvm install steps. So, a couple of questions: Have you seen this publish-local issue before, on a macbook? Is there a way I can specify the artifactId and version for use by sbt when I publish-local into ivy? thanks, rob On Aug 3, 2013, at 9:10 AM, Joe Stein <crypt...@gmail.com> wrote: > ./sbt "++2.10.0 publish-local" > > Assuming 2.10.0 is the Scala version you want. > > /******************************************* > Joe Stein > Founder, Principal Consultant > Big Data Open Source Security LLC > http://www.stealth.ly > Twitter: @allthingshadoop > ********************************************/ > > > On Aug 3, 2013, at 10:30 AM, Rob Withers <reefed...@gmail.com> wrote: > >> good morning, >> >> I have built a scala 2.10 version off of 0.8 and applied a patch of my own. >> When I go to sbt package, it specifies a version. How can I control these >> values (kafka_2.10-0.8.0-beta1)? >> >> [info] Packaging >> /Users/reefedjib/Desktop/rob/comp/newwork/kafka/core/target/scala-2.10/kafka_2.10-0.8.0-beta1.jar >> ... >> >> also, is there a way I can setup the build to deploy to my local maven repo, >> with my artifactId and version, with a single command? >> >> thanks, >> rob >>