Rework version artifact version tracking
authorRobert Varga <rovarga@cisco.com>
Wed, 8 Oct 2014 22:26:58 +0000 (00:26 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 14 Oct 2014 09:58:03 +0000 (11:58 +0200)
commit59b003185b07b1bb7232404779346f796b1538ed
tree07b87558a882d821dc9528cabb7f26196e4c4c78
parent31018ba9f0d9d4a07017c87fa3509c6d5e126f3d
Rework version artifact version tracking

This patch reworks the way we track our internal artifacts by moving the
definitions from the aprent pom into a dedicated yangtools-artifacts
versions.

This artifact's dependencyManagement section is then imported into the
parent. This may look unnecessary, but it allows our downstream users to
import the same file and have the versioning work.

An interesting side-effect of that is that the properties cannot be
relied on carrying versions of artifacts and then be picked up by the
features.xml file.

This patch fixes that by introducing a script into the build cycle,
which looks at a template features.xml and resolves the versions as
currently visible in the dependency tree of the artifact.

Change-Id: I193586f777478c12520358b9909cfb61e40d14b4
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
code-generator/pom.xml
model/ietf/pom.xml