Return-Path: X-Original-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jena-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 19A689E62 for ; Wed, 22 Feb 2012 19:41:29 +0000 (UTC) Received: (qmail 62661 invoked by uid 500); 22 Feb 2012 19:41:29 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 62621 invoked by uid 500); 22 Feb 2012 19:41:29 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 62611 invoked by uid 99); 22 Feb 2012 19:41:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 19:41:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of castagna.lists@googlemail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 19:41:21 +0000 Received: by wibhq7 with SMTP id hq7so307051wib.6 for ; Wed, 22 Feb 2012 11:41:00 -0800 (PST) Received-SPF: pass (google.com: domain of castagna.lists@googlemail.com designates 10.180.109.228 as permitted sender) client-ip=10.180.109.228; Authentication-Results: mr.google.com; spf=pass (google.com: domain of castagna.lists@googlemail.com designates 10.180.109.228 as permitted sender) smtp.mail=castagna.lists@googlemail.com; dkim=pass header.i=castagna.lists@googlemail.com Received: from mr.google.com ([10.180.109.228]) by 10.180.109.228 with SMTP id hv4mr39364122wib.11.1329939660783 (num_hops = 1); Wed, 22 Feb 2012 11:41:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=W4qyDGD1OO07Rwgiui5N2BAf89m/ozK9uyE3r+1Mw+U=; b=d3x994y1rpebDs3BcZl27o+U12rR2st91x601klKUqquqBKmbiljDOU7HzRZOeKXuM HXAffwbH1hceMZfW7wNz/wgT7fAuosGypwFxM9ToWyH2m1uSP/7tmJFFzO9UtHomxYM/ aE6hdHLGGTKU7InFiYiKC4jHn+oRiVXyuAaAY= Received: by 10.180.109.228 with SMTP id hv4mr32666048wib.11.1329939660714; Wed, 22 Feb 2012 11:41:00 -0800 (PST) Received: from [192.168.254.45] ([92.54.159.27]) by mx.google.com with ESMTPS id m8sm75428952wia.11.2012.02.22.11.40.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Feb 2012 11:41:00 -0800 (PST) Message-ID: <4F4544BC.505@googlemail.com> Date: Wed, 22 Feb 2012 19:40:44 +0000 From: Paolo Castagna User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: jena-dev@incubator.apache.org Subject: Re: POM References: <4F44D6E4.50102@apache.org> <4F44ECB3.4070405@apache.org> <4F4524AE.8040102@apache.org> <4F4530A9.4030500@googlemail.com> <4F453601.3030809@apache.org> <4F453E9E.9060408@googlemail.com> <4F4541AF.9040807@apache.org> In-Reply-To: <4F4541AF.9040807@apache.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andy Seaborne wrote: >> svn co >> http://svn.apache.org/repos/asf/incubator/jena/Jena2/Fuseki/trunk/ Fuseki >> cd Fuseki/ >> mvn eclipse:eclipse > > Anything wrong with .classpath and .project? I edited the pom.xml to remove/add a dependency (FreeMarker-->Velocity switch). Then I run mvn eclipse:eclipse to update the .classpath file for Eclipse. > m2e? > >> It is probably something related to: >> >> >> >> >> false >> src/main/resources >> >> >> true >> src/main/resources >> >> org/apache/jena/fuseki/fuseki-properties.xml >> >> >> > > It's written like that so the files under META-INF do not get processed. > > Otherwise I get (started after adding src/main/resources/META-INF/ to > get proper LICENSE, NOTICE and DEPENDENCIES files) > > maven2: > [INFO] [remote-resources:process {execution: default}] > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error rendering velocity resource. > > maven3; > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process > (default) on project jena-fuseki: Error rendering velocity resource. > NullPointerException -> [Help 1] Ok, you see my issue/problem. How do you update .classpath file when a dependency in the pom.xml file changes? Paolo > > > >> >> ... having twos pointing to the same somehow is >> confusing my Maven and/or is there a bug in >> maven-remote-resources-plugin!? >> Is this causing problems to someone else? >> >> This seems to fix the problem I am experiencing: > > ....