I am sorry, Christian, I must be missing something obvious. When I try
building the IT project you suggested as an expect of correct parent
version usage [1] I get the error below when using current 3.4 master.
Are you able to build the project successfully?


[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the
POMs:
[FATAL] Version must be a constant @
org.apache.maven.its.mng2199:local-parent-module:[unknown-version],
/private/var/tmp/local-parent/module/pom.xml, line 2, column 10
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project
org.apache.maven.its.mng2199:local-parent-module:1.1
(/private/var/tmp/local-parent/module/pom.xml) has 1 error
[ERROR]     Version must be a constant @
org.apache.maven.its.mng2199:local-parent-module:[unknown-version],
/private/var/tmp/local-parent/module/pom.xml, line 2, column 10
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


[1]
https://git-wip-us.apache.org/repos/asf?p=maven-integration-testing.git;a=tree;f=core-it-suite/src/test/resources/mng-2199-parent-version-range;hb=HEAD

-- 
Regards,
Igor

On Sat, Nov 19, 2016, at 09:10 PM, Christian Schulte wrote:
> Am 11/20/16 um 02:56 schrieb Christian Schulte:
> > Am 11/20/16 um 00:12 schrieb Igor Fedorenko:
> >> Let me rephrase my question. What IT shows how to use parent version
> >> ranges with Maven 3.4?
> > 
> > MNG-2199
> > 
> > <https://git-wip-us.apache.org/repos/asf?p=maven-integration-testing.git;a=tree;f=core-it-suite/src/test/resources/mng-2199-parent-version-range;hb=HEAD>
> > 
> > <https://git-wip-us.apache.org/repos/asf?p=maven-integration-testing.git;a=blob;f=core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2199ParentVersionRangeTest.java;h=7d77cb720ca27c46a4676faeb6244f46264edeac;hb=HEAD>
> 
> Re-reading that, the 'testValidLocalParentVersionRange' may still be
> incorrect. Maven does not fail the build when it cannot find a parent
> and just logs a warning about it. Seems that IT needs updating as well.
> It does not detect anything, I think. Not sure, though.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 

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

Reply via email to