You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/03/02 11:12:45 UTC

[jira] [Updated] (OAK-5875) project.version in oak-example fails release-plugin

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

Davide Giannella updated OAK-5875:
----------------------------------
    Attachment: OAK-5875.diff

In [^OAK-5875.diff] I've removed the {{oak-examples}} from the reactor as having a snapshot dependency is not correct and setting a released version fails the build as {{oak-pojosr}} is not deployed to maven and it's a dependency.

Overall I think the examples should be built with a specific profile, something like we do for oak-doc and anyhow they're not deployed to maven and I don't think they should be part of the builds.

Speaking of the specific profile it could be avoided as you can easily build the examples by simply typing {{clean install}} from within {{oak-example}}.

[~chetanm] thoughts?

> project.version in oak-example fails release-plugin
> ---------------------------------------------------
>
>                 Key: OAK-5875
>                 URL: https://issues.apache.org/jira/browse/OAK-5875
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Davide Giannella
>            Assignee: Davide Giannella
>            Priority: Blocker
>             Fix For: 1.7.0, 1.8, 1.6.1
>
>         Attachments: OAK-5875.diff
>
>
> Since introducing OAK-5657 mvn release plugin fails in the prepare phase 
> {noformat}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 32.291s
> [INFO] Finished at: Thu Mar 02 10:13:39 GMT 2017
> [INFO] Final Memory: 27M/439M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project jackrabbit-oak: The artifact (org.apache.jackrabbit:oak-jcr) requires a different version (1.6.1) than what is found (${project.version}) for the expression (oak.version) in the project (org.apache.jackrabbit:oak-webapp). -> [Help 1]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)