You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by tb...@apache.org on 2019/12/12 14:50:04 UTC

[brooklyn-docs] branch website updated: Add sample pom.xml for dependency generation

This is an automated email from the ASF dual-hosted git repository.

tbouron pushed a commit to branch website
in repository https://gitbox.apache.org/repos/asf/brooklyn-docs.git


The following commit(s) were added to refs/heads/website by this push:
     new 22146e7  Add sample pom.xml for dependency generation
     new ab65fe0  Merge pull request #297 from nakomis/patch-1
22146e7 is described below

commit 22146e7ad1727d22bb043493a90d59215de7fad7
Author: Martin Harris <gi...@nakomis.com>
AuthorDate: Fri Dec 6 16:20:29 2019 +0000

    Add sample pom.xml for dependency generation
---
 .../committers/release-process/prepare-for-release.md   | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/developers/committers/release-process/prepare-for-release.md b/developers/committers/release-process/prepare-for-release.md
index 36bbf98..6506790 100644
--- a/developers/committers/release-process/prepare-for-release.md
+++ b/developers/committers/release-process/prepare-for-release.md
@@ -7,6 +7,21 @@ navgroup: developers
 1. Make sure all unit and integration tests are passing.
 2. Follow the [classic](https://github.com/apache/brooklyn-dist/blob/master/dist/licensing/README.md#update-license-information)
    and [karaf](https://github.com/apache/brooklyn-dist/pull/63) instructions to
-   update the licenses of source and binary dependencies. 
+   update the licenses of source and binary dependencies.
+   For step 5 of the the karaf version (create a temporary pom.xml), the following template can be used:
+   ```
+   <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>foo</groupId>
+    <artifactId>bar</artifactId>
+    <version>baz</version>
+    <packaging>pom</packaging>
+
+    <dependencies>
+        <!-- paste dependencies generated in step 4 -->
+    </dependencies>
+   </project>
+   ```
 3. Update the [release notes](https://github.com/apache/brooklyn-docs/blob/master/guide/misc/release-notes.md). To help
    in the process [list merged PRs](https://gist.github.com/sjcorbett/72ed944b06ce3a138fbe516e8d36f624) after a ceratin date.