Fixed. Thanks Steve!

On Fri, Feb 6, 2015 at 1:33 AM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:

> Good catch! Yes, google commons is what we need. I'll fix.
>
> On Fri, Feb 6, 2015 at 12:01 AM, Steve Rowe <sar...@gmail.com> wrote:
>
>> Shalin,
>>
>> The offending line is this import statement:
>>
>> 26: import
>> com.carrotsearch.ant.tasks.junit4.dependencies.com.google.common.collect.Lists;
>>
>> I’m not even sure what is happening there, but I assume it’s some form of
>> code duplication within the junit4 lib?
>>
>> I suspect the junit4 jar is not on the Maven test classpath because the
>> Maven build uses the surefire plugin as its test runner rather than the
>> junit4 runner.
>>
>> The direct package should suffice, no?:
>>
>>     import com.google.common.collect.Lists;
>>
>> Steve
>>
>> > On Feb 5, 2015, at 12:54 PM, Shalin Shekhar Mangar <
>> shalinman...@gmail.com> wrote:
>> >
>> > That's strange. This is code that I committed today but all tests and
>> precommit passed. I'll dig.
>> >
>> > On Thu, Feb 5, 2015 at 11:09 PM, Uwe Schindler <u...@thetaphi.de> wrote:
>> > Very strange error:
>> >
>> >       [mvn] [WARNING]
>> /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-trunk/solr/core/src/test/org/apache/solr/search/TestAnalyticsQParserPlugin.java:
>> Recompile with -Xlint:unchecked for details.
>> >       [mvn] [INFO] 4 warnings
>> >       [mvn] [INFO]
>> -------------------------------------------------------------
>> >       [mvn] [INFO]
>> -------------------------------------------------------------
>> >       [mvn] [ERROR] COMPILATION ERROR :
>> >       [mvn] [INFO]
>> -------------------------------------------------------------
>> >       [mvn] [ERROR]
>> /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZk2Test.java:[26,80]
>> package
>> com.carrotsearch.ant.tasks.junit4.dependencies.com.google.common.collect
>> does not exist
>> >       [mvn] [ERROR]
>> /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-trunk/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZk2Test.java:[420,29]
>> cannot find symbol
>> >       [mvn]   symbol:   variable Lists
>> >       [mvn]   location: class
>> org.apache.solr.cloud.BasicDistributedZk2Test
>> >       [mvn] [INFO] 2 errors
>> >       [mvn] [INFO]
>> -------------------------------------------------------------
>> >
>> > Does anybody has an idea how this comes? I cannot reproduce with ANT.
>> >
>> > Uwe
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: u...@thetaphi.de
>> >
>> > > -----Original Message-----
>> > > From: Apache Jenkins Server [mailto:jenk...@builds.apache.org]
>> > > Sent: Thursday, February 05, 2015 6:03 PM
>> > > To: dev@lucene.apache.org
>> > > Subject: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #1341: POMs out of
>> > > sync
>> > >
>> > > Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/1341/
>> > >
>> > > No tests ran.
>> > >
>> > > Build Log:
>> > > [...truncated 39352 lines...]
>> > >       [mvn] [INFO]
>> -------------------------------------------------------------
>> > >       [mvn] [INFO]
>> -------------------------------------------------------------
>> > >       [mvn] [ERROR] COMPILATION ERROR :
>> > >       [mvn] [INFO]
>> -------------------------------------------------------------
>> > >
>> > > [...truncated 798 lines...]
>> > > BUILD FAILED
>> > > /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-
>> > > trunk/build.xml:542: The following error occurred while executing
>> this line:
>> > > /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-
>> > > trunk/build.xml:204: The following error occurred while executing
>> this line:
>> > > : Java returned: 1
>> > >
>> > > Total time: 22 minutes 6 seconds
>> > > Build step 'Invoke Ant' marked build as failure Email was triggered
>> for: Failure
>> > > Sending email for trigger: Failure
>> > >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>> > For additional commands, e-mail: dev-h...@lucene.apache.org
>> >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Shalin Shekhar Mangar.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: dev-h...@lucene.apache.org
>>
>>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to