jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-5875) project.version in oak-example fails release-plugin
Date Thu, 02 Mar 2017 11:12:45 GMT

     [ 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] ------------------------------------------------------------------------
> [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

View raw message