[
https://issues.apache.org/jira/browse/RATIS-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485736#comment-17485736
]
Attila Doroszlai commented on RATIS-1518:
-----------------------------------------
[~szetszwo] thanks for the comment.
Setting parent of root pom to snapshot version does not work, because the
snapshot repo is specified via property:
{code}
[FATAL] Non-resolvable parent POM for
org.apache.ratis:ratis-hadoop-projects:2.3.0-SNAPSHOT: Could not transfer
artifact org.apache.ratis:ratis:pom:2.3.0-6fb2e54-SNAPSHOT from/to
${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}): Cannot access
${distMgmtSnapshotsUrl} with type default using the available connector
factories: BasicRepositoryConnectorFactory and 'parent.relativePath' points at
no local POM @ line 18, column 11
{code}
It only works if I already have the snapshot version in my local Maven repo,
which I think is not OK for clean, non-developer builds.
I can set it to 2.2.0, release repo is not defined by property. We can still
use snapshot version for dependencies ({{<ratis.version>}}, or we can set it to
2.2.0 consistently.
> Update POM and scripts
> ----------------------
>
> Key: RATIS-1518
> URL: https://issues.apache.org/jira/browse/RATIS-1518
> Project: Ratis
> Issue Type: Sub-task
> Components: hadoop-projects
> Affects Versions: hadoop-projects-2.3.0
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
>
> * There are some leftover submodule references to core Ratis artifacts
> (mostly in {{ratis-assembly}}).
> * Update artifact ID, name and description in POMs to avoid collision with
> core modules (root, {{ratis-assembly}}, {{ratis-resource-bundle}}).
> * Update release artifact name in {{make_rc.sh}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)