Return-Path: X-Original-To: apmail-provisionr-dev-archive@minotaur.apache.org Delivered-To: apmail-provisionr-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF2C810DDA for ; Wed, 10 Jul 2013 05:10:13 +0000 (UTC) Received: (qmail 91368 invoked by uid 500); 10 Jul 2013 05:10:13 -0000 Delivered-To: apmail-provisionr-dev-archive@provisionr.apache.org Received: (qmail 91338 invoked by uid 500); 10 Jul 2013 05:10:12 -0000 Mailing-List: contact dev-help@provisionr.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@provisionr.incubator.apache.org Delivered-To: mailing list dev@provisionr.incubator.apache.org Received: (qmail 91328 invoked by uid 99); 10 Jul 2013 05:10:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 05:10:11 +0000 X-ASF-Spam-Status: No, hits=-2000.3 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Jul 2013 05:10:09 +0000 Received: (qmail 91272 invoked by uid 99); 10 Jul 2013 05:09:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 05:09:48 +0000 Date: Wed, 10 Jul 2013 05:09:48 +0000 (UTC) From: "Rahul Sharma (JIRA)" To: dev@provisionr.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PROVISIONR-46) Fix Jenkins Build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PROVISIONR-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rahul Sharma updated PROVISIONR-46: ----------------------------------- Attachment: PROVISIONR-46-Fix-Jenkins.patch Created a profile in assembly tests which can set the related values > Fix Jenkins Build > ------------------ > > Key: PROVISIONR-46 > URL: https://issues.apache.org/jira/browse/PROVISIONR-46 > Project: Provisionr > Issue Type: Improvement > Reporter: Rahul Sharma > Assignee: Rahul Sharma > Attachments: PROVISIONR-46-Fix-Jenkins.patch > > > The failing build is due to the non-standard maven repository. The build is made on a ubuntu-slave which has its own local repository at a custom location. This setting is passed in the build eg in d build 45 the local repos was set as : > -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 > We need to pass this setting to pax exam which is responsible for determining maven artifact. The way to do this is to pass this *maven.repo.local* variable to *org.ops4j.pax.url.mvn.localRepository*. This should be done in the profile that builds on jenkins. > Karaf has the similar situation the have a test case [1] which looks for artifact using pax. Thus they build a profile in their pom.xml [2] which can pick the local repo location and set the required varibale. Also it is easy to reproduce on local just enable the tag in maven/conf/settings.xml. > [1] https://svn.apache.org/repos/asf/karaf/trunk/itests/src/test/java/org/apache/karaf/itests/KarafTestSupport.java > [2]https://svn.apache.org/repos/asf/karaf/trunk/itests/pom.xml -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira