From 766681abb48605f2cebfb6fe571ef2ea025287f6 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Wed, 4 Jun 2014 16:37:50 +0300 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9ac353b..a216908 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,13 @@ and in plugin respository you must have a plugin.properties file with the below For more information please see the demo sources. +Plugin assembly +------------------------------ + +After you developed a plugin the next step is to deploy it in your application. For this task, you must create a zip file with a structure described in section "How to use" from the beginning of the document. +If you use `apache maven` as build manger than your pom.xml file must looks like [this](https://github.com/decebals/pf4j/blob/master/demo/plugins/plugin1/pom.xml). This file it's very simple and it's self explanatory. +If you use `apache ant` than your buil.xml file must looks like [this](https://github.com/gitblit/gitblit-powertools-plugin/blob/master/build.xml). In this case please look at the "build" target. + Plugin lifecycle -------------------------- Each plugin passes through a pre-defined set of states. [PluginState](https://github.com/decebals/pf4j/blob/master/pf4j/src/main/java/ro/fortsoft/pf4j/PluginState.java) defines all possible states. -- 2.39.5