From 97cb775f38abf50e08932d5c9c08cd2e99f5ce9a Mon Sep 17 00:00:00 2001 From: Guillaume Cusnieux Date: Wed, 19 Aug 2020 22:04:03 +0200 Subject: [PATCH] feat(plugin): Embed icon, documentation and addtional information for plugin Closes gravitee-io/issues#4123 --- jwt.svg | 1 + pom.xml | 20 ++++++++++++++++++++ src/assembly/policy-assembly.xml | 17 ++++++++++++++++- src/main/resources/plugin.properties | 2 ++ 4 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 jwt.svg diff --git a/jwt.svg b/jwt.svg new file mode 100644 index 00000000..ccaeaa18 --- /dev/null +++ b/jwt.svg @@ -0,0 +1 @@ +JWT \ No newline at end of file diff --git a/pom.xml b/pom.xml index bc4e6511..4f7a1557 100644 --- a/pom.xml +++ b/pom.xml @@ -143,6 +143,26 @@ + + org.codehaus.mojo + properties-maven-plugin + 1.0.0 + + + initialize + load-plugin-properties + + read-project-properties + + + + ${project.basedir}/src/main/resources/plugin.properties + + false + + + + maven-assembly-plugin ${maven-assembly-plugin.version} diff --git a/src/assembly/policy-assembly.xml b/src/assembly/policy-assembly.xml index d75e5bab..24372e90 100644 --- a/src/assembly/policy-assembly.xml +++ b/src/assembly/policy-assembly.xml @@ -38,6 +38,21 @@ schemas + + ${basedir} + + README.adoc + + docs + + + + ${basedir} + + ${icon} + + + @@ -56,4 +71,4 @@ false - \ No newline at end of file + diff --git a/src/main/resources/plugin.properties b/src/main/resources/plugin.properties index 7cd7ca45..ebb0ba78 100644 --- a/src/main/resources/plugin.properties +++ b/src/main/resources/plugin.properties @@ -4,3 +4,5 @@ version=${project.version} description=${project.description} class=io.gravitee.policy.jwt.JWTPolicy type=policy +category=security +icon=jwt.svg