[jira] [Commented] (MNG-5522) properties project.parent.xxx not supported under Linux

2019-01-13 Thread Sylwester Lachiewicz (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16741686#comment-16741686
 ] 

Sylwester Lachiewicz commented on MNG-5522:
---

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> properties project.parent.xxx not supported under Linux
> ---
>
> Key: MNG-5522
> URL: https://issues.apache.org/jira/browse/MNG-5522
> Project: Maven
>  Issue Type: Bug
>  Components: Bootstrap  Build, POM
>Affects Versions: 3.0.5
> Environment: Few Linuxes tested, work under Windows
>Reporter: Pavel
>Priority: Major
> Attachments: maven-MNG-5522.zip
>
>
> Initially it was there: 
> https://jira.codehaus.org/browse/MRM-1772#comment-333654 . But It is maven 
> problem itself.
> It is reproducible on two our Linux machines (Fedora and Gentoo), so it may 
> be Linux relative. On all our colleagues on windows it does not reproduced.
> Some details.
> Parent pom among others have:
> {code}
>   1.5.300-SNAPSHOT
>   imus
> ...
>   
>   2.5.6
>   3.2.2.RELEASE
>   2.1.1
>   1.7.0
>   windows-1251
>   none
>   1.7
>   1.7
>   ${basedir}
>   QWERTY
>   
> {code}
> First child module:
> {code}
>   
>   
>   
>   org.apache.maven.plugins
>   maven-antrun-plugin
>   1.1
>   
>   
>   validate
>   
>   run
>   
>   
>   
>   
> [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>   
> [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>   
> [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>   
> [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>   
> [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>   
> [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>   
> [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>   
> [project.parent.name]: ${project.parent.name}
>   
> [project.parent.properties]: ${project.parent.properties}
>   
>   
>   
>   
>   
>   
>   
> {code}
> *In out I see what project.parent.name resolved and even 
> project.parent.properties, but not any property in collection (f.e. 
> project.parent.rootProjectPath or project.parent.properties.rootProjectPath) 
> as it should [by documentation|http://maven.apache.org/pom.html#Properties]*:
> {code}
> [INFO] --- maven-antrun-plugin:1.1:run (default) @ antinform-lib-parent ---
> [INFO] Executing tasks
>  [echo] [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>  [echo] [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>  [echo] [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>  [echo] [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>  [echo] [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>  [echo] [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>  [echo] [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>  [echo] [project.parent.name]: imus
>  [echo] [project.parent.properties]: {rootProjectPath1=QWERTY, 
> 

[jira] [Commented] (MNG-5522) properties project.parent.xxx not supported under Linux

2016-05-16 Thread Michael Osipov (JIRA)

[ 
https://issues.apache.org/jira/browse/MNG-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285238#comment-15285238
 ] 

Michael Osipov commented on MNG-5522:
-

It does neither work in Windows and FreeBSD. {{help:effective-pom}} does not 
interpolate the expression.

> properties project.parent.xxx not supported under Linux
> ---
>
> Key: MNG-5522
> URL: https://issues.apache.org/jira/browse/MNG-5522
> Project: Maven
>  Issue Type: Bug
>  Components: Bootstrap & Build, POM
>Affects Versions: 3.0.5
> Environment: Few Linuxes tested, work under Windows
>Reporter: Pavel
> Attachments: maven-MNG-5522.zip
>
>
> Initially it was there: 
> https://jira.codehaus.org/browse/MRM-1772#comment-333654 . But It is maven 
> problem itself.
> It is reproducible on two our Linux machines (Fedora and Gentoo), so it may 
> be Linux relative. On all our colleagues on windows it does not reproduced.
> Some details.
> Parent pom among others have:
> {code}
>   1.5.300-SNAPSHOT
>   imus
> ...
>   
>   2.5.6
>   3.2.2.RELEASE
>   2.1.1
>   1.7.0
>   windows-1251
>   none
>   1.7
>   1.7
>   ${basedir}
>   QWERTY
>   
> {code}
> First child module:
> {code}
>   
>   
>   
>   org.apache.maven.plugins
>   maven-antrun-plugin
>   1.1
>   
>   
>   validate
>   
>   run
>   
>   
>   
>   
> [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>   
> [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>   
> [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>   
> [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>   
> [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>   
> [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>   
> [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>   
> [project.parent.name]: ${project.parent.name}
>   
> [project.parent.properties]: ${project.parent.properties}
>   
>   
>   
>   
>   
>   
>   
> {code}
> *In out I see what project.parent.name resolved and even 
> project.parent.properties, but not any property in collection (f.e. 
> project.parent.rootProjectPath or project.parent.properties.rootProjectPath) 
> as it should [by documentation|http://maven.apache.org/pom.html#Properties]*:
> {code}
> [INFO] --- maven-antrun-plugin:1.1:run (default) @ antinform-lib-parent ---
> [INFO] Executing tasks
>  [echo] [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>  [echo] [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>  [echo] [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>  [echo] [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>  [echo] [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>  [echo] [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>  [echo] [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>  [echo] [project.parent.name]: imus
>  [echo] [project.parent.properties]: {rootProjectPath1=QWERTY, 
> spring3.version=3.2.2.RELEASE, mule.version=2.1.1, aspectj.version=1.7.0, 
> maven.compiler.target=1.7, source.encoding=windows-1251, 
> maven.test.include=none, maven.compiler.source=1.7, 

[jira] [Commented] (MNG-5522) properties project.parent.xxx not supported under Linux

2015-09-26 Thread Pavel (JIRA)

[ 
https://issues.apache.org/jira/browse/MNG-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14909486#comment-14909486
 ] 

Pavel commented on MNG-5522:


How it works on windows then??

> properties project.parent.xxx not supported under Linux
> ---
>
> Key: MNG-5522
> URL: https://issues.apache.org/jira/browse/MNG-5522
> Project: Maven
>  Issue Type: Bug
>  Components: Bootstrap & Build, POM
>Affects Versions: 3.0.5
> Environment: Few Linuxes tested, work under Windows
>Reporter: Pavel
> Attachments: maven-MNG-5522.zip
>
>
> Initially it was there: 
> https://jira.codehaus.org/browse/MRM-1772#comment-333654 . But It is maven 
> problem itself.
> It is reproducible on two our Linux machines (Fedora and Gentoo), so it may 
> be Linux relative. On all our colleagues on windows it does not reproduced.
> Some details.
> Parent pom among others have:
> {code}
>   1.5.300-SNAPSHOT
>   imus
> ...
>   
>   2.5.6
>   3.2.2.RELEASE
>   2.1.1
>   1.7.0
>   windows-1251
>   none
>   1.7
>   1.7
>   ${basedir}
>   QWERTY
>   
> {code}
> First child module:
> {code}
>   
>   
>   
>   org.apache.maven.plugins
>   maven-antrun-plugin
>   1.1
>   
>   
>   validate
>   
>   run
>   
>   
>   
>   
> [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>   
> [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>   
> [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>   
> [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>   
> [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>   
> [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>   
> [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>   
> [project.parent.name]: ${project.parent.name}
>   
> [project.parent.properties]: ${project.parent.properties}
>   
>   
>   
>   
>   
>   
>   
> {code}
> *In out I see what project.parent.name resolved and even 
> project.parent.properties, but not any property in collection (f.e. 
> project.parent.rootProjectPath or project.parent.properties.rootProjectPath) 
> as it should [by documentation|http://maven.apache.org/pom.html#Properties]*:
> {code}
> [INFO] --- maven-antrun-plugin:1.1:run (default) @ antinform-lib-parent ---
> [INFO] Executing tasks
>  [echo] [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>  [echo] [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>  [echo] [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>  [echo] [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>  [echo] [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>  [echo] [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>  [echo] [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>  [echo] [project.parent.name]: imus
>  [echo] [project.parent.properties]: {rootProjectPath1=QWERTY, 
> spring3.version=3.2.2.RELEASE, mule.version=2.1.1, aspectj.version=1.7.0, 
> maven.compiler.target=1.7, source.encoding=windows-1251, 
> maven.test.include=none, maven.compiler.source=1.7, spring.version=2.5.6, 
> rootProjectPath=/home/pasha/imus/IdeaProjects/imus-1.5}
> {code}
> 

[jira] [Commented] (MNG-5522) properties project.parent.xxx not supported under Linux

2015-09-16 Thread Karl Heinz Marbaise (JIRA)

[ 
https://issues.apache.org/jira/browse/MNG-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14747007#comment-14747007
 ] 

Karl Heinz Marbaise commented on MNG-5522:
--

Based on the example it shows that you try to use something which is only 
possible in a multi module build. The problem here is that the parent  (does 
not contain modules) and based on that you can't access the parent.basedir, 
cause you can't know where the project is located. In this case it is by 
coincidence located a level higher...so i don't see here a bug..i see more a 
problem in understanding parent/child relationship.

> properties project.parent.xxx not supported under Linux
> ---
>
> Key: MNG-5522
> URL: https://issues.apache.org/jira/browse/MNG-5522
> Project: Maven
>  Issue Type: Bug
>  Components: Bootstrap & Build, POM
>Affects Versions: 3.0.5
> Environment: Few Linuxes tested, work under Windows
>Reporter: Pavel
> Attachments: maven-MNG-5522.zip
>
>
> Initially it was there: 
> https://jira.codehaus.org/browse/MRM-1772#comment-333654 . But It is maven 
> problem itself.
> It is reproducible on two our Linux machines (Fedora and Gentoo), so it may 
> be Linux relative. On all our colleagues on windows it does not reproduced.
> Some details.
> Parent pom among others have:
> {code}
>   1.5.300-SNAPSHOT
>   imus
> ...
>   
>   2.5.6
>   3.2.2.RELEASE
>   2.1.1
>   1.7.0
>   windows-1251
>   none
>   1.7
>   1.7
>   ${basedir}
>   QWERTY
>   
> {code}
> First child module:
> {code}
>   
>   
>   
>   org.apache.maven.plugins
>   maven-antrun-plugin
>   1.1
>   
>   
>   validate
>   
>   run
>   
>   
>   
>   
> [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>   
> [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>   
> [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>   
> [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>   
> [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>   
> [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>   
> [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>   
> [project.parent.name]: ${project.parent.name}
>   
> [project.parent.properties]: ${project.parent.properties}
>   
>   
>   
>   
>   
>   
>   
> {code}
> *In out I see what project.parent.name resolved and even 
> project.parent.properties, but not any property in collection (f.e. 
> project.parent.rootProjectPath or project.parent.properties.rootProjectPath) 
> as it should [by documentation|http://maven.apache.org/pom.html#Properties]*:
> {code}
> [INFO] --- maven-antrun-plugin:1.1:run (default) @ antinform-lib-parent ---
> [INFO] Executing tasks
>  [echo] [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>  [echo] [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>  [echo] [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>  [echo] [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>  [echo] [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>  [echo] [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>  [echo] [project.parent.properties.rootProjectPath1]: 
> 

[jira] [Commented] (MNG-5522) properties project.parent.xxx not supported under Linux

2015-09-15 Thread Karl Richter (JIRA)

[ 
https://issues.apache.org/jira/browse/MNG-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14746291#comment-14746291
 ] 

Karl Richter commented on MNG-5522:
---

`project.parent.basedir` works with 3.1.1 on Ubuntu 15.04, this this might be 
fixed.

> properties project.parent.xxx not supported under Linux
> ---
>
> Key: MNG-5522
> URL: https://issues.apache.org/jira/browse/MNG-5522
> Project: Maven
>  Issue Type: Bug
>  Components: Bootstrap & Build, POM
>Affects Versions: 3.0.5
> Environment: Few Linuxes tested, work under Windows
>Reporter: Pavel
> Attachments: maven-MNG-5522.zip
>
>
> Initially it was there: 
> https://jira.codehaus.org/browse/MRM-1772#comment-333654 . But It is maven 
> problem itself.
> It is reproducible on two our Linux machines (Fedora and Gentoo), so it may 
> be Linux relative. On all our colleagues on windows it does not reproduced.
> Some details.
> Parent pom among others have:
> {code}
>   1.5.300-SNAPSHOT
>   imus
> ...
>   
>   2.5.6
>   3.2.2.RELEASE
>   2.1.1
>   1.7.0
>   windows-1251
>   none
>   1.7
>   1.7
>   ${basedir}
>   QWERTY
>   
> {code}
> First child module:
> {code}
>   
>   
>   
>   org.apache.maven.plugins
>   maven-antrun-plugin
>   1.1
>   
>   
>   validate
>   
>   run
>   
>   
>   
>   
> [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>   
> [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>   
> [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>   
> [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>   
> [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>   
> [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>   
> [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>   
> [project.parent.name]: ${project.parent.name}
>   
> [project.parent.properties]: ${project.parent.properties}
>   
>   
>   
>   
>   
>   
>   
> {code}
> *In out I see what project.parent.name resolved and even 
> project.parent.properties, but not any property in collection (f.e. 
> project.parent.rootProjectPath or project.parent.properties.rootProjectPath) 
> as it should [by documentation|http://maven.apache.org/pom.html#Properties]*:
> {code}
> [INFO] --- maven-antrun-plugin:1.1:run (default) @ antinform-lib-parent ---
> [INFO] Executing tasks
>  [echo] [project.parent.rootProjectPath]: 
> ${project.parent.rootProjectPath}
>  [echo] [project.parent.getRootProjectPath()]: 
> ${project.parent.getRootProjectPath()}
>  [echo] [project.parent.rootProjectPath1]: 
> ${project.parent.rootProjectPath1}
>  [echo] [project.parent.spring3.version]: 
> ${project.parent.spring3.version}
>  [echo] [project.parent.properties.spring3.version]: 
> ${project.parent.properties.spring3.version}
>  [echo] [project.parent.properties.rootProjectPath]: 
> ${project.parent.properties.rootProjectPath}
>  [echo] [project.parent.properties.rootProjectPath1]: 
> ${project.parent.properties.rootProjectPath1}
>  [echo] [project.parent.name]: imus
>  [echo] [project.parent.properties]: {rootProjectPath1=QWERTY, 
> spring3.version=3.2.2.RELEASE, mule.version=2.1.1, aspectj.version=1.7.0, 
> maven.compiler.target=1.7, source.encoding=windows-1251, 
> maven.test.include=none, maven.compiler.source=1.7, spring.version=2.5.6,