Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4A595200D23 for ; Thu, 5 Oct 2017 01:39:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4859C160BD7; Wed, 4 Oct 2017 23:39:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6720F1609DD for ; Thu, 5 Oct 2017 01:39:25 +0200 (CEST) Received: (qmail 42548 invoked by uid 500); 4 Oct 2017 23:39:22 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 42535 invoked by uid 99); 4 Oct 2017 23:39:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2017 23:39:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9C5621807E6 for ; Wed, 4 Oct 2017 23:39:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id bJaajQG6Wlm0 for ; Wed, 4 Oct 2017 23:39:19 +0000 (UTC) Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com [209.85.216.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 680BA5FD71 for ; Wed, 4 Oct 2017 23:39:19 +0000 (UTC) Received: by mail-qt0-f172.google.com with SMTP id 47so22380782qts.10 for ; Wed, 04 Oct 2017 16:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=koTj9c60ddvwrWKg0bBSp0Khn6pzw5SPjfDTzQMWJ+o=; b=PZNd+z4mT2whQEWwM6KtUlmI1CYgPfAS0WhQ7jjId2wAUhvAAyOe+APNHEFPw39D3O z6o211RIxub10g04hDf4PeuWU4V8LpvC/RfRpHjucA4cs/kvD5i/EopG2ySdqZxYXR0p SrtFPOC1EMJpEly5ctHuZ+s433+C4TJyHhL/knExBKuOPjlZrO0j5mMkyJALjPo5VMH/ zV+cDy8YbkHlEWLwlDT/9syW60o7NMyuH+RoDrl1Ozh1JL2RO9utJ0AEI0lb5ejmbZ3s sn/noE310RilcTJZpu6M8MbVri6tYcmA9yJYYeSSS2X5Vg8eefBbh2ZLVoXOSwV6/vTz D6KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=koTj9c60ddvwrWKg0bBSp0Khn6pzw5SPjfDTzQMWJ+o=; b=iIurc/KOIUSjpv1lHDYbq2wXofQsr9ubeUe7+305JNzEIO3QLSPw2E98hNvVuFKSSS miIfi33Vq+UUCulJs6YOsqf9Xmji/AC+CR3AYs5ww4n7puvtm8kpvOos6NkJXYuPH2t4 uu1oo6wXnZa04WqOYsbEYLJrEoSQ/umtU35ZHtOsBEjqZPuFWggqnYIRbLgjwvHm6O5h C6tLXGWX29yYpPA7eYBa+9ZAFdRGUXAjDPSzBejMBnKVoq8pMgl0IqTVvUx+te+O3xZk huVfQvjpxCgLkh8UGNY4PE3Zortb8/qiY0HskdFQiK4AdZlKeF25WTKtXo7nF74cHwXj Mg8g== X-Gm-Message-State: AMCzsaXb1CTbe0bh3+q2/WEEZEyzedQIkB/hLuxDoabwdlS7mWptSzO+ MynB3G8c13ADArjKnTl7kCHZvko4M9wKUdtzUktZPJcX X-Google-Smtp-Source: AOwi7QC7AUAodP7N3O2rspEECqf07p6981CIuW581ZdV6GsMVseu7z/rXReQl/S2rcKtx2aaJLLbxroRY0R4mwP99n4= X-Received: by 10.200.0.89 with SMTP id i25mr9959677qtg.88.1507160358794; Wed, 04 Oct 2017 16:39:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.61.137 with HTTP; Wed, 4 Oct 2017 16:39:18 -0700 (PDT) From: Nawab Zada Asad Iqbal Date: Wed, 4 Oct 2017 16:39:18 -0700 Message-ID: Subject: Maven build error (Was: Jenkins setup for continuous build) To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="f403045e72dace3ba3055ac11d26" archived-at: Wed, 04 Oct 2017 23:39:26 -0000 --f403045e72dace3ba3055ac11d26 Content-Type: text/plain; charset="UTF-8" So, i looked at this setup https://builds.apache.org/job/Lucene-Solr-Maven-master/2111/console which is using Maven, so i switched to maven too. I am hitting following error with maven build: Is that expected? Can someone share me the details about how https://builds.apache.org/job/Lucene-Solr-Maven-master is configured. Thanks. [INFO] Scanning classes for violations... [ERROR] Forbidden class/interface use: org.bouncycastle.util.Strings [non-portable or internal runtime class] [ERROR] in org.apache.solr.response.TestCustomDocTransformer$CustomTransformerFactory (TestCustomDocTransformer.java:78) [ERROR] Scanned 1290 (and 2112 related) class file(s) for forbidden API invocations (in 2.74s), 1 error(s). On Wed, Oct 4, 2017 at 9:14 AM, Nawab Zada Asad Iqbal wrote: > Hi, > > I have some custom code in solr (which is not of good quality for > contributing back) so I need to setup my own continuous build solution. I > tried jenkins and was hoping that ant build (ant clean compile) in Execute > Shell textbox will work, but I am stuck at this ivy-fail error: > > To work around it, I also added another step in the 'Execute Shell' (ant > ivy-bootstrap), which succeeds but 'ant clean compile' still fails with the > following error. I guess that I am not alone in doing this so there should > be some standard work around for this. > > ivy-fail: > [echo] > [echo] This build requires Ivy and Ivy could not be found in your ant classpath. > [echo] > [echo] (Due to classpath issues and the recursive nature of the Lucene/Solr > [echo] build system, a local copy of Ivy can not be used an loaded dynamically > [echo] by the build.xml) > [echo] > [echo] You can either manually install a copy of Ivy 2.3.0 in your ant classpath: > [echo] http://ant.apache.org/manual/install.html#optionalTasks > [echo] > [echo] Or this build file can do it for you by running the Ivy Bootstrap target: > [echo] ant ivy-bootstrap > [echo] > [echo] Either way you will only have to install Ivy one time. > [echo] > [echo] 'ant ivy-bootstrap' will install a copy of Ivy into your Ant User Library: > [echo] /home/jenkins/.ant/lib > [echo] > [echo] If you would prefer, you can have it installed into an alternative > [echo] directory using the "-Divy_install_path=/some/path/you/choose" option, > [echo] but you will have to specify this path every time you build Lucene/Solr > [echo] in the future... > [echo] ant ivy-bootstrap -Divy_install_path=/some/path/you/choose > [echo] ... > [echo] ant -lib /some/path/you/choose clean compile > [echo] ... > [echo] ant -lib /some/path/you/choose clean compile > [echo] > [echo] If you have already run ivy-bootstrap, and still get this message, please > [echo] try using the "--noconfig" option when running ant, or editing your global > [echo] ant config to allow the user lib to be loaded. See the wiki for more details: > [echo] http://wiki.apache.org/lucene-java/DeveloperTips#Problems_with_Ivy.3F > [echo] > > > > --f403045e72dace3ba3055ac11d26--