You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by chemit <ch...@codelutin.com> on 2010/11/11 14:34:05 UTC

properties inheritance does not work on windows os

Hi guys,

I was testing some of my mojo on windows platform (xp) and how
surprised I was to see there is some big problems.

I had some 
[ERROR]     'dependencies.dependency.version' for
commons-logging:commons-logging:jar is missing. @ line 48, column 17

when having in my mojo pom :

 <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
 </dependency>

which having as parent pom something with the good
dependenciesManagement filled for this dependency.

Another one, I defined in ma parent pom a mavenVersion property (to
2.2.1)

In the plugin I had

<dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <version>${mavenVersion}</version>
      <scope>provided</scope>
    </dependency>

But once again it did not works, while repeting the property definition
in plugin pom it works.

I feel a bit disapointing by such behaviour on windows, I did never
test maven 3.0 before final release and just test it on linux as for
me java is platform independant. 
For next releases of maven, before giving my +1, I'll have a check on
windows first, be sure ;)

Is those problem are known? I did not see anything about this on the
list, which means one thing to me : windows users does not use maven
(this was my troll sorry ;)).

Hope something will be done soon about it ;)
  

-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: chemit@codelutin.com
http://www.codelutin.com

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


Re: properties inheritance does not work on windows os

Posted by chemit <ch...@codelutin.com>.
On Thu, 11 Nov 2010 14:34:05 +0100
chemit <ch...@codelutin.com> wrote:

> Hi guys,
> 
> I was testing some of my mojo on windows platform (xp) and how
> surprised I was to see there is some big problems.
> 
> I had some 
> [ERROR]     'dependencies.dependency.version' for
> commons-logging:commons-logging:jar is missing. @ line 48, column 17
> 
> when having in my mojo pom :
> 
>  <dependency>
>       <groupId>commons-logging</groupId>
>       <artifactId>commons-logging</artifactId>
>  </dependency>
> 
> which having as parent pom something with the good
> dependenciesManagement filled for this dependency.
Notice that in my parent pom the version of the dependency is filled by
a property then the second problem seems to me to be the same in fact...

> 
> Another one, I defined in ma parent pom a mavenVersion property (to
> 2.2.1)
> 
> In the plugin I had
> 
> <dependency>
>       <groupId>org.apache.maven</groupId>
>       <artifactId>maven-project</artifactId>
>       <version>${mavenVersion}</version>
>       <scope>provided</scope>
>     </dependency>
> 
> But once again it did not works, while repeting the property
> definition in plugin pom it works.
> 
> I feel a bit disapointing by such behaviour on windows, I did never
> test maven 3.0 before final release and just test it on linux as for
> me java is platform independant. 
> For next releases of maven, before giving my +1, I'll have a check on
> windows first, be sure ;)
> 
> Is those problem are known? I did not see anything about this on the
> list, which means one thing to me : windows users does not use maven
> (this was my troll sorry ;)).
> 
> Hope something will be done soon about it ;)
>   
> 



-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: chemit@codelutin.com
http://www.codelutin.com

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


Re: properties inheritance does not work on windows os

Posted by chemit <ch...@codelutin.com>.
On Thu, 11 Nov 2010 14:34:05 +0100
chemit <ch...@codelutin.com> wrote:

> Hi guys,
> 
> I was testing some of my mojo on windows platform (xp) and how
> surprised I was to see there is some big problems.
> 
> I had some 
> [ERROR]     'dependencies.dependency.version' for
> commons-logging:commons-logging:jar is missing. @ line 48, column 17
> 
> when having in my mojo pom :
> 
>  <dependency>
>       <groupId>commons-logging</groupId>
>       <artifactId>commons-logging</artifactId>
>  </dependency>
> 
> which having as parent pom something with the good
> dependenciesManagement filled for this dependency.
> 
> Another one, I defined in ma parent pom a mavenVersion property (to
> 2.2.1)
> 
> In the plugin I had
> 
> <dependency>
>       <groupId>org.apache.maven</groupId>
>       <artifactId>maven-project</artifactId>
>       <version>${mavenVersion}</version>
>       <scope>provided</scope>
>     </dependency>
> 
> But once again it did not works, while repeting the property
> definition in plugin pom it works.
> 
> I feel a bit disapointing by such behaviour on windows, I did never
> test maven 3.0 before final release and just test it on linux as for
> me java is platform independant. 
> For next releases of maven, before giving my +1, I'll have a check on
> windows first, be sure ;)
> 
> Is those problem are known? I did not see anything about this on the
> list, which means one thing to me : windows users does not use maven
> (this was my troll sorry ;)).
> 
> Hope something will be done soon about it ;)
>   
> 

Ok now the problem is identified : There was a mistake done on central
and so the pom obtained was not the good one. 

I first did not look on this way (for me central is safe).

Sorry for all the noise about this on the list.

Cheers,

-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: chemit@codelutin.com
http://www.codelutin.com

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


Re: properties inheritance does not work on windows os

Posted by chemit <ch...@codelutin.com>.
On Thu, 11 Nov 2010 15:17:48 +0100
Benjamin Bentmann <be...@udo.edu> wrote:

> chemit wrote:
> 
> > Is those problem are known? I did not see anything about this on the
> > list, which means one thing to me : windows users does not use maven
> > (this was my troll sorry ;)).
> >
> > Hope something will be done soon about it ;)
> 
> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
> 
> 
This was your personal troll, I suppose ?

I pretty cleary explain the problem and ask if something was known
about it on a user list ?

And you send me to a 2000 miles page,... pretty nice of you :) Having
no time to read these page at the moment, I only keep one of the main
title : 

It doesn't work on windows ;)

Thanks benjamin


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



-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: chemit@codelutin.com
http://www.codelutin.com

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


RE: properties inheritance does not work on windows os

Posted by Martin Gainty <mg...@hotmail.com>.
Curt-
 
not supporting version for all of your tasks in your build environments will not produce stable releases within your SDLC process
you can overcome this problem by promoting your non-version-tagged specific tasks to version-specific maven-plugins 
(start with 1.0) which will enable your build process to produce stable release distros

Martin- 
______________________________________________ 
Der Auftrag der Gesundheitspflege liefert nicht Krankenversicherung...aber über das Auswählen der Herde 

 

> Date: Thu, 11 Nov 2010 15:30:36 +0100
> From: chemit@codelutin.com
> To: users@maven.apache.org
> Subject: Re: properties inheritance does not work on windows os
> 
> On Thu, 11 Nov 2010 08:24:45 -0600
> "Yanko, Curtis" <cu...@uhc.com> wrote:
> 
> > We use Windows in some places and I have never run into this and yes,
> > we use lots of properties and inheritance.
> 
> The problem seems to come from dependencies only when version are
> specified by a property.
> 
> > 
> > ________________________________
> > 
> > Curt Yanko | Continuous Integration Services | UnitedHealth Group IT 
> > Making IT Happen, one build at a time, 600 times a day
> > 
> > 
> > > -----Original Message-----
> > > From: Benjamin Bentmann [mailto:benjamin.bentmann@udo.edu] 
> > > Sent: Thursday, November 11, 2010 9:18 AM
> > > To: Maven Users List
> > > Subject: Re: properties inheritance does not work on windows os
> > > 
> > > chemit wrote:
> > > 
> > > > Is those problem are known? I did not see anything about 
> > > this on the 
> > > > list, which means one thing to me : windows users does not 
> > > use maven 
> > > > (this was my troll sorry ;)).
> > > >
> > > > Hope something will be done soon about it ;)
> > > 
> > > http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
> > > 
> > > 
> > > Benjamin
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > > 
> > > 
> > 
> > This e-mail, including attachments, may include confidential and/or
> > proprietary information, and may be used only by the person or entity
> > to which it is addressed. If the reader of this e-mail is not the
> > intended recipient or his or her authorized agent, the reader is
> > hereby notified that any dissemination, distribution or copying of
> > this e-mail is prohibited. If you have received this e-mail in error,
> > please notify the sender by replying to this message and delete this
> > e-mail immediately.
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> 
> 
> 
> -- 
> Tony Chemit
> --------------------
> tél: +33 (0) 2 40 50 29 28
> email: chemit@codelutin.com
> http://www.codelutin.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
 		 	   		  

Re: properties inheritance does not work on windows os

Posted by chemit <ch...@codelutin.com>.
On Thu, 11 Nov 2010 08:24:45 -0600
"Yanko, Curtis" <cu...@uhc.com> wrote:

> We use Windows in some places and I have never run into this and yes,
> we use lots of properties and inheritance.

The problem seems to come from dependencies only when version are
specified by a property.

> 
> ________________________________
> 
> Curt Yanko | Continuous Integration Services | UnitedHealth Group IT 
> Making IT Happen, one build at a time, 600 times a day
>  
> 
> > -----Original Message-----
> > From: Benjamin Bentmann [mailto:benjamin.bentmann@udo.edu] 
> > Sent: Thursday, November 11, 2010 9:18 AM
> > To: Maven Users List
> > Subject: Re: properties inheritance does not work on windows os
> > 
> > chemit wrote:
> > 
> > > Is those problem are known? I did not see anything about 
> > this on the 
> > > list, which means one thing to me : windows users does not 
> > use maven 
> > > (this was my troll sorry ;)).
> > >
> > > Hope something will be done soon about it ;)
> > 
> > http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
> > 
> > 
> > Benjamin
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> > 
> 
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the
> intended recipient or his or her authorized agent, the reader is
> hereby notified that any dissemination, distribution or copying of
> this e-mail is prohibited. If you have received this e-mail in error,
> please notify the sender by replying to this message and delete this
> e-mail immediately.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 



-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: chemit@codelutin.com
http://www.codelutin.com

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


RE: properties inheritance does not work on windows os

Posted by "Yanko, Curtis" <cu...@uhc.com>.
We use Windows in some places and I have never run into this and yes, we
use lots of properties and inheritance.

________________________________

Curt Yanko | Continuous Integration Services | UnitedHealth Group IT 
Making IT Happen, one build at a time, 600 times a day
 

> -----Original Message-----
> From: Benjamin Bentmann [mailto:benjamin.bentmann@udo.edu] 
> Sent: Thursday, November 11, 2010 9:18 AM
> To: Maven Users List
> Subject: Re: properties inheritance does not work on windows os
> 
> chemit wrote:
> 
> > Is those problem are known? I did not see anything about 
> this on the 
> > list, which means one thing to me : windows users does not 
> use maven 
> > (this was my troll sorry ;)).
> >
> > Hope something will be done soon about it ;)
> 
> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
> 
> 
> Benjamin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


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


Re: properties inheritance does not work on windows os

Posted by Benjamin Bentmann <be...@udo.edu>.
chemit wrote:

> Is those problem are known? I did not see anything about this on the
> list, which means one thing to me : windows users does not use maven
> (this was my troll sorry ;)).
>
> Hope something will be done soon about it ;)

http://www.chiark.greenend.org.uk/~sgtatham/bugs.html


Benjamin

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


Re: properties inheritance does not work on windows os

Posted by chemit <ch...@codelutin.com>.
On Fri, 12 Nov 2010 09:19:33 -0500
Martin Gainty <mg...@hotmail.com> wrote:

I will make reproductible small project to show the problem.

I just try to test on windows but for my part it does not block me
since I do not use windows; it was just to test if it works for people
which like to use our libraries [1]

Thanks.

[1] http://nuiton.org

> 
> Curt-
>  
> we can help you only if you send us your pom.xml which invokes the
> plugin and your ant build.xml
> http://maven.apache.org/plugins/maven-antrun-plugin/
> 
> Martin Gainty 
> ______________________________________________ 

-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: chemit@codelutin.com
http://www.codelutin.com

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


RE: properties inheritance does not work on windows os

Posted by Martin Gainty <mg...@hotmail.com>.
Curt-
 
we can help you only if you send us your pom.xml which invokes the plugin and your ant build.xml
http://maven.apache.org/plugins/maven-antrun-plugin/

Martin Gainty 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

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.



 

> Subject: RE: properties inheritance does not work on windows os
> Date: Fri, 12 Nov 2010 06:58:40 -0600
> From: curt_yanko@uhc.com
> To: users@maven.apache.org
> 
> ??
> 
> 
> > -----Original Message-----
> > From: Vincent Latombe [mailto:vincent.latombe@gmail.com] 
> > Sent: Friday, November 12, 2010 7:56 AM
> > To: Maven Users List
> > Subject: Re: properties inheritance does not work on windows os
> > 
> > I think what Benjamin meant is : please provide an sample 
> > project to reproduce your problem.
> > 
> > Vincent
> > 
> > 
> > 2010/11/11 Yanko, Curtis <cu...@uhc.com>
> > 
> > > Very odd indeed, we use properties quite pervasively and I haven't 
> > > seen this.
> > >
> > > I do recall some chicken-n-egg scenarios but this doesn't 
> > to fit that mold.
> > >
> > >
> > > > -----Original Message-----
> > > > From: chemit [mailto:chemit@codelutin.com]
> > > > Sent: Thursday, November 11, 2010 9:42 AM
> > > > To: users@maven.apache.org
> > > > Subject: Re: properties inheritance does not work on windows os
> > > >
> > > > On Thu, 11 Nov 2010 08:27:24 -0600
> > > > "Yanko, Curtis" <cu...@uhc.com> wrote:
> > > >
> > > > > Is this only on Maven 3.0? We haven't crossed that bridge yet.
> > > >
> > > > Good point, I have just try with version 2.2.1 and result 
> > is the same.
> > > >
> > > > I really don't understand why this works on linux but not under 
> > > > windows, there is some mysteries somewhere.
> > > >
> > > > Just to note, we use this since some times now (having 
> > version with 
> > > > a property in dependenciesManagement of a parent
> > > > pom) and we never had the problem (since now :)).
> > > >
> > > > I will have a look in maven jira in case.
> > > >
> > > > Perharps what we are doing is wrong ? I really don't know...
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > --
> > > > Tony Chemit
> > > > --------------------
> > > > tél: +33 (0) 2 40 50 29 28
> > > > email: chemit@codelutin.com
> > > > http://www.codelutin.com
> > > >
> > > > 
> > --------------------------------------------------------------------
> > > > - To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > This e-mail, including attachments, may include confidential and/or 
> > > proprietary information, and may be used only by the person 
> > or entity 
> > > to which it is addressed. If the reader of this e-mail is not the 
> > > intended recipient or his or her authorized agent, the reader is 
> > > hereby notified that any dissemination, distribution or copying of 
> > > this e-mail is prohibited. If you have received this e-mail 
> > in error, 
> > > please notify the sender by replying to this message and 
> > delete this e-mail immediately.
> > >
> > >
> > > 
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> > 
> 
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
 		 	   		  

Re: RE: properties inheritance does not work on windows os

Posted by Vincent Latombe <vi...@gmail.com>.
My previous message was meant for chemit and his reaction to Benjamin's
message

Vincent
Le 2010 11 12 13:59, "Yanko, Curtis" <cu...@uhc.com> a écrit :
> ??
>
>
>> -----Original Message-----
>> From: Vincent Latombe [mailto:vincent.latombe@gmail.com]
>> Sent: Friday, November 12, 2010 7:56 AM
>> To: Maven Users List
>> Subject: Re: properties inheritance does not work on windows os
>>
>> I think what Benjamin meant is : please provide an sample
>> project to reproduce your problem.
>>
>> Vincent
>>
>>
>> 2010/11/11 Yanko, Curtis <cu...@uhc.com>
>>
>> > Very odd indeed, we use properties quite pervasively and I haven't
>> > seen this.
>> >
>> > I do recall some chicken-n-egg scenarios but this doesn't
>> to fit that mold.
>> >
>> >
>> > > -----Original Message-----
>> > > From: chemit [mailto:chemit@codelutin.com]
>> > > Sent: Thursday, November 11, 2010 9:42 AM
>> > > To: users@maven.apache.org
>> > > Subject: Re: properties inheritance does not work on windows os
>> > >
>> > > On Thu, 11 Nov 2010 08:27:24 -0600
>> > > "Yanko, Curtis" <cu...@uhc.com> wrote:
>> > >
>> > > > Is this only on Maven 3.0? We haven't crossed that bridge yet.
>> > >
>> > > Good point, I have just try with version 2.2.1 and result
>> is the same.
>> > >
>> > > I really don't understand why this works on linux but not under
>> > > windows, there is some mysteries somewhere.
>> > >
>> > > Just to note, we use this since some times now (having
>> version with
>> > > a property in dependenciesManagement of a parent
>> > > pom) and we never had the problem (since now :)).
>> > >
>> > > I will have a look in maven jira in case.
>> > >
>> > > Perharps what we are doing is wrong ? I really don't know...
>> > >
>> > > Thanks.
>> > >
>> > >
>> > > --
>> > > Tony Chemit
>> > > --------------------
>> > > tél: +33 (0) 2 40 50 29 28
>> > > email: chemit@codelutin.com
>> > > http://www.codelutin.com
>> > >
>> > >
>> --------------------------------------------------------------------
>> > > - To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > > For additional commands, e-mail: users-help@maven.apache.org
>> > >
>> > >
>> >
>> > This e-mail, including attachments, may include confidential and/or
>> > proprietary information, and may be used only by the person
>> or entity
>> > to which it is addressed. If the reader of this e-mail is not the
>> > intended recipient or his or her authorized agent, the reader is
>> > hereby notified that any dissemination, distribution or copying of
>> > this e-mail is prohibited. If you have received this e-mail
>> in error,
>> > please notify the sender by replying to this message and
>> delete this e-mail immediately.
>> >
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

RE: properties inheritance does not work on windows os

Posted by "Yanko, Curtis" <cu...@uhc.com>.
??
 

> -----Original Message-----
> From: Vincent Latombe [mailto:vincent.latombe@gmail.com] 
> Sent: Friday, November 12, 2010 7:56 AM
> To: Maven Users List
> Subject: Re: properties inheritance does not work on windows os
> 
> I think what Benjamin meant is : please provide an sample 
> project to reproduce your problem.
> 
> Vincent
> 
> 
> 2010/11/11 Yanko, Curtis <cu...@uhc.com>
> 
> > Very odd indeed, we use properties quite pervasively and I haven't 
> > seen this.
> >
> > I do recall some chicken-n-egg scenarios but this doesn't 
> to fit that mold.
> >
> >
> > > -----Original Message-----
> > > From: chemit [mailto:chemit@codelutin.com]
> > > Sent: Thursday, November 11, 2010 9:42 AM
> > > To: users@maven.apache.org
> > > Subject: Re: properties inheritance does not work on windows os
> > >
> > > On Thu, 11 Nov 2010 08:27:24 -0600
> > > "Yanko, Curtis" <cu...@uhc.com> wrote:
> > >
> > > > Is this only on Maven 3.0? We haven't crossed that bridge yet.
> > >
> > > Good point, I have just try with version 2.2.1 and result 
> is the same.
> > >
> > > I really don't understand why this works on linux but not under 
> > > windows, there is some mysteries somewhere.
> > >
> > > Just to note, we use this since some times now (having 
> version with 
> > > a property in dependenciesManagement of a parent
> > > pom) and we never had the problem (since now :)).
> > >
> > > I will have a look in maven jira in case.
> > >
> > > Perharps what we are doing is wrong ? I really don't know...
> > >
> > > Thanks.
> > >
> > >
> > > --
> > > Tony Chemit
> > > --------------------
> > > tél: +33 (0) 2 40 50 29 28
> > > email: chemit@codelutin.com
> > > http://www.codelutin.com
> > >
> > > 
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > This e-mail, including attachments, may include confidential and/or 
> > proprietary information, and may be used only by the person 
> or entity 
> > to which it is addressed. If the reader of this e-mail is not the 
> > intended recipient or his or her authorized agent, the reader is 
> > hereby notified that any dissemination, distribution or copying of 
> > this e-mail is prohibited. If you have received this e-mail 
> in error, 
> > please notify the sender by replying to this message and 
> delete this e-mail immediately.
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


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


Re: properties inheritance does not work on windows os

Posted by Vincent Latombe <vi...@gmail.com>.
I think what Benjamin meant is : please provide an sample project to
reproduce your problem.

Vincent


2010/11/11 Yanko, Curtis <cu...@uhc.com>

> Very odd indeed, we use properties quite pervasively and I haven't seen
> this.
>
> I do recall some chicken-n-egg scenarios but this doesn't to fit that mold.
>
>
> > -----Original Message-----
> > From: chemit [mailto:chemit@codelutin.com]
> > Sent: Thursday, November 11, 2010 9:42 AM
> > To: users@maven.apache.org
> > Subject: Re: properties inheritance does not work on windows os
> >
> > On Thu, 11 Nov 2010 08:27:24 -0600
> > "Yanko, Curtis" <cu...@uhc.com> wrote:
> >
> > > Is this only on Maven 3.0? We haven't crossed that bridge yet.
> >
> > Good point, I have just try with version 2.2.1 and result is the same.
> >
> > I really don't understand why this works on linux but not
> > under windows, there is some mysteries somewhere.
> >
> > Just to note, we use this since some times now (having
> > version with a property in dependenciesManagement of a parent
> > pom) and we never had the problem (since now :)).
> >
> > I will have a look in maven jira in case.
> >
> > Perharps what we are doing is wrong ? I really don't know...
> >
> > Thanks.
> >
> >
> > --
> > Tony Chemit
> > --------------------
> > tél: +33 (0) 2 40 50 29 28
> > email: chemit@codelutin.com
> > http://www.codelutin.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: properties inheritance does not work on windows os

Posted by "Yanko, Curtis" <cu...@uhc.com>.
Very odd indeed, we use properties quite pervasively and I haven't seen this.

I do recall some chicken-n-egg scenarios but this doesn't to fit that mold.
 

> -----Original Message-----
> From: chemit [mailto:chemit@codelutin.com] 
> Sent: Thursday, November 11, 2010 9:42 AM
> To: users@maven.apache.org
> Subject: Re: properties inheritance does not work on windows os
> 
> On Thu, 11 Nov 2010 08:27:24 -0600
> "Yanko, Curtis" <cu...@uhc.com> wrote:
> 
> > Is this only on Maven 3.0? We haven't crossed that bridge yet. 
> 
> Good point, I have just try with version 2.2.1 and result is the same.
> 
> I really don't understand why this works on linux but not 
> under windows, there is some mysteries somewhere.
> 
> Just to note, we use this since some times now (having 
> version with a property in dependenciesManagement of a parent 
> pom) and we never had the problem (since now :)).
> 
> I will have a look in maven jira in case.
> 
> Perharps what we are doing is wrong ? I really don't know...
> 
> Thanks.
> 
> 
> --
> Tony Chemit
> --------------------
> tél: +33 (0) 2 40 50 29 28
> email: chemit@codelutin.com
> http://www.codelutin.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


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


Re: properties inheritance does not work on windows os

Posted by chemit <ch...@codelutin.com>.
On Thu, 11 Nov 2010 08:27:24 -0600
"Yanko, Curtis" <cu...@uhc.com> wrote:

> Is this only on Maven 3.0? We haven't crossed that bridge yet. 

Good point, I have just try with version 2.2.1 and result is the same.

I really don't understand why this works on linux but not under
windows, there is some mysteries somewhere.

Just to note, we use this since some times now (having version with a
property in dependenciesManagement of a parent pom) and we never had the
problem (since now :)).

I will have a look in maven jira in case.

Perharps what we are doing is wrong ? I really don't know...

Thanks.


-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: chemit@codelutin.com
http://www.codelutin.com

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


RE: properties inheritance does not work on windows os

Posted by "Yanko, Curtis" <cu...@uhc.com>.
Is this only on Maven 3.0? We haven't crossed that bridge yet. 

> -----Original Message-----
> From: chemit  

> 
> Hi guys,
> 
> I was testing some of my mojo on windows platform (xp) and 
> how surprised I was to see there is some big problems.
> 
> I had some 
> [ERROR]     'dependencies.dependency.version' for
> commons-logging:commons-logging:jar is missing. @ line 48, column 17
> 
> when having in my mojo pom :
> 
>  <dependency>
>       <groupId>commons-logging</groupId>
>       <artifactId>commons-logging</artifactId>
>  </dependency>
> 
> which having as parent pom something with the good 
> dependenciesManagement filled for this dependency.
> 
> Another one, I defined in ma parent pom a mavenVersion property (to
> 2.2.1)
> 
> In the plugin I had
> 
> <dependency>
>       <groupId>org.apache.maven</groupId>
>       <artifactId>maven-project</artifactId>
>       <version>${mavenVersion}</version>
>       <scope>provided</scope>
>     </dependency>
> 
> But once again it did not works, while repeting the property 
> definition in plugin pom it works.
> 
> I feel a bit disapointing by such behaviour on windows, I did 
> never test maven 3.0 before final release and just test it on 
> linux as for me java is platform independant. 
> For next releases of maven, before giving my +1, I'll have a 
> check on windows first, be sure ;)
> 
> Is those problem are known? I did not see anything about this 
> on the list, which means one thing to me : windows users does 
> not use maven (this was my troll sorry ;)).
> 
> Hope something will be done soon about it ;)
>   
> 
> --
> Tony Chemit
> --------------------
> tél: +33 (0) 2 40 50 29 28
> email: chemit@codelutin.com
> http://www.codelutin.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


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