Hello, everyone
I was new in SBT and I try to use sbt+IVY+Artifactory to manage the jars in my project, in my test little project, I had architecture like this
and I write build.sbt like this:
name := "myfirstproject"
version := "0.0.0"
scalaVersion := "2.9.2"
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
libraryDependencies += "org.apache.derby" % "derby" % "10.4.1.3"
publishTo := Some("artifactory" at "http://ifarmpro:8081/artifactory/test-snapshot-local")
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
And credentials like this:
realm=Artifactory Realm
host=ifarmpro
user=admin
password=password
but it only upload some jars that I do not want, I want to upload the two jars in the lib folder ---findbugs_annotations.jar and guava.jar
how could I write my build.sbt or build.scala so that I can upload the jars I want.
Thank you so much, If any one can give me an answer.