You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Aldrin (Jira)" <ji...@apache.org> on 2021/09/23 11:09:00 UTC

[jira] [Updated] (MNG-7262) Can not use a snapshot version in parent

     [ https://issues.apache.org/jira/browse/MNG-7262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Aldrin updated MNG-7262:
-------------------------------
    Environment: Redhat 7.9, Azul   (was: Redhat 7.9)

> Can not use a snapshot version in parent 
> -----------------------------------------
>
>                 Key: MNG-7262
>                 URL: https://issues.apache.org/jira/browse/MNG-7262
>             Project: Maven
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 3.6.3, 3.8.2
>         Environment: Redhat 7.9, Azul 
>            Reporter: Martin Aldrin
>            Priority: Major
>
> Hi,
> I don't know if I write this on correct Project, please help me to move it if I wrote it on wrong project.
> My problem is that I want to test uplift our parent on 400 project to test the combability with Java 17 without releasing a new parent. It works perfect If I do a standard release, but not if I using a snapshot with time prefix
> mvn -U help:evaluate -f pom.xml -Dexpression=project.properties     
> Exit Code: 1[Pipeline] ech)Warning: A secret was passed to "echo" using Groovy String interpolation, which is insecure.
> 		 Affected argument(s) used the following variable(s): [FUNCTIONAL_CRED_USR]
> 		 See[ https://jenkins.io/redirect/groovy-string-interpolatio|https://jenkins.io/redirect/groovy-string-interpolation]n for details.
> Output: ----- withMaven Wrapper script -----
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /app/vbuild/tools/maven/3.6.3
> Java version: 17, vendor: Azul Systems, Inc., runtime: /app/openjdk/17.0.0
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.10.0-1127.el7.x86_64", arch: "amd64", family: "unix"
> [INFO] [jenkins-event-spy] Generate maven-spy-20210923-121848-99516578763949166347886.log.tmp ...
> [INFO] Scanning for projects...[ERROR] [ERROR] Some problems were encountered while processing the POMs:[FATAL] Non-resolvable parent POM for com.x.commonlibrary:test-suite-editor:0.2.115-SNAPSHOT: Could not find artifact com.x.commonlibrary:cl-parent:pom:1.5.39-20210922124845805-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 9, column 13
> ​@ 
> [INFO] [jenkins-event-spy] Generated maven-spy-20210923-121848-99516578763949166347886.log[ERROR] The build could not read 1 project -> [Help 1][ERROR]   [ERROR]   The project com.x.commonlibrary:test-suite-editor:0.2.115-SNAPSHOT /proj/cl1/pom.xml) has 1 error[ERROR]     Non-resolvable parent POM for com.x.commonlibrary:test-suite-editor:0.2.115-SNAPSHOT: Could not find artifact com.x.commonlibrary:cl-parent:pom:1.5.39-20210922124845805-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 9, column 13 -> [Help 2][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/ProjectBuildingExceptio|http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException]n[ERROR] [Help 2][ http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExceptio|http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException]n



--
This message was sent by Atlassian Jira
(v8.3.4#803005)