You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2014/09/13 13:49:52 UTC

Building the release plugin: fails every time.

On Linux, where i keep a very vanilla environment for this sort of thing,
running mvn test on the maven-release-plugin (using maven 3.0.5) yields:

Tests in error:
  InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState Maven
applicat...

Help?

Re: Building the release plugin: fails every time.

Posted by Benson Margulies <bi...@gmail.com>.
On Sat, Sep 13, 2014 at 1:09 PM, Robert Scholte <rf...@apache.org>
wrote:

> That does probably explain why Eclipse has issues with it.
> However, when executing from commandline, the M2_HOME should be set by the
> mvn.bat/mvn.sh, right?
> At least I know it works for Windows.
>

There's some complex invoke-style launching taking place in the particular
test which seems to defeat that on both Linux and OSX.

--benson



>
> Robert
>
> Op Sat, 13 Sep 2014 18:45:59 +0200 schreef Benson Margulies <
> bimargulies@gmail.com>:
>
>  M2_HOME has to be set. I've added this to the site doc.
>>
>> On Sat, Sep 13, 2014 at 10:33 AM, Benson Margulies <bimargulies@gmail.com
>> >
>> wrote:
>>
>>  I am completely failing to remember what I might have done differently.
>>>
>>> On Sat, Sep 13, 2014 at 10:11 AM, Robert Scholte <rf...@apache.org>
>>> wrote:
>>>
>>>  I don't recall that something has changed here since you released 2.5...
>>>>
>>>> Op Sat, 13 Sep 2014 16:03:18 +0200 schreef Benson Margulies <
>>>> bimargulies@gmail.com>:
>>>>
>>>>
>>>>  I see it at command-line, with just 'mvn install'.
>>>>
>>>>>
>>>>>
>>>>> On Sat, Sep 13, 2014 at 10:02 AM, Robert Scholte <rfscholte@apache.org
>>>>> >
>>>>> wrote:
>>>>>
>>>>>  IIRC I'm getting this error when executed within the IDE, commandline
>>>>>
>>>>>> works fine.
>>>>>>
>>>>>> Robert
>>>>>>
>>>>>> Op Sat, 13 Sep 2014 13:49:52 +0200 schreef Benson Margulies <
>>>>>> bimargulies@gmail.com>:
>>>>>>
>>>>>>
>>>>>>  On Linux, where i keep a very vanilla environment for this sort of
>>>>>> thing,
>>>>>>
>>>>>>  running mvn test on the maven-release-plugin (using maven 3.0.5)
>>>>>>> yields:
>>>>>>>
>>>>>>> Tests in error:
>>>>>>>   InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState
>>>>>>> Maven
>>>>>>> applicat...
>>>>>>>
>>>>>>> Help?
>>>>>>>
>>>>>>>
>>>>>>>  ------------------------------------------------------------
>>>>>> ---------
>>>>>> 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
>>>>
>>>>
>>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: Building the release plugin: fails every time.

Posted by Robert Scholte <rf...@apache.org>.
That does probably explain why Eclipse has issues with it.
However, when executing from commandline, the M2_HOME should be set by the  
mvn.bat/mvn.sh, right?
At least I know it works for Windows.

Robert

Op Sat, 13 Sep 2014 18:45:59 +0200 schreef Benson Margulies  
<bi...@gmail.com>:

> M2_HOME has to be set. I've added this to the site doc.
>
> On Sat, Sep 13, 2014 at 10:33 AM, Benson Margulies  
> <bi...@gmail.com>
> wrote:
>
>> I am completely failing to remember what I might have done differently.
>>
>> On Sat, Sep 13, 2014 at 10:11 AM, Robert Scholte <rf...@apache.org>
>> wrote:
>>
>>> I don't recall that something has changed here since you released  
>>> 2.5...
>>>
>>> Op Sat, 13 Sep 2014 16:03:18 +0200 schreef Benson Margulies <
>>> bimargulies@gmail.com>:
>>>
>>>
>>>  I see it at command-line, with just 'mvn install'.
>>>>
>>>>
>>>> On Sat, Sep 13, 2014 at 10:02 AM, Robert Scholte  
>>>> <rf...@apache.org>
>>>> wrote:
>>>>
>>>>  IIRC I'm getting this error when executed within the IDE, commandline
>>>>> works fine.
>>>>>
>>>>> Robert
>>>>>
>>>>> Op Sat, 13 Sep 2014 13:49:52 +0200 schreef Benson Margulies <
>>>>> bimargulies@gmail.com>:
>>>>>
>>>>>
>>>>>  On Linux, where i keep a very vanilla environment for this sort of
>>>>> thing,
>>>>>
>>>>>> running mvn test on the maven-release-plugin (using maven 3.0.5)
>>>>>> yields:
>>>>>>
>>>>>> Tests in error:
>>>>>>   InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState
>>>>>> Maven
>>>>>> applicat...
>>>>>>
>>>>>> Help?
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Building the release plugin: fails every time.

Posted by Benson Margulies <bi...@gmail.com>.
M2_HOME has to be set. I've added this to the site doc.

On Sat, Sep 13, 2014 at 10:33 AM, Benson Margulies <bi...@gmail.com>
wrote:

> I am completely failing to remember what I might have done differently.
>
> On Sat, Sep 13, 2014 at 10:11 AM, Robert Scholte <rf...@apache.org>
> wrote:
>
>> I don't recall that something has changed here since you released 2.5...
>>
>> Op Sat, 13 Sep 2014 16:03:18 +0200 schreef Benson Margulies <
>> bimargulies@gmail.com>:
>>
>>
>>  I see it at command-line, with just 'mvn install'.
>>>
>>>
>>> On Sat, Sep 13, 2014 at 10:02 AM, Robert Scholte <rf...@apache.org>
>>> wrote:
>>>
>>>  IIRC I'm getting this error when executed within the IDE, commandline
>>>> works fine.
>>>>
>>>> Robert
>>>>
>>>> Op Sat, 13 Sep 2014 13:49:52 +0200 schreef Benson Margulies <
>>>> bimargulies@gmail.com>:
>>>>
>>>>
>>>>  On Linux, where i keep a very vanilla environment for this sort of
>>>> thing,
>>>>
>>>>> running mvn test on the maven-release-plugin (using maven 3.0.5)
>>>>> yields:
>>>>>
>>>>> Tests in error:
>>>>>   InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState
>>>>> Maven
>>>>> applicat...
>>>>>
>>>>> Help?
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>>
>

Re: Building the release plugin: fails every time.

Posted by Benson Margulies <bi...@gmail.com>.
I am completely failing to remember what I might have done differently.

On Sat, Sep 13, 2014 at 10:11 AM, Robert Scholte <rf...@apache.org>
wrote:

> I don't recall that something has changed here since you released 2.5...
>
> Op Sat, 13 Sep 2014 16:03:18 +0200 schreef Benson Margulies <
> bimargulies@gmail.com>:
>
>
>  I see it at command-line, with just 'mvn install'.
>>
>>
>> On Sat, Sep 13, 2014 at 10:02 AM, Robert Scholte <rf...@apache.org>
>> wrote:
>>
>>  IIRC I'm getting this error when executed within the IDE, commandline
>>> works fine.
>>>
>>> Robert
>>>
>>> Op Sat, 13 Sep 2014 13:49:52 +0200 schreef Benson Margulies <
>>> bimargulies@gmail.com>:
>>>
>>>
>>>  On Linux, where i keep a very vanilla environment for this sort of
>>> thing,
>>>
>>>> running mvn test on the maven-release-plugin (using maven 3.0.5) yields:
>>>>
>>>> Tests in error:
>>>>   InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState Maven
>>>> applicat...
>>>>
>>>> Help?
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>

Re: Building the release plugin: fails every time.

Posted by Robert Scholte <rf...@apache.org>.
I don't recall that something has changed here since you released 2.5...

Op Sat, 13 Sep 2014 16:03:18 +0200 schreef Benson Margulies  
<bi...@gmail.com>:

> I see it at command-line, with just 'mvn install'.
>
>
> On Sat, Sep 13, 2014 at 10:02 AM, Robert Scholte <rf...@apache.org>
> wrote:
>
>> IIRC I'm getting this error when executed within the IDE, commandline
>> works fine.
>>
>> Robert
>>
>> Op Sat, 13 Sep 2014 13:49:52 +0200 schreef Benson Margulies <
>> bimargulies@gmail.com>:
>>
>>
>>  On Linux, where i keep a very vanilla environment for this sort of  
>> thing,
>>> running mvn test on the maven-release-plugin (using maven 3.0.5)  
>>> yields:
>>>
>>> Tests in error:
>>>   InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState Maven
>>> applicat...
>>>
>>> Help?
>>>
>>
>> ---------------------------------------------------------------------
>> 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


Re: Building the release plugin: fails every time.

Posted by Benson Margulies <bi...@gmail.com>.
I see it at command-line, with just 'mvn install'.


On Sat, Sep 13, 2014 at 10:02 AM, Robert Scholte <rf...@apache.org>
wrote:

> IIRC I'm getting this error when executed within the IDE, commandline
> works fine.
>
> Robert
>
> Op Sat, 13 Sep 2014 13:49:52 +0200 schreef Benson Margulies <
> bimargulies@gmail.com>:
>
>
>  On Linux, where i keep a very vanilla environment for this sort of thing,
>> running mvn test on the maven-release-plugin (using maven 3.0.5) yields:
>>
>> Tests in error:
>>   InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState Maven
>> applicat...
>>
>> Help?
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: Building the release plugin: fails every time.

Posted by Robert Scholte <rf...@apache.org>.
IIRC I'm getting this error when executed within the IDE, commandline  
works fine.

Robert

Op Sat, 13 Sep 2014 13:49:52 +0200 schreef Benson Margulies  
<bi...@gmail.com>:

> On Linux, where i keep a very vanilla environment for this sort of thing,
> running mvn test on the maven-release-plugin (using maven 3.0.5) yields:
>
> Tests in error:
>   InvokerMavenExecutorTest.testEncryptSettings:132 » IllegalState Maven
> applicat...
>
> Help?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org