Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BE4617565 for ; Tue, 24 Mar 2015 21:31:59 +0000 (UTC) Received: (qmail 55124 invoked by uid 500); 24 Mar 2015 21:31:59 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 55047 invoked by uid 500); 24 Mar 2015 21:31:58 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 55036 invoked by uid 99); 24 Mar 2015 21:31:58 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2015 21:31:58 +0000 Received: from robertscholte.dynamic.ziggo.nl (5248749D.cm-4-1b.dynamic.ziggo.nl [82.72.116.157]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 649371A0026 for ; Tue, 24 Mar 2015 21:31:58 +0000 (UTC) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Maven Developers List" Subject: Re: maven-release-plugin does not build cleanly - M2_HOME is missing References: Date: Tue, 24 Mar 2015 22:31:55 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Robert Scholte" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.17 (Win32) Hi Mirko, This confirms why Karl Heinz had issues with the Maven Invoker 2.2 (take 1) On Windows there's no issue, the mvn.bat/mvn.cmd always sets M2_HOME if it's not there. We could add an AssumeThat-clause in this test as well... thanks, Robert Op Tue, 24 Mar 2015 22:16:59 +0100 schreef Mirko Friedenhagen : > Hello, > > I just checked out the trunk (r1643023) and running "mvn clean verify" > does not succeed neither with Maven 3.0.5, Maven 3.2.5 nor with Maven > 3.3.1 (OS X 10.10.2, JDK 1.7.0_76): > > The test > org.apache.maven.shared.release.exec.InvokerMavenExecutorTest#testEncryptSettings > is always failing with the following message from > /maven-invoker-2.1-sources.jar!/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java:124 > > java.lang.IllegalStateException: Maven application directory was not > specified, and ${maven.home} is not provided in the system properties. > Please specify at least on of these. > > When I set the M2_HOME variable on the command line manually, the tests > succeed. > > Regards > Mirko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org