Skip to content

Commit

Permalink
- restructure bbb-fsesl-client
Browse files Browse the repository at this point in the history
  • Loading branch information
ritzalam committed Jun 10, 2015
1 parent d184968 commit e7df7b3
Show file tree
Hide file tree
Showing 56 changed files with 145 additions and 4,995 deletions.
55 changes: 53 additions & 2 deletions bbb-fsesl-client/.gitignore 100644 → 100755
@@ -1,5 +1,56 @@
.DS_Store
._.DS_Store*
.metadata
.project
.classpath
lib
org.freeswitch.esl.client/target
.settings
.history
.worksheet
gen
**/*.swp
**/*~.nib
**/build/
**/*.pbxuser
**/*.perspective
**/*.perspectivev3
*.xcworkspace
*.xcuserdatad
**/target
target
*.iml
project/*.ipr
project/*.iml
project/*.iws
project/out
project/*/target
project/target
project/*/bin
project/*/build
project/*.iml
project/*/*.iml
project/.idea
project/.idea/*
.idea
.idea/*
.idea/**/*
.DS_Store
project/.DS_Store
project/*/.DS_Store
tm.out
tmlog*.log
*.tm*.epoch
out/
provisioning/.vagrant
provisioning/*/.vagrant
provisioning/*/*.known
/sbt/akka-patterns-store/
/daemon/src/build/
*.lock
log/
tmp/
build/
akka-patterns-store/
lib_managed/
.cache
bin/

85 changes: 85 additions & 0 deletions bbb-fsesl-client/build.sbt
@@ -0,0 +1,85 @@


name := "bbb-fsesl-client"

organization := "org.bigbluebutton"

version := "0.0.1-SNAPSHOT"

// We want to have our jar files in lib_managed dir.
// This way we'll have the right path when we import
// into eclipse.
retrieveManaged := true

testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "html", "console", "junitxml")

testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/scalatest-reports")

libraryDependencies ++= {
Seq(
"org.jboss.netty" % "netty" % "3.2.1.Final",
"junit" % "junit" % "4.11",
"ch.qos.logback" % "logback-classic" % "1.0.3"
)}

seq(Revolver.settings: _*)

//-----------
// Packaging
//
// Reference:
// http://xerial.org/blog/2014/03/24/sbt/
// http://www.scala-sbt.org/sbt-pgp/usage.html
// http://www.scala-sbt.org/0.13/docs/Using-Sonatype.html
// http://central.sonatype.org/pages/requirements.html
// http://central.sonatype.org/pages/releasing-the-deployment.html
//-----------

// Build pure Java lib (i.e. without scala)
// Do not append Scala versions to the generated artifacts
crossPaths := false

// This forbids including Scala related libraries into the dependency
autoScalaLibrary := false

//publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))


publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/dev/repo/maven-repo/releases" )) )

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}


// Enables publishing to maven repo
publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
<description>
BigBlueButton custom FS-ESL client built on top of FS-ESL Java library.
</description>
<scm>
<url>git@github.com:bigbluebutton/bigbluebutton.git</url>
<connection>scm:git:git@github.com:bigbluebutton/bigbluebutton.git</connection>
</scm>
<developers>
<developer>
<id>ritzalam</id>
<name>Richard Alam</name>
<url>http://www.bigbluebutton.org</url>
</developer>
</developers>)

licenses := Seq("Apache License, Version 2.0" -> url("http://opensource.org/licenses/Apache-2.0"))

homepage := Some(url("http://www.bigbluebutton.org"))

0 comments on commit e7df7b3

Please sign in to comment.