Re: Build of maven-dependency-analyzer fails on Windows.

2017-02-24 Thread Robert Scholte
On Thu, 23 Feb 2017 03:08:10 +0100, Christian Schulte   
wrote:



Am 02/20/17 um 18:28 schrieb Robert Scholte:

On Mon, 20 Feb 2017 02:17:12 +0100, Christian Schulte 
wrote:


Am 02/20/17 um 01:53 schrieb Christian Schulte:

Hi,

I cannot build 'maven-dependency-analyzer' trunk on Windows. Is there
some dependency I could upgrade to get this going? This is what I am
doing locally:

svn checkout  
/repos/asf/maven/shared/trunk/maven-dependency-analyzer

cd maven-dependency-analyzer
mvn verify -Papache-snapshots,run-its

Jenkins build job is here:



Regards,



Seems we cannot rename the mvn.bat file to mvn.cmd. Can someone clarify
this, please. Is it "just" our invoker relying on this?


Effective pom says maven-invoker-plugin-2.0.0 is used, which is aware of
both mvn.bat and mvn.cmd

Robert


Can you build the shared trunk on Windows using 3.5.0-SNAPSHOT? I am
running into issues related to something not finding the mvn.bat file. I
manually copied the mvn.cmd to mvn.bat and things started to work.

Regards,


Ok, got it. The *unit-tests* were failing due to an ancient version of  
maven-plugin-testing-tools (which is kind of weird, since  
dependency-analyzing should not be aware of plugins...). Easiest fix is to  
ensure that at least maven-invoker-2.2 is used. The project depends on  
Maven-2.0.5 dependencies, so we could also upgrade it all, in which case  
is faces similar issues for these tests as when upgrading plugins[1]
In case of *integration-tests* with maven-invoker-plugin, you can use  
version maven-invoker-plugin:2.0.0


Robert

[1]  
https://cwiki.apache.org/confluence/display/MAVEN/Plugin+migration+to+Maven3+dependencies


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



Re: Build of maven-dependency-analyzer fails on Windows.

2017-02-22 Thread Christian Schulte
Am 02/20/17 um 18:28 schrieb Robert Scholte:
> On Mon, 20 Feb 2017 02:17:12 +0100, Christian Schulte   
> wrote:
> 
>> Am 02/20/17 um 01:53 schrieb Christian Schulte:
>>> Hi,
>>>
>>> I cannot build 'maven-dependency-analyzer' trunk on Windows. Is there
>>> some dependency I could upgrade to get this going? This is what I am
>>> doing locally:
>>>
>>> svn checkout /repos/asf/maven/shared/trunk/maven-dependency-analyzer
>>> cd maven-dependency-analyzer
>>> mvn verify -Papache-snapshots,run-its
>>>
>>> Jenkins build job is here:
>>>
>>> 
>>>
>>> Regards,
>>>
>>
>> Seems we cannot rename the mvn.bat file to mvn.cmd. Can someone clarify
>> this, please. Is it "just" our invoker relying on this?
> 
> Effective pom says maven-invoker-plugin-2.0.0 is used, which is aware of  
> both mvn.bat and mvn.cmd
> 
> Robert

Can you build the shared trunk on Windows using 3.5.0-SNAPSHOT? I am
running into issues related to something not finding the mvn.bat file. I
manually copied the mvn.cmd to mvn.bat and things started to work.

Regards,
-- 
Christian


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



Re: Build of maven-dependency-analyzer fails on Windows.

2017-02-20 Thread Robert Scholte
On Mon, 20 Feb 2017 02:17:12 +0100, Christian Schulte   
wrote:



Am 02/20/17 um 01:53 schrieb Christian Schulte:

Hi,

I cannot build 'maven-dependency-analyzer' trunk on Windows. Is there
some dependency I could upgrade to get this going? This is what I am
doing locally:

svn checkout /repos/asf/maven/shared/trunk/maven-dependency-analyzer
cd maven-dependency-analyzer
mvn verify -Papache-snapshots,run-its

Jenkins build job is here:



Regards,



Seems we cannot rename the mvn.bat file to mvn.cmd. Can someone clarify
this, please. Is it "just" our invoker relying on this?


Effective pom says maven-invoker-plugin-2.0.0 is used, which is aware of  
both mvn.bat and mvn.cmd


Robert



Regards,


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



Re: Build of maven-dependency-analyzer fails on Windows.

2017-02-19 Thread Christian Schulte
Am 02/20/17 um 01:53 schrieb Christian Schulte:
> Hi,
> 
> I cannot build 'maven-dependency-analyzer' trunk on Windows. Is there
> some dependency I could upgrade to get this going? This is what I am
> doing locally:
> 
> svn checkout /repos/asf/maven/shared/trunk/maven-dependency-analyzer
> cd maven-dependency-analyzer
> mvn verify -Papache-snapshots,run-its
> 
> Jenkins build job is here:
> 
> 
> 
> Regards,
> 

Seems we cannot rename the mvn.bat file to mvn.cmd. Can someone clarify
this, please. Is it "just" our invoker relying on this?

Regards,
-- 
Christian


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



Build of maven-dependency-analyzer fails on Windows.

2017-02-19 Thread Christian Schulte
Hi,

I cannot build 'maven-dependency-analyzer' trunk on Windows. Is there
some dependency I could upgrade to get this going? This is what I am
doing locally:

svn checkout /repos/asf/maven/shared/trunk/maven-dependency-analyzer
cd maven-dependency-analyzer
mvn verify -Papache-snapshots,run-its

Jenkins build job is here:



Regards,
-- 
Christian

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