Yes, SolrJ should not depend on Lucene, right! ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de
> -----Original Message----- > From: Steven A Rowe [mailto:sar...@syr.edu] > Sent: Monday, July 09, 2012 7:54 PM > To: dev@lucene.apache.org > Subject: Solrj lucene-core dependency [was: RE: [JENKINS-MAVEN] Lucene-Solr- > Maven-trunk #540: POMs out of sync] > > As part of LUCENE-4199, a lucene-core dependency was added to Solrj, in > ContentStreamBase.java: > > 133: public Reader getReader() throws IOException { > 134: String charset = getCharsetFromContentType( contentType ); > 135: return charset == null > 136: ? new InputStreamReader(getStream(), IOUtils.CHARSET_UTF_8) > 137: : new InputStreamReader( getStream(), charset ); > 138: } > > IOUtils is under lucene/core/src/java/org/apache/lucene/util/. > > Elsewhere in Solrj, Charset.forName("UTF-8") is used instead of > IOUtils.CHARSET_UTF_8. > > Any objections to switching? Or maybe we can make a Solrj-private cached > version like lucene-core's? > > Steve > > -----Original Message----- > From: Apache Jenkins Server [mailto:jenk...@builds.apache.org] > Sent: Monday, July 09, 2012 1:28 PM > To: dev@lucene.apache.org > Subject: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #540: POMs out of sync > > Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/540/ > > No tests ran. > > Build Log: > [...truncated 7669 lines...] > [INFO] Compiling 119 source files to /usr/home/hudson/hudson- > slave/workspace/Lucene-Solr-Maven-trunk/checkout/maven- > build/solr/solrj/target/classes > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > > [...truncated 140 lines...] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional > commands, e-mail: dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org