From 9bd850bd57dc1df58f8103024df996d164c5ca0b Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Tue, 16 Oct 2012 14:33:48 +0300 Subject: [PATCH] prepare for maven central repository --- README.md | 6 +++--- demo/api/pom.xml | 4 ++-- .../{org => ro/fortsoft}/pf4j/demo/api/Greeting.java | 4 ++-- demo/app/pom.xml | 8 ++++---- .../java/{org => ro/fortsoft}/pf4j/demo/Boot.java | 11 ++++++----- demo/plugin1/plugin.properties | 2 +- demo/plugin1/pom.xml | 6 +++--- .../fortsoft}/pf4j/demo/welcome/WelcomePlugin.java | 10 +++++----- demo/plugin2/plugin.properties | 2 +- demo/plugin2/pom.xml | 6 +++--- .../fortsoft}/pf4j/demo/hello/HelloPlugin.java | 10 +++++----- demo/pom.xml | 4 ++-- pf4j/pom.xml | 2 +- .../fortsoft}/pf4j/DefaultExtensionFinder.java | 2 +- .../fortsoft}/pf4j/DefaultPluginDescriptorFinder.java | 2 +- .../fortsoft}/pf4j/DefaultPluginManager.java | 11 ++++++----- .../{org => ro/fortsoft}/pf4j/DependencyResolver.java | 5 +++-- .../java/{org => ro/fortsoft}/pf4j/Extension.java | 2 +- .../{org => ro/fortsoft}/pf4j/ExtensionFinder.java | 2 +- .../{org => ro/fortsoft}/pf4j/ExtensionPoint.java | 2 +- .../{org => ro/fortsoft}/pf4j/ExtensionWrapper.java | 2 +- .../main/java/{org => ro/fortsoft}/pf4j/Plugin.java | 2 +- .../{org => ro/fortsoft}/pf4j/PluginClassLoader.java | 4 ++-- .../{org => ro/fortsoft}/pf4j/PluginDescriptor.java | 2 +- .../fortsoft}/pf4j/PluginDescriptorFinder.java | 2 +- .../{org => ro/fortsoft}/pf4j/PluginException.java | 2 +- .../java/{org => ro/fortsoft}/pf4j/PluginLoader.java | 7 ++++--- .../java/{org => ro/fortsoft}/pf4j/PluginManager.java | 2 +- .../java/{org => ro/fortsoft}/pf4j/PluginVersion.java | 2 +- .../java/{org => ro/fortsoft}/pf4j/PluginWrapper.java | 2 +- .../{org => ro/fortsoft}/pf4j/util/DirectedGraph.java | 2 +- .../fortsoft}/pf4j/util/DirectoryFilter.java | 2 +- .../fortsoft}/pf4j/util/ExtensionFilter.java | 2 +- .../{org => ro/fortsoft}/pf4j/util/JarFilter.java | 2 +- .../fortsoft}/pf4j/util/UberClassLoader.java | 2 +- .../java/{org => ro/fortsoft}/pf4j/util/Unzip.java | 2 +- .../{org => ro/fortsoft}/pf4j/util/ZipFilter.java | 2 +- pom.xml | 2 +- 38 files changed, 74 insertions(+), 70 deletions(-) rename demo/api/src/main/java/{org => ro/fortsoft}/pf4j/demo/api/Greeting.java (90%) rename demo/app/src/main/java/{org => ro/fortsoft}/pf4j/demo/Boot.java (89%) rename demo/plugin1/src/main/java/{org => ro/fortsoft}/pf4j/demo/welcome/WelcomePlugin.java (85%) rename demo/plugin2/src/main/java/{org => ro/fortsoft}/pf4j/demo/hello/HelloPlugin.java (85%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/DefaultExtensionFinder.java (99%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/DefaultPluginDescriptorFinder.java (99%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/DefaultPluginManager.java (98%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/DependencyResolver.java (96%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/Extension.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/ExtensionFinder.java (96%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/ExtensionPoint.java (96%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/ExtensionWrapper.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/Plugin.java (98%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginClassLoader.java (96%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginDescriptor.java (99%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginDescriptorFinder.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginException.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginLoader.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginManager.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginVersion.java (99%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/PluginWrapper.java (98%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/util/DirectedGraph.java (96%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/util/DirectoryFilter.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/util/ExtensionFilter.java (97%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/util/JarFilter.java (96%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/util/UberClassLoader.java (98%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/util/Unzip.java (99%) rename pf4j/src/main/java/{org => ro/fortsoft}/pf4j/util/ZipFilter.java (96%) diff --git a/README.md b/README.md index ff1870b..ae3a212 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ In your pom.xml you must define the dependencies to PF4J artifacts with: ```xml - org.pf4j + ro.fortsoft.pf4j pf4j ${pf4j.version} @@ -77,13 +77,13 @@ In this case the `classes/META-INF/MANIFEST.MF` looks like: Created-By: Apache Maven Built-By: decebal Build-Jdk: 1.6.0_17 - Plugin-Class: org.pf4j.demo.welcome.WelcomePlugin + Plugin-Class: ro.fortsoft.pf4j.demo.welcome.WelcomePlugin Plugin-Dependencies: x, y, z Plugin-Id: welcome-plugin Plugin-Provider: Decebal Suiu Plugin-Version: 0.0.1 -In above manifest I described a plugin with id `welcome-plugin`, with class `org.pf4j.demo.welcome.WelcomePlugin`, with version `0.0.1` and with dependencies +In above manifest I described a plugin with id `welcome-plugin`, with class `ro.fortsoft.pf4j.demo.welcome.WelcomePlugin`, with version `0.0.1` and with dependencies to plugins `x, y, z`. You can define an extension point in your application using **ExtensionPoint** interface marker. diff --git a/demo/api/pom.xml b/demo/api/pom.xml index 1514476..59c02ff 100644 --- a/demo/api/pom.xml +++ b/demo/api/pom.xml @@ -2,7 +2,7 @@ - org.pf4j.demo + ro.fortsoft.pf4j.demo pom 0.1-SNAPSHOT @@ -34,7 +34,7 @@ - org.pf4j + ro.fortsoft.pf4j pf4j ${project.version} provided diff --git a/demo/api/src/main/java/org/pf4j/demo/api/Greeting.java b/demo/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java similarity index 90% rename from demo/api/src/main/java/org/pf4j/demo/api/Greeting.java rename to demo/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java index b21f80c..9a700c2 100644 --- a/demo/api/src/main/java/org/pf4j/demo/api/Greeting.java +++ b/demo/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java @@ -10,9 +10,9 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.demo.api; +package ro.fortsoft.pf4j.demo.api; -import org.pf4j.ExtensionPoint; +import ro.fortsoft.pf4j.ExtensionPoint; /** * @author Decebal Suiu diff --git a/demo/app/pom.xml b/demo/app/pom.xml index d9084b1..38867a9 100644 --- a/demo/app/pom.xml +++ b/demo/app/pom.xml @@ -2,7 +2,7 @@ - org.pf4j.demo + ro.fortsoft.pf4j.demo pom 0.1-SNAPSHOT @@ -22,7 +22,7 @@ - org.pf4j.demo.Boot + ro.fortsoft.pf4j.demo.Boot @@ -75,12 +75,12 @@ - org.pf4j + ro.fortsoft.pf4j pf4j ${project.version} - org.pf4j.demo + ro.fortsoft.pf4j.demo pf4j-demo-api ${project.version} diff --git a/demo/app/src/main/java/org/pf4j/demo/Boot.java b/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java similarity index 89% rename from demo/app/src/main/java/org/pf4j/demo/Boot.java rename to demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java index b34af53..9a361fa 100644 --- a/demo/app/src/main/java/org/pf4j/demo/Boot.java +++ b/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java @@ -10,15 +10,16 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.demo; +package ro.fortsoft.pf4j.demo; import java.util.List; import org.apache.commons.lang.StringUtils; -import org.pf4j.DefaultPluginManager; -import org.pf4j.ExtensionWrapper; -import org.pf4j.PluginManager; -import org.pf4j.demo.api.Greeting; + +import ro.fortsoft.pf4j.DefaultPluginManager; +import ro.fortsoft.pf4j.ExtensionWrapper; +import ro.fortsoft.pf4j.PluginManager; +import ro.fortsoft.pf4j.demo.api.Greeting; /** * A boot class that start the demo. diff --git a/demo/plugin1/plugin.properties b/demo/plugin1/plugin.properties index 9da9bcc..4f95d99 100644 --- a/demo/plugin1/plugin.properties +++ b/demo/plugin1/plugin.properties @@ -1,5 +1,5 @@ plugin.id=welcome-plugin -plugin.class=org.pf4j.demo.welcome.WelcomePlugin +plugin.class=ro.fortsoft.pf4j.demo.welcome.WelcomePlugin plugin.version=0.0.1 plugin.provider=Decebal Suiu plugin.dependencies= diff --git a/demo/plugin1/pom.xml b/demo/plugin1/pom.xml index 10c1163..99d467e 100644 --- a/demo/plugin1/pom.xml +++ b/demo/plugin1/pom.xml @@ -2,7 +2,7 @@ - org.pf4j.demo + ro.fortsoft.pf4j.demo pom 0.1-SNAPSHOT @@ -111,13 +111,13 @@ - org.pf4j + ro.fortsoft.pf4j pf4j ${project.version} provided - org.pf4j.demo + ro.fortsoft.pf4j.demo pf4j-demo-api ${project.version} provided diff --git a/demo/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java b/demo/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java similarity index 85% rename from demo/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java rename to demo/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java index 22ebf7d..d10d3dd 100644 --- a/demo/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java +++ b/demo/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java @@ -10,12 +10,12 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.demo.welcome; +package ro.fortsoft.pf4j.demo.welcome; -import org.pf4j.Extension; -import org.pf4j.Plugin; -import org.pf4j.PluginWrapper; -import org.pf4j.demo.api.Greeting; +import ro.fortsoft.pf4j.Extension; +import ro.fortsoft.pf4j.Plugin; +import ro.fortsoft.pf4j.PluginWrapper; +import ro.fortsoft.pf4j.demo.api.Greeting; /** * @author Decebal Suiu diff --git a/demo/plugin2/plugin.properties b/demo/plugin2/plugin.properties index 60b6f33..0de45e6 100644 --- a/demo/plugin2/plugin.properties +++ b/demo/plugin2/plugin.properties @@ -1,5 +1,5 @@ plugin.id=hello-plugin -plugin.class=org.pf4j.demo.hello.HelloPlugin +plugin.class=ro.fortsoft.pf4j.demo.hello.HelloPlugin plugin.version=0.0.1 plugin.provider=Decebal Suiu plugin.dependencies= diff --git a/demo/plugin2/pom.xml b/demo/plugin2/pom.xml index 7f4f617..c1b5cb3 100644 --- a/demo/plugin2/pom.xml +++ b/demo/plugin2/pom.xml @@ -2,7 +2,7 @@ - org.pf4j.demo + ro.fortsoft.pf4j.demo pom 0.1-SNAPSHOT @@ -120,13 +120,13 @@ - org.pf4j + ro.fortsoft.pf4j pf4j ${project.version} provided - org.pf4j.demo + ro.fortsoft.pf4j.demo pf4j-demo-api ${project.version} provided diff --git a/demo/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java b/demo/plugin2/src/main/java/ro/fortsoft/pf4j/demo/hello/HelloPlugin.java similarity index 85% rename from demo/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java rename to demo/plugin2/src/main/java/ro/fortsoft/pf4j/demo/hello/HelloPlugin.java index ad7fd0c..8f12e23 100644 --- a/demo/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java +++ b/demo/plugin2/src/main/java/ro/fortsoft/pf4j/demo/hello/HelloPlugin.java @@ -10,12 +10,12 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.demo.hello; +package ro.fortsoft.pf4j.demo.hello; -import org.pf4j.Extension; -import org.pf4j.Plugin; -import org.pf4j.PluginWrapper; -import org.pf4j.demo.api.Greeting; +import ro.fortsoft.pf4j.Extension; +import ro.fortsoft.pf4j.Plugin; +import ro.fortsoft.pf4j.PluginWrapper; +import ro.fortsoft.pf4j.demo.api.Greeting; /** * A very simple plugin. diff --git a/demo/pom.xml b/demo/pom.xml index dbb029a..ec642de 100644 --- a/demo/pom.xml +++ b/demo/pom.xml @@ -2,13 +2,13 @@ - org.pf4j + ro.fortsoft.pf4j pom 0.1-SNAPSHOT 4.0.0 - org.pf4j.demo + ro.fortsoft.pf4j.demo pom 0.1-SNAPSHOT pom diff --git a/pf4j/pom.xml b/pf4j/pom.xml index 920a870..feae21a 100644 --- a/pf4j/pom.xml +++ b/pf4j/pom.xml @@ -2,7 +2,7 @@ - org.pf4j + ro.fortsoft.pf4j pom 0.1-SNAPSHOT diff --git a/pf4j/src/main/java/org/pf4j/DefaultExtensionFinder.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultExtensionFinder.java similarity index 99% rename from pf4j/src/main/java/org/pf4j/DefaultExtensionFinder.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/DefaultExtensionFinder.java index e7a6dc9..66c896c 100644 --- a/pf4j/src/main/java/org/pf4j/DefaultExtensionFinder.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultExtensionFinder.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.lang.reflect.AnnotatedElement; import java.util.ArrayList; diff --git a/pf4j/src/main/java/org/pf4j/DefaultPluginDescriptorFinder.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginDescriptorFinder.java similarity index 99% rename from pf4j/src/main/java/org/pf4j/DefaultPluginDescriptorFinder.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginDescriptorFinder.java index 0055e57..fa86e2e 100644 --- a/pf4j/src/main/java/org/pf4j/DefaultPluginDescriptorFinder.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginDescriptorFinder.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.io.File; import java.io.FileInputStream; diff --git a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java similarity index 98% rename from pf4j/src/main/java/org/pf4j/DefaultPluginManager.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java index 9cb7ccd..ea56e67 100644 --- a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.io.File; import java.io.FilenameFilter; @@ -22,13 +22,14 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.pf4j.util.DirectoryFilter; -import org.pf4j.util.UberClassLoader; -import org.pf4j.util.Unzip; -import org.pf4j.util.ZipFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import ro.fortsoft.pf4j.util.DirectoryFilter; +import ro.fortsoft.pf4j.util.UberClassLoader; +import ro.fortsoft.pf4j.util.Unzip; +import ro.fortsoft.pf4j.util.ZipFilter; + /** * Default implementation of the PluginManager interface. diff --git a/pf4j/src/main/java/org/pf4j/DependencyResolver.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java similarity index 96% rename from pf4j/src/main/java/org/pf4j/DependencyResolver.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java index 2f5f601..7485b22 100644 --- a/pf4j/src/main/java/org/pf4j/DependencyResolver.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java @@ -10,15 +10,16 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.util.ArrayList; import java.util.List; -import org.pf4j.util.DirectedGraph; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import ro.fortsoft.pf4j.util.DirectedGraph; + /** * @author Decebal Suiu diff --git a/pf4j/src/main/java/org/pf4j/Extension.java b/pf4j/src/main/java/ro/fortsoft/pf4j/Extension.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/Extension.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/Extension.java index 6c499b6..f1b7cac 100644 --- a/pf4j/src/main/java/org/pf4j/Extension.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/Extension.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/pf4j/src/main/java/org/pf4j/ExtensionFinder.java b/pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionFinder.java similarity index 96% rename from pf4j/src/main/java/org/pf4j/ExtensionFinder.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionFinder.java index 5fc466d..2eeca18 100644 --- a/pf4j/src/main/java/org/pf4j/ExtensionFinder.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionFinder.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.util.List; diff --git a/pf4j/src/main/java/org/pf4j/ExtensionPoint.java b/pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionPoint.java similarity index 96% rename from pf4j/src/main/java/org/pf4j/ExtensionPoint.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionPoint.java index 9113c1d..8d94847 100644 --- a/pf4j/src/main/java/org/pf4j/ExtensionPoint.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionPoint.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; /** * @author Decebal Suiu diff --git a/pf4j/src/main/java/org/pf4j/ExtensionWrapper.java b/pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionWrapper.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/ExtensionWrapper.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionWrapper.java index 9ba320e..2f147c0 100644 --- a/pf4j/src/main/java/org/pf4j/ExtensionWrapper.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/ExtensionWrapper.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; /** * @author Decebal Suiu diff --git a/pf4j/src/main/java/org/pf4j/Plugin.java b/pf4j/src/main/java/ro/fortsoft/pf4j/Plugin.java similarity index 98% rename from pf4j/src/main/java/org/pf4j/Plugin.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/Plugin.java index bab55c1..22498d7 100644 --- a/pf4j/src/main/java/org/pf4j/Plugin.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/Plugin.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/pf4j/src/main/java/org/pf4j/PluginClassLoader.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginClassLoader.java similarity index 96% rename from pf4j/src/main/java/org/pf4j/PluginClassLoader.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginClassLoader.java index 884642f..1d80c92 100644 --- a/pf4j/src/main/java/org/pf4j/PluginClassLoader.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginClassLoader.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.net.URL; import java.net.URLClassLoader; @@ -25,7 +25,7 @@ class PluginClassLoader extends URLClassLoader { private static final String JAVA_PACKAGE_PREFIX = "java."; private static final String JAVAX_PACKAGE_PREFIX = "javax."; - private static final String PLUGIN_PACKAGE_PREFIX = "org.pf4j."; + private static final String PLUGIN_PACKAGE_PREFIX = "ro.fortsoft.pf4j."; private PluginManager pluginManager; private PluginWrapper pluginWrapper; diff --git a/pf4j/src/main/java/org/pf4j/PluginDescriptor.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginDescriptor.java similarity index 99% rename from pf4j/src/main/java/org/pf4j/PluginDescriptor.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginDescriptor.java index 8346e48..494877e 100644 --- a/pf4j/src/main/java/org/pf4j/PluginDescriptor.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginDescriptor.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.util.ArrayList; import java.util.Arrays; diff --git a/pf4j/src/main/java/org/pf4j/PluginDescriptorFinder.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginDescriptorFinder.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/PluginDescriptorFinder.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginDescriptorFinder.java index c59ec65..44b0846 100644 --- a/pf4j/src/main/java/org/pf4j/PluginDescriptorFinder.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginDescriptorFinder.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.io.File; diff --git a/pf4j/src/main/java/org/pf4j/PluginException.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginException.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/PluginException.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginException.java index c341c70..600e28f 100644 --- a/pf4j/src/main/java/org/pf4j/PluginException.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginException.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; /** * An exception used to indicate that a plugin problem occurred. diff --git a/pf4j/src/main/java/org/pf4j/PluginLoader.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginLoader.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/PluginLoader.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginLoader.java index bd64d59..8ae65e7 100644 --- a/pf4j/src/main/java/org/pf4j/PluginLoader.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginLoader.java @@ -10,18 +10,19 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.io.File; import java.io.FilenameFilter; import java.net.MalformedURLException; import java.util.Vector; -import org.pf4j.util.DirectoryFilter; -import org.pf4j.util.JarFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import ro.fortsoft.pf4j.util.DirectoryFilter; +import ro.fortsoft.pf4j.util.JarFilter; + /** * Load all informations needed by a plugin. diff --git a/pf4j/src/main/java/org/pf4j/PluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/PluginManager.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java index cf0cff1..e191e22 100644 --- a/pf4j/src/main/java/org/pf4j/PluginManager.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.util.List; diff --git a/pf4j/src/main/java/org/pf4j/PluginVersion.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginVersion.java similarity index 99% rename from pf4j/src/main/java/org/pf4j/PluginVersion.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginVersion.java index 66267c9..9fcab40 100644 --- a/pf4j/src/main/java/org/pf4j/PluginVersion.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginVersion.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; import java.util.ArrayList; import java.util.List; diff --git a/pf4j/src/main/java/org/pf4j/PluginWrapper.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java similarity index 98% rename from pf4j/src/main/java/org/pf4j/PluginWrapper.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java index 46a0da1..6d935e0 100644 --- a/pf4j/src/main/java/org/pf4j/PluginWrapper.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j; +package ro.fortsoft.pf4j; /** * A wrapper over plugin instance. diff --git a/pf4j/src/main/java/org/pf4j/util/DirectedGraph.java b/pf4j/src/main/java/ro/fortsoft/pf4j/util/DirectedGraph.java similarity index 96% rename from pf4j/src/main/java/org/pf4j/util/DirectedGraph.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/util/DirectedGraph.java index a5fa829..5c1f446 100644 --- a/pf4j/src/main/java/org/pf4j/util/DirectedGraph.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/util/DirectedGraph.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.util; +package ro.fortsoft.pf4j.util; import java.util.ArrayList; import java.util.Collections; diff --git a/pf4j/src/main/java/org/pf4j/util/DirectoryFilter.java b/pf4j/src/main/java/ro/fortsoft/pf4j/util/DirectoryFilter.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/util/DirectoryFilter.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/util/DirectoryFilter.java index c6a236b..54e1a95 100644 --- a/pf4j/src/main/java/org/pf4j/util/DirectoryFilter.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/util/DirectoryFilter.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.util; +package ro.fortsoft.pf4j.util; import java.io.File; import java.io.FileFilter; diff --git a/pf4j/src/main/java/org/pf4j/util/ExtensionFilter.java b/pf4j/src/main/java/ro/fortsoft/pf4j/util/ExtensionFilter.java similarity index 97% rename from pf4j/src/main/java/org/pf4j/util/ExtensionFilter.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/util/ExtensionFilter.java index 1252a4e..22b999f 100644 --- a/pf4j/src/main/java/org/pf4j/util/ExtensionFilter.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/util/ExtensionFilter.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.util; +package ro.fortsoft.pf4j.util; import java.io.File; import java.io.FilenameFilter; diff --git a/pf4j/src/main/java/org/pf4j/util/JarFilter.java b/pf4j/src/main/java/ro/fortsoft/pf4j/util/JarFilter.java similarity index 96% rename from pf4j/src/main/java/org/pf4j/util/JarFilter.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/util/JarFilter.java index 09c322c..60c8859 100644 --- a/pf4j/src/main/java/org/pf4j/util/JarFilter.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/util/JarFilter.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.util; +package ro.fortsoft.pf4j.util; /** * File filter that accepts all files ending with .JAR. diff --git a/pf4j/src/main/java/org/pf4j/util/UberClassLoader.java b/pf4j/src/main/java/ro/fortsoft/pf4j/util/UberClassLoader.java similarity index 98% rename from pf4j/src/main/java/org/pf4j/util/UberClassLoader.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/util/UberClassLoader.java index 4ecfe2c..013c2a1 100644 --- a/pf4j/src/main/java/org/pf4j/util/UberClassLoader.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/util/UberClassLoader.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.util; +package ro.fortsoft.pf4j.util; import java.io.IOException; import java.net.URL; diff --git a/pf4j/src/main/java/org/pf4j/util/Unzip.java b/pf4j/src/main/java/ro/fortsoft/pf4j/util/Unzip.java similarity index 99% rename from pf4j/src/main/java/org/pf4j/util/Unzip.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/util/Unzip.java index d5e6a04..4a2c9a3 100644 --- a/pf4j/src/main/java/org/pf4j/util/Unzip.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/util/Unzip.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.util; +package ro.fortsoft.pf4j.util; import java.io.File; import java.io.FileInputStream; diff --git a/pf4j/src/main/java/org/pf4j/util/ZipFilter.java b/pf4j/src/main/java/ro/fortsoft/pf4j/util/ZipFilter.java similarity index 96% rename from pf4j/src/main/java/org/pf4j/util/ZipFilter.java rename to pf4j/src/main/java/ro/fortsoft/pf4j/util/ZipFilter.java index 4884e90..4b10de3 100644 --- a/pf4j/src/main/java/org/pf4j/util/ZipFilter.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/util/ZipFilter.java @@ -10,7 +10,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package org.pf4j.util; +package ro.fortsoft.pf4j.util; /** * File filter that accepts all files ending with .ZIP. diff --git a/pom.xml b/pom.xml index a8d45f9..aa9c67d 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.pf4j + ro.fortsoft.pf4j pom 0.1-SNAPSHOT pom -- 2.39.5