You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Kolotyluk <er...@gmail.com> on 2011/05/13 01:32:52 UTC

settings.xml problems

I keep getting

12/05/11 3:17:12 PDT PM: Could not read settings.xml, assuming default 
values

Now for the back-story. Everything was fine, I am using Sonatype m2e and 
love it. I also have the regular maven release installed, although that 
is not a requirement for m2e.

I've been trying to get NPanday 1.4.0 working in Visual Studio 2010 and 
it kept complaining that it could not find a settings.xml file. Well, 
guess what you don't need one in your .m2 folder, but NPanday thinks you 
do. Anyway, I copied the default one from the standard Maven release to 
.m2 and that makes NPanday happy, but it makes m2e very unhappy. If I 
remove the file then m2e is happy but NPanday is not.

I can only assume that Sonatype have a different default settings.xml 
than the standard Maven release, but I'm surprised to see they are so 
incompatible. Does anyone have any suggestions on the best way for me to 
harmonize things that makes both m2e and NPanday happy?

Cheers, Eric

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


Re: settings.xml problems

Posted by Wayne Fay <wa...@gmail.com>.
> Sorry, I'm not sure what you are recommending I do.

You can generally ignore Martin, he's a bot or something.

> Should I edit my POM in Visual Studio and changed something in the NPanday
> section of the plugins, or do you mean run the actual mvn command?

This list knows almost nothing about NPanday. Why aren't you asking
these questions on the NPanday Users list? Or the M2E Users list
(since you mentioned that originally)?

Wayne

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


Re: settings.xml problems

Posted by Eric Kolotyluk <er...@gmail.com>.
Sorry, I'm not sure what you are recommending I do.

Should I edit my POM in Visual Studio and changed something in the 
NPanday section of the plugins, or do you mean run the actual mvn command?

Also, I'm not sure about what you mean about kenai?

Cheers, Eric

On 2011-05-12 5:13 PM, Martin Gainty wrote:
> Eric-
>
> you can define settingsFile for npanday plugin as :
> mvn npanday.plugin:maven-vsinstaller-plugin:install -DsettingsFile="$USER_HOME\.m2\settings.xml"
>
> could you briefly educate our members on a project called kenai?
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>> Date: Thu, 12 May 2011 16:32:52 -0700
>> From: eric.kolotyluk@gmail.com
>> To: users@maven.apache.org
>> Subject: settings.xml problems
>>
>> I keep getting
>>
>> 12/05/11 3:17:12 PDT PM: Could not read settings.xml, assuming default
>> values
>>
>> Now for the back-story. Everything was fine, I am using Sonatype m2e and
>> love it. I also have the regular maven release installed, although that
>> is not a requirement for m2e.
>>
>> I've been trying to get NPanday 1.4.0 working in Visual Studio 2010 and
>> it kept complaining that it could not find a settings.xml file. Well,
>> guess what you don't need one in your .m2 folder, but NPanday thinks you
>> do. Anyway, I copied the default one from the standard Maven release to
>> .m2 and that makes NPanday happy, but it makes m2e very unhappy. If I
>> remove the file then m2e is happy but NPanday is not.
>>
>> I can only assume that Sonatype have a different default settings.xml
>> than the standard Maven release, but I'm surprised to see they are so
>> incompatible. Does anyone have any suggestions on the best way for me to
>> harmonize things that makes both m2e and NPanday happy?
>>
>> Cheers, Eric
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>   		 	   		

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


RE: settings.xml problems

Posted by Martin Gainty <mg...@hotmail.com>.
Eric-

you can define settingsFile for npanday plugin as :
mvn npanday.plugin:maven-vsinstaller-plugin:install -DsettingsFile="$USER_HOME\.m2\settings.xml"

could you briefly educate our members on a project called kenai?
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Thu, 12 May 2011 16:32:52 -0700
> From: eric.kolotyluk@gmail.com
> To: users@maven.apache.org
> Subject: settings.xml problems
> 
> I keep getting
> 
> 12/05/11 3:17:12 PDT PM: Could not read settings.xml, assuming default 
> values
> 
> Now for the back-story. Everything was fine, I am using Sonatype m2e and 
> love it. I also have the regular maven release installed, although that 
> is not a requirement for m2e.
> 
> I've been trying to get NPanday 1.4.0 working in Visual Studio 2010 and 
> it kept complaining that it could not find a settings.xml file. Well, 
> guess what you don't need one in your .m2 folder, but NPanday thinks you 
> do. Anyway, I copied the default one from the standard Maven release to 
> .m2 and that makes NPanday happy, but it makes m2e very unhappy. If I 
> remove the file then m2e is happy but NPanday is not.
> 
> I can only assume that Sonatype have a different default settings.xml 
> than the standard Maven release, but I'm surprised to see they are so 
> incompatible. Does anyone have any suggestions on the best way for me to 
> harmonize things that makes both m2e and NPanday happy?
> 
> Cheers, Eric
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>