From 2739b76390610c0f92631576a9c158451a47f1ed Mon Sep 17 00:00:00 2001 From: Omkar Hegde Date: Fri, 25 Sep 2020 15:28:34 -0700 Subject: [PATCH 1/2] Add package.properties to provide plugin version in runtime --- pom.xml | 9 +++++++++ .../com/amazonaws/cloudformation/package.properties | 1 + 2 files changed, 10 insertions(+) create mode 100644 src/main/resources/com/amazonaws/cloudformation/package.properties diff --git a/pom.xml b/pom.xml index 83a4cdf9..b6412551 100644 --- a/pom.xml +++ b/pom.xml @@ -228,6 +228,15 @@ + + + ${basedir}/src/main/resources/com/amazonaws/cloudformation + true + + package.properties + + + diff --git a/src/main/resources/com/amazonaws/cloudformation/package.properties b/src/main/resources/com/amazonaws/cloudformation/package.properties new file mode 100644 index 00000000..af248d75 --- /dev/null +++ b/src/main/resources/com/amazonaws/cloudformation/package.properties @@ -0,0 +1 @@ +package.version=${project.version} \ No newline at end of file From 382308c186936ab7dd431659fff328da8ef47d6c Mon Sep 17 00:00:00 2001 From: Omkar Hegde Date: Fri, 25 Sep 2020 15:31:01 -0700 Subject: [PATCH 2/2] Add new line --- .../resources/com/amazonaws/cloudformation/package.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/com/amazonaws/cloudformation/package.properties b/src/main/resources/com/amazonaws/cloudformation/package.properties index af248d75..05778ac4 100644 --- a/src/main/resources/com/amazonaws/cloudformation/package.properties +++ b/src/main/resources/com/amazonaws/cloudformation/package.properties @@ -1 +1 @@ -package.version=${project.version} \ No newline at end of file +package.version=${project.version}