Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02D671031A for ; Mon, 14 Sep 2015 15:31:34 +0000 (UTC) Received: (qmail 67313 invoked by uid 500); 14 Sep 2015 15:31:32 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 67242 invoked by uid 500); 14 Sep 2015 15:31:32 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 67231 invoked by uid 99); 14 Sep 2015 15:31:31 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2015 15:31:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3B4471A19DE for ; Mon, 14 Sep 2015 15:31:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id m633QK6LgxpG for ; Mon, 14 Sep 2015 15:31:23 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 5859A2055B for ; Mon, 14 Sep 2015 15:31:23 +0000 (UTC) Received: from Karl-Heinzs-MacBook-Pro.local ([217.247.55.19]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MDhGw-1ZOqHy0PSI-00H8g6 for ; Mon, 14 Sep 2015 17:31:16 +0200 Message-ID: <55F6E843.7080808@gmx.de> Date: Mon, 14 Sep 2015 17:31:15 +0200 From: Karl Heinz Marbaise Reply-To: info@soebes.de User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Maven Users List Subject: Re: Upgrading to 3.3.3 References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:X/kGrooZVzSEP8fBWKTe2fKO55YgMc4Ahr8r2ddCDj5whRoPy4B cJfXWGeeI00x4ddAh6Ao5xDTHmUowHp0UDy4M0ND9bnFrMb+smFxI5+fdT28rixK5btKtst PjGjvY9JXsZ/u/EWdU6zKcAjpu/lT3RMdZ/amUFkzMC2VceYKJruvystDbwp+jxRYxgrsND SHQUVhANuGD44q4uOCe2w== X-UI-Out-Filterresults: notjunk:1;V01:K0:TxCxTKokkoA=:67GOktb7NXVwQqYszMT926 /5kPTZ4Oyli/n3hBqpK9NOCBltLAfkOTNrD+fUGGshNe5nvXhvY+zKdy02ZWyH6bRsb5cu01Z Z+FiOOLBVjVEZnvqcCcUUJIu2Esg7XxDgkjJujlObZ3xopkXBjZJy0jdf5fWYCdQjT0oVDAbx THsHvnyZC+Y4ZKdPCvg5zaLVzPqWKyKM0bohypYOOhw+1UAgfSQ4socfmPpGT953wF/1FVw4m +RejFO1Q0UmccVbNMTsNAx9te+M/YR7NHytzCOhYP0hR7Uw0xth5L+W/FRR48aFqovI8WdOn+ 11PIagsAnEl5Wd24+NYKWqLZopZX+eIckb1n7XkhIRVwYpAJOpexQC+YoEAZO2yIhhW7FkqFX ZXM/Lzjm3aELfWJlrnC4NzUeEQ1P5WyNCoorJ0JNbbzU648JIGb9hc8eIX7oOXi4br7tGQFfs Ek8mvj7sNISW4l+vTwOSdQx+kqswRJe5sxUlN40TcWrOO5J6iry+Bl7cYgNPx2qhxT9BwvihT 6aK90VTw8XWhT1OZsjGxFF4I51gTegRyTwWtMwNNWbbQPwjsIDFtzA3Jji4o8oAmMP5p0NDhT GrhYchoCWvboelqw815nLEVcqUrZUgcpum3dXPr3rLO/RXS6Ff7CtbTKsWPYxaBmga08iCLhP fnrhEzCxMrHjIptbFtHEn1x/lTDM24J3MhOG8uiUxYxKK+GF73scsP6ISIUIykDGtPCkyCqyh RfZPACaxWvOcbs+is7DNon4J54JUuVzJ9ccY9w== Hi, if you call via Ant script? Why? Special requirement ? Are you on Windows or Linux ? Do you call the "mvn.bat" or "mvn.cmd" file ? Do you call the file from the distribution ? Apart from that the property is intended to find the root folder of a multi module build where the ".mvn" folder can be located... See Release notes for more details on it... http://blog.soebes.de/blog/2015/03/17/apache-maven-3-dot-3-1-features/ Maven-Ant-Task has not been updated for Maven 3.3.X as far as i know... Kind regards Karl Heinz Marbaise On 9/14/15 5:14 PM, David Hoffer wrote: > We are attempting to upgrade our CI builds to use Maven 3.3.3 but are > getting new errors with that version (3.2.5 worked). > > The error is: -Dmaven.multiModuleProjectDirectory system propery is not > set. Check $M2_HOME environment variable and mvn script match. > > This only seems to be an issue with some of our builds, specifically the > ones where the top level build is an Ant script that calls Maven via > maven-ant-tasks. > > What is this new property multiModuleProjectDirectory, why was it added and > how do I fix this? The online links on this issue seem vague and point to > updates needed in Eclipse and IntelliJ but in my case there is no IDE just > a CI build. > > Any help is greatly appreciated. > > -Dave > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org