Unable to figure out dependencies for spray.io's spray-servlet module - scala-2.10

Relevant parts of my build.sbt are here:
libraryDependencies ++= Seq (
"org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
//Spray dependencies
"io.spray" % "spray-servlet" % "1.1-M7",
"com.typesafe.akka" %% "akka-actor" % "2.2-M3",
"com.typesafe.akka" %% "akka-slf4j" % "2.2-M3",
//Servlet API?
//"org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" artifacts Artifact("javax.servlet", "jar", "jar"),
"javax.servlet" % "javax.servlet-api" % "3.0.1" % "provided",
"ch.qos.logback" % "logback-classic" % "1.0.12"
)
resolvers ++= Seq( "snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"spray repo" at "http://repo.spray.io",
"typesafe repo" at "http://repo.typesafe.com/typesafe/releases/",
"releases" at "http://oss.sonatype.org/content/repositories/releases")
I get these same 12 errors no matter what I try to use for the servlet API (or maybe it's not the Servlet API at all?):
[info] Loading global plugins from /home/dkowis/.sbt/plugins
[info] Loading project definition from /home/dkowis/gitwork/turbo-jug-robot/project
[info] Set current project to turbo-jug-robot (in build file:/home/dkowis/gitwork/turbo-jug-robot/)
[info] Updating {file:/home/dkowis/gitwork/turbo-jug-robot/}default-5e44c0...
[info] Resolving javax.servlet#javax.servlet-api;3.0.1 ...
[info] Done updating.
[info] Compiling 2 Scala sources to /home/dkowis/gitwork/turbo-jug-robot/target/scala-2.10/classes...
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:15: not found: value Uri
[error] case HttpRequest(GET, Uri.Path("/"), _, _, _) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:48: overloaded method value apply with alternatives:
[error] (optionalBody: Option[spray.http.HttpBody])spray.http.HttpEntity <and>
[error] (buffer: Array[Byte])spray.http.HttpEntity <and>
[error] (string: String)spray.http.HttpEntity
[error] cannot be applied to (spray.http.MediaType, String)
[error] entity = HttpEntity(`text/html`,
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:18: not found: value Uri
[error] case HttpRequest(GET, Uri.Path("/ping"), _, _, _) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:21: not found: value Uri
[error] case HttpRequest(GET, Uri.Path("/stream"), _, _, _) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:25: not found: value Uri
[error] case HttpRequest(GET, Uri.Path("/crash"), _, _, _) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:30: not found: value Uri
[error] case HttpRequest(GET, Uri.Path("/timeout"), _, _, _) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:33: not found: value Uri
[error] case HttpRequest(GET, Uri.Path("/timeout/timeout"), _, _, _) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:38: not found: value Timedout
[error] case Timedout(HttpRequest(_, Uri.Path("/timeout/timeout"), _, _, _)) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:41: not found: value Timedout
[error] case Timedout(request: HttpRequest) =>
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:42: not found: value request
[error] sender ! HttpResponse(500, "The " + request.method + " request to '" + request.uri + "' has timed out...")
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:72: value withAck is not a member of spray.http.ChunkedResponseStart
[error] client ! ChunkedResponseStart(HttpResponse(entity = " " * 2048)).withAck(Ok(count))
[error] ^
[error] /home/dkowis/gitwork/turbo-jug-robot/src/main/scala/spray/examples/DemoService.scala:85: value withAck is not a member of spray.http.MessageChunk
[error] client ! MessageChunk(DateTime.now.toIsoDateTimeString + ", ").withAck(Ok(remaining - 1))
[error] ^
[error] 12 errors found
[error] (compile:compile) Compilation failed
[error] Total time: 4 s, completed May 25, 2013 1:32:40 PM
I'm truly at a loss as to what the proper dependencies are, and they're not exactly spelled out on the spray.io site. Or I'm dumb and can't figure out what the dependencies are.

Aha, turns out that the git master branch has newer, breaking changes in it, and so the examples aren't valid for any released artifacts. Using a tag in the repo, in my case 1.1-M7 made everything happy again.
Herp derp.

Related

Titanium appcelerator module not found

I'm facing an error when building my titanium appcelerator application for android, below are modules installed :
- modules
Android > com.pushwoosh.module and dk.napp.drawer
tiapp.xml
<modules>
<module platform="iphone">dk.napp.drawer</module>
<module platform="android">dk.napp.drawer</module>
...
When i build the app, and run it from device i get following error :
[ERROR] : TiExceptionHandler: (main) [60613,103255] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [1,103256] - In ti:/module.js:303,2
[ERROR] : TiExceptionHandler: (main) [0,103256] - Message: Uncaught Error: Requested module not found: dk.napp.drawer
[ERROR] : TiExceptionHandler: (main) [0,103256] - Source: throw new Error("Requested module not found: " + request); // TODO Set 'code' property to 'MODULE_NOT_FOUND' to match Node?
[ERROR] : V8Exception: Exception occurred at ti:/module.js:303: Uncaught Error: Requested module not found: dk.napp.drawer
[ERROR] : ViewRootImpl: sendUserActionEvent() mView == null
So i don't know why the app doesn't found the dk.app.drawer module, here is a screenshot of all modules:
Thanks again for your helps
In the screenshot you only show the version 1.2.4 which is the iOS version. Did you add the android version too?
https://github.com/viezel/NappDrawer/tree/master/android/dist

Titanium Android App Crashes on Device

I am making an app that uses google api for providing routes between two locations . My app is crashing regularly on android simulator and device as well.
The code and error log is as :
code
var map=require('ti.map');
var window = Ti.UI.createWindow({title:'win'});
Ti.Geolocation.getCurrentPosition(function(e){
// ********FOR DEVICE*********
// var clat=e.coords.latitude;
// var clon=e.coords.longitude;
var Map=map.createView({
region:{
/****For Simulator*****/
latitude:28.5015171,
longitude:77.0857142,
/*****For Device******/
// latitude:clat,
// longitude:clon
},
title:Map,
mapType : map.STANDARD_TYPE,
animate : true,
zoom:-10,
regionFit : true,
userLocation : true
});
var Ann=[map.createAnnotation({
/****For Simulator*****/
latitude:28.5015171,
longitude:77.0857142,
/*****For Device*****/
// latitude:clat,
// longitude:clon
title:"I m Here",
subtitle:'My Current Location',
pincolor:map.ANNOTATION_RED,
}),
map.createAnnotation({
latitude:28.5686,
longitude:77.1122,
title:"Destination",
subtitle:"I wish to be there",
pincolor:map.Annotation_GREEN,
})];
Map.addAnnotations(Ann);
// Method to check Location On Device
// if (e.error) {
// alert('HFL cannot get your current location');
// return;
// } else {
/*********For Device***/
// longitude = clon;
// latitude = clat;
/****For Simulator*****/
latitude=28.5015171,
longitude=77.0857142,
// Assign the destination Latitude and Longitude.
destinationLongitude = 77.1122;destinationLatitude=28.5686;
// The bellow URL is used to Get the route of current location to assigned destination Location.
var url = "http://maps.googleapis.com/maps/api/directions/json?origin=" + latitude+','+longitude + "&destination=" + destinationLatitude +','+ destinationLongitude +"&sensor=true";
// The Bellow URL use the static current location to destination Location.
// var url = "http://maps.googleapis.com/maps/api/directions/json? origin=37.422502,-122.0855498&destination=37.389569,-122.050212&sensor=true";
var xhr = Titanium.Network.createHTTPClient();
xhr.open('GET', url);
Ti.API.info('URL: ' + url);
xhr.onload = function() {
Ti.API.info('inside the xhr-->' + this.responseText);
var xml = this.responseText;
var points = [];
// Bellow Variable have the step of the current location to destination Location. Using the Steps we going to create a route.
var position = JSON.parse(this.responseText).routes[0].legs[0].steps;
if (position[0] != null) {
points.push({
latitude : position[0].start_location.lat,
longitude : position[0].start_location.lng,
});
// Here we use the for loop to collect all the steps and push it to the array and use this array to form the route in android.
for (var i = 0; i < position.length; i++){
points.push({
latitude : position[i].end_location.lat,
longitude : position[i].end_location.lng,
});
}
}
var route=map.addRoute({
points:points,
width:4,
color:'blue'
});
Map.add(route);
};
// };
window.open();
window.add(Map);
});
Error log
[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.and.AndroidmapActivity#417def20
[WARN] : InputMethodManager: startInputInner : InputBindResult == null
[WARN] : dalvikvm: VFY: unable to resolve static field 3896 (MapAttrs) in Lcom/google/android/gms/R$styleable;
[WARN] : dalvikvm: VFY: unable to resolve static field 3886 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3886 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3881 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3877 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3892 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3889 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3885 (common_google_play_services_network_error_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3886 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3886 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3883 (common_google_play_services_invalid_account_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3886 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3889 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3878 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3875 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3890 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3886 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3880 (common_google_play_services_install_text_tablet) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3879 (common_google_play_services_install_text_phone) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3876 (common_google_play_services_enable_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3891 (common_google_play_services_update_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3888 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3884 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3882 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3887 (common_google_play_services_unsupported_date_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 3886 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
[INFO] : I/Google Maps Android API: Google Play services client version: 4132500
[INFO] : dalvikvm: Could not find method gui.a, referenced from method gqh.a
[WARN] : dalvikvm: VFY: unable to resolve static method 24934: Lgui;.a (Landroid/content/Context;)Lgrh;
[ERROR] : dalvikvm: Could not find class 'gpq', referenced from method gpr.a
[WARN] : dalvikvm: VFY: unable to resolve new-instance 4090 (Lgpq;) in Lgpr;
[ERROR] : dalvikvm: Could not find class 'gpq', referenced from method gpr.a
[WARN] : dalvikvm: VFY: unable to resolve new-instance 4090 (Lgpq;) in Lgpr;
[ERROR] : dalvikvm: Could not find class 'gpq', referenced from method gpr.a
[WARN] : dalvikvm: VFY: unable to resolve new-instance 4090 (Lgpq;) in Lgpr;
[INFO] : I/Google Maps Android API: Google Play services package version: 5089034
[WARN] : dalvikvm: VFY: unable to resolve static field 20875 (t) in Lyo;
[WARN] : dalvikvm: VFY: unable to resolve static field 20875 (t) in Lyo;
[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/location/internal/ParcelableGeofence; interface 4023 'Lglm;'
[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
[ERROR] : dalvikvm: Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence', referenced from method gls.a
[WARN] : dalvikvm: VFY: unable to resolve check-cast 2086 (Lcom/google/android/gms/location/internal/ParcelableGeofence;) in Lgls;
[WARN] : dalvikvm: VFY: unable to resolve static field 3896 (MapAttrs) in Lcom/google/android/gms/R$styleable;
[WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x40dd8258)
[ERROR] : TiApplication: (main) [2486,2486] Sending event: exception on thread: main msg:java.lang.ClassCastException: ti.map.AnnotationProxy cannot be cast to java.lang.Object[]; Titanium 3.3.0,2014/07/11 12:36,787cd39
[ERROR] : TiApplication: java.lang.ClassCastException: ti.map.AnnotationProxy cannot be cast to java.lang.Object[]
[ERROR] : TiApplication: at ti.map.TiUIMapView.processMapProperties(TiUIMapView.java:156)
[ERROR] : TiApplication: at ti.map.TiUIMapView.onViewCreated(TiUIMapView.java:111)
[ERROR] : TiApplication: at org.appcelerator.titanium.view.TiUIFragment.handleMessage(TiUIFragment.java:65)
[ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95)
[ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:154)
[ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:4624)
[ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method)
[ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511)
[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
[ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method)
[WARN] : TiVerify: (Timer-0) [2385,4871] Verifying module licenses...
[INFO] : Process: Sending signal. PID: 31701 SIG: 9
Any help will be apreciated.

Titanium: [ERROR] : Must set a connection to OPENED before send()

I'm trying to download multiple files, but for some reason, it only downloads one file.
My code:
for (var fl = 0; fl < fileurls.length; fl++){
var fname = fileurls[fl].substr(fileurls[fl].lastIndexOf('/')+1);
var file = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory, fname);
if(file.exists()) {
dlurls.push(fname);
Ti.API.info('File exists, adding: ' + fname)
}
if(!file.exists()) {
Ti.API.info('File does not exist, downloading: ' + fname)
modalview.show();
ind.show();
c.open('GET',fileurls[fl]);
ind.message = 'Downloading: ' + fname;
c.file = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory, fname);
c.onload = function(e)
{
dlurls.push(fname);
};
c.send();
}
Ti.API.info('Total files: ' + fileurls.length + ' Downloaded files: ' + dlurls.length)
if (fileurls.length==dlurls.length){
modalview.hide();
ind.hide();
}
}
So the for loop parses the json, and finds all the photos that need to be downloaded.
It checks the file system to see if they exist in which case it pushes the filename to the downloaded files list. If the file does not exist, it initiates a download which when complete pushes the file to the downloaded file list.
When done if filelist is equal to downloaded file list, means all files are there.
So, it does loop through all the files, but only one download is initiated?
[INFO] : File does not exist, downloading: IMG_1643_result.JPG
[INFO] : Total files: 27 Downloaded files: 0
[INFO] : File does not exist, downloading: IMG_3883_result.JPG
[INFO] : Total files: 27 Downloaded files: 0
[INFO] : File does not exist, downloading: 32103.JPG
[ERROR] : Must set a connection to OPENED before send()
[INFO] : Total files: 27 Downloaded files: 0
[INFO] : File does not exist, downloading: 32142.JPG
[INFO] : Total files: 27 Downloaded files: 0
[INFO] : File does not exist, downloading: kale02.JPG
[ERROR] : Must set a connection to OPENED before send()
[INFO] : Total files: 27 Downloaded files: 0
[INFO] : File does not exist, downloading: 3213212.JPG
[INFO] : Total files: 27 Downloaded files: 0
[INFO] : File does not exist, downloading: 32123.JPG
[INFO] : Total files: 27 Downloaded files: 0
[INFO] : File does not exist, downloading: 32132.jpg
[ERROR] : Must set a connection to OPENED before send()
...
[INFO] : Total files: 27 Downloaded files: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 0.602950394153595
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 1.6029504537582397
[INFO] : ONDATASTREAM1 - PROGRESS: 1.1585098505020142
[INFO] : ONDATASTREAM1 - PROGRESS: 2.1585099697113037
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 2.2008988857269287
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 3.8818702697753906
[INFO] : ONDATASTREAM1 - PROGRESS: 4.881870269775391
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 1
[INFO] : ONDATASTREAM1 - PROGRESS: 2.251030445098877
[INFO] : ONDATASTREAM1 - PROGRESS: 3.251030445098877
Ok, so what i did is i put the entire request in a function, and then had the oncomplete call call the function. Now it works.

Screenshots using Selenium IDE Firefox plugin

Using Selenium IDE Firefox plugin, I want to take automated screenshots.
The test script contains of two lines:
Command: open; Target: http://www.google.com
Command: captureEntirePageScreenshotAndWait
The log shows:
[info] Executing: |open | http://www.google.com | |
[info] Executing: |captureEntirePageScreenshotAndWait | | |
[error] Unexpected Exception: [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: chrome://selenium-ide/content/selenium-core/scripts/selenium-api.js :: <TOP_LEVEL> :: line 3045" data: no]. toString -> function toString() { [native code] }, message -> Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath], result -> 2152857601, name -> NS_ERROR_FILE_UNRECOGNIZED_PATH, filename -> chrome://selenium-ide/content/selenium-core/scripts/selenium-api.js, lineNumber -> 3045, columnNumber -> 0, inner -> null, data -> null, location -> JS frame :: chrome://selenium-ide/content/selenium-core/scripts/selenium-api.js :: <TOP_LEVEL> :: line 3045
How to get screenshots?
Setting the file path correctly solved it. The path needs to be set as follows:
(Windows:)
Command: captureEntirePageScreenshotAndWait; Target: D:\\Screenshots\\test.png
(Linux:)
Command: captureEntirePageScreenshotAndWait; Target: \\Screenshots\\test.png
In this example, the folder 'Screenshots' must exist.

maven, browse central repository via command line client

Is it possible via regular mvn command line client to browse the central repository, and possibly perform a specific search?
e.g: i want to get a list of all the artifacts that have "log4j" in their Artifact ID.
I whipped up a little Groovy script that does this:
import groovyx.net.http.URIBuilder
import groovy.json.JsonSlurper
class Fun {
public static void main(String[] args) {
def uri = new URIBuilder("http://search.maven.org/solrsearch/select")
uri.addQueryParam 'rows', 20
uri.addQueryParam 'wt', 'json'
uri.addQueryParam 'q', args[0]
def text = uri.toURL().getText()
def json = new JsonSlurper()
def result = json.parseText( text )
result.response.docs.each { doc ->
println "$doc.id:$doc.latestVersion"
}
}
}
And here's a Ruby script that does the same thing (using the httparty gem):
require 'httparty'
query = ARGV[0]
class MavenCentral
include HTTParty
base_uri 'search.maven.org'
def initialize(query, rows=20)
#options = { query: {rows: rows, wt: 'json', q: query} }
end
def artifacts
self.class.get('/solrsearch/select', #options)
end
end
maven_central = MavenCentral.new(query)
maven_central.artifacts['response']['docs'].each do |doc|
puts "#{doc['id']}:#{doc['latestVersion']}"
end
There is an SBT plugin for this: sbt-search-maven-plugin
$ sbt "searchMaven log4j"
[info] Loading global plugins from ~/.sbt/0.13/plugins
[info] Set current project to foo (in build file:~/projects/)
[info] Results for log4j:
[info] "com.jkoolcloud.tnt4j.logger" % "log4j" % "0.1"
[info] "org.apache.logging.log4j" % "log4j" % "2.6.1"
[info] "org.darkphoenixs" % "log4j" % "1.2.17"
[info] "log4j" % "log4j" % "1.2.17"
[info] "de.huxhorn.lilith" % "log4j" % "0.9.41"
[info] "org.mod4j.org.eclipse.xtext" % "log4j" % "1.2.15"
[info] "org.apache.logging.log4j" % "log4j-bom" % "2.6.1"
[info] "org.apache.logging.log4j.samples" % "log4j-samples" % "2.0.1"
[info] "org.apache.logging.log4j.osgi" % "log4j-osgi" % "2.0-rc1"
[info] "ro.fortsoft.log2j" % "log2j-parent" % "0.4"
[info] "ant" % "ant-apache-log4j" % "1.6.5"
[info] "ant" % "ant-jakarta-log4j" % "1.6.1"
[info] "plexus" % "plexus-log4j-logging" % "1.0"
[info] "org.apache.logging.log4j" % "log4j-liquibase" % "2.6.1"
[info] "org.apache.logging.log4j" % "log4j-jul" % "2.6.1"
[info] "org.apache.logging.log4j" % "log4j-iostreams" % "2.6.1"
[info] "org.apache.logging.log4j" % "log4j-nosql" % "2.6.1"
[info] "org.apache.logging.log4j" % "log4j-jmx-gui" % "2.6.1"
[info] "org.apache.logging.log4j" % "log4j-taglib" % "2.6.1"
[info] "org.apache.logging.log4j" % "log4j-web" % "2.6.1"
[success] Total time: 1 s, completed 24/06/2016 2:47:24 PM
mvn -q com.jarcasting:search-maven-plugin:search -Dq="com google guava"
search-maven-plugin