aboutsummaryrefslogtreecommitdiffstats
path: root/demo
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2017-09-20 16:55:30 +0200
committerGitHub <noreply@github.com>2017-09-20 16:55:30 +0200
commit5916ee64d9c05a4f085f6f6562ed383ff3203e4a (patch)
tree0255541afe778984d2becf450ecbb90d97e595d7 /demo
parentb8cd3af90f8149e5003ea1db395d67b0fa8f7066 (diff)
downloadpf4j-5916ee64d9c05a4f085f6f6562ed383ff3203e4a.tar.gz
pf4j-5916ee64d9c05a4f085f6f6562ed383ff3203e4a.zip
Change root package from ro.fortsoft.pf4j to org.pf4j (#168)
Diffstat (limited to 'demo')
-rw-r--r--demo/api/pom.xml4
-rw-r--r--demo/api/src/main/java/org/pf4j/demo/api/Greeting.java (renamed from demo/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java)4
-rw-r--r--demo/app/pom.xml8
-rw-r--r--demo/app/src/main/java/org/pf4j/demo/Boot.java (renamed from demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java)12
-rw-r--r--demo/app/src/main/java/org/pf4j/demo/HowdyGreeting.java (renamed from demo/app/src/main/java/ro/fortsoft/pf4j/demo/HowdyGreeting.java)4
-rw-r--r--demo/app/src/main/java/org/pf4j/demo/WhazzupGreeting.java (renamed from demo/app/src/main/java/ro/fortsoft/pf4j/demo/WhazzupGreeting.java)6
-rw-r--r--demo/app/src/main/resources/META-INF/services/org.pf4j.demo.api.Greeting1
-rw-r--r--demo/app/src/main/resources/META-INF/services/ro.fortsoft.pf4j.demo.api.Greeting1
-rw-r--r--demo/app/src/main/resources/log4j.properties12
-rw-r--r--demo/plugins/plugin1/plugin.properties2
-rw-r--r--demo/plugins/plugin1/pom.xml4
-rw-r--r--demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java (renamed from demo/plugins/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java)12
-rw-r--r--demo/plugins/plugin2/plugin.properties2
-rw-r--r--demo/plugins/plugin2/pom.xml4
-rw-r--r--demo/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java (renamed from demo/plugins/plugin2/src/main/java/ro/fortsoft/pf4j/demo/hello/HelloPlugin.java)10
-rw-r--r--demo/plugins/pom.xml6
-rw-r--r--demo/pom.xml4
17 files changed, 48 insertions, 48 deletions
diff --git a/demo/api/pom.xml b/demo/api/pom.xml
index a031848..11f4cad 100644
--- a/demo/api/pom.xml
+++ b/demo/api/pom.xml
@@ -2,7 +2,7 @@
<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">
<parent>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>
@@ -26,7 +26,7 @@
<dependencies>
<dependency>
- <groupId>ro.fortsoft.pf4j</groupId>
+ <groupId>org.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${project.version}</version>
<!-- !!! VERY IMPORTANT -->
diff --git a/demo/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java b/demo/api/src/main/java/org/pf4j/demo/api/Greeting.java
index bdf2fd4..1e4a767 100644
--- a/demo/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java
+++ b/demo/api/src/main/java/org/pf4j/demo/api/Greeting.java
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package ro.fortsoft.pf4j.demo.api;
+package org.pf4j.demo.api;
-import ro.fortsoft.pf4j.ExtensionPoint;
+import org.pf4j.ExtensionPoint;
/**
* @author Decebal Suiu
diff --git a/demo/app/pom.xml b/demo/app/pom.xml
index b24e568..27b2afc 100644
--- a/demo/app/pom.xml
+++ b/demo/app/pom.xml
@@ -2,7 +2,7 @@
<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">
<parent>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>
@@ -14,7 +14,7 @@
<name>Demo App</name>
<properties>
- <main.class>ro.fortsoft.pf4j.demo.Boot</main.class>
+ <main.class>org.pf4j.demo.Boot</main.class>
<slf4j.version>1.7.5</slf4j.version>
</properties>
@@ -68,13 +68,13 @@
<dependencies>
<dependency>
- <groupId>ro.fortsoft.pf4j</groupId>
+ <groupId>org.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-api</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java b/demo/app/src/main/java/org/pf4j/demo/Boot.java
index c9738eb..76145a4 100644
--- a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java
+++ b/demo/app/src/main/java/org/pf4j/demo/Boot.java
@@ -13,18 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package ro.fortsoft.pf4j.demo;
+package org.pf4j.demo;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
-import ro.fortsoft.pf4j.DefaultPluginManager;
-import ro.fortsoft.pf4j.JarPluginManager;
-import ro.fortsoft.pf4j.PluginManager;
-import ro.fortsoft.pf4j.PluginWrapper;
-import ro.fortsoft.pf4j.demo.api.Greeting;
+import org.pf4j.PluginManager;
+import org.pf4j.PluginWrapper;
+import org.pf4j.demo.api.Greeting;
+import org.pf4j.DefaultPluginManager;
+import org.pf4j.JarPluginManager;
/**
* A boot class that start the demo.
diff --git a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/HowdyGreeting.java b/demo/app/src/main/java/org/pf4j/demo/HowdyGreeting.java
index 3d7d24b..51888b8 100644
--- a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/HowdyGreeting.java
+++ b/demo/app/src/main/java/org/pf4j/demo/HowdyGreeting.java
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package ro.fortsoft.pf4j.demo;
+package org.pf4j.demo;
-import ro.fortsoft.pf4j.demo.api.Greeting;
+import org.pf4j.demo.api.Greeting;
/**
* A Service Implementation (no @Extension) declared via Java Service Provider mechanism (using META-INF/services).
diff --git a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/WhazzupGreeting.java b/demo/app/src/main/java/org/pf4j/demo/WhazzupGreeting.java
index e182f2a..c742127 100644
--- a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/WhazzupGreeting.java
+++ b/demo/app/src/main/java/org/pf4j/demo/WhazzupGreeting.java
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package ro.fortsoft.pf4j.demo;
+package org.pf4j.demo;
-import ro.fortsoft.pf4j.Extension;
-import ro.fortsoft.pf4j.demo.api.Greeting;
+import org.pf4j.Extension;
+import org.pf4j.demo.api.Greeting;
/**
* @author Decebal Suiu
diff --git a/demo/app/src/main/resources/META-INF/services/org.pf4j.demo.api.Greeting b/demo/app/src/main/resources/META-INF/services/org.pf4j.demo.api.Greeting
new file mode 100644
index 0000000..615a943
--- /dev/null
+++ b/demo/app/src/main/resources/META-INF/services/org.pf4j.demo.api.Greeting
@@ -0,0 +1 @@
+org.pf4j.demo.HowdyGreeting
diff --git a/demo/app/src/main/resources/META-INF/services/ro.fortsoft.pf4j.demo.api.Greeting b/demo/app/src/main/resources/META-INF/services/ro.fortsoft.pf4j.demo.api.Greeting
deleted file mode 100644
index 4f8f4ad..0000000
--- a/demo/app/src/main/resources/META-INF/services/ro.fortsoft.pf4j.demo.api.Greeting
+++ /dev/null
@@ -1 +0,0 @@
-ro.fortsoft.pf4j.demo.HowdyGreeting
diff --git a/demo/app/src/main/resources/log4j.properties b/demo/app/src/main/resources/log4j.properties
index 692e39b..a05d9eb 100644
--- a/demo/app/src/main/resources/log4j.properties
+++ b/demo/app/src/main/resources/log4j.properties
@@ -3,13 +3,13 @@ log4j.rootLogger=DEBUG, Console
#
# PF4J log
#
-log4j.logger.ro.fortsoft.pf4j=DEBUG, Console
+log4j.logger.org.pf4j=DEBUG, Console
# !!! Put the bellow classes on level TRACE when you are in trouble
-log4j.logger.ro.fortsoft.pf4j.PluginClassLoader=DEBUG, Console
-log4j.logger.ro.fortsoft.pf4j.AbstractExtensionFinder=DEBUG, Console
-log4j.additivity.ro.fortsoft.pf4j=false
-log4j.additivity.ro.fortsoft.pf4j.PluginClassLoader=false
-log4j.additivity.ro.fortsoft.pf4j.AbstractExtensionFinder=false
+log4j.logger.org.pf4j.PluginClassLoader=DEBUG, Console
+log4j.logger.org.pf4j.AbstractExtensionFinder=DEBUG, Console
+log4j.additivity.org.pf4j=false
+log4j.additivity.org.pf4j.PluginClassLoader=false
+log4j.additivity.org.pf4j.AbstractExtensionFinder=false
#
# Appenders
diff --git a/demo/plugins/plugin1/plugin.properties b/demo/plugins/plugin1/plugin.properties
index 4f95d99..9da9bcc 100644
--- a/demo/plugins/plugin1/plugin.properties
+++ b/demo/plugins/plugin1/plugin.properties
@@ -1,5 +1,5 @@
plugin.id=welcome-plugin
-plugin.class=ro.fortsoft.pf4j.demo.welcome.WelcomePlugin
+plugin.class=org.pf4j.demo.welcome.WelcomePlugin
plugin.version=0.0.1
plugin.provider=Decebal Suiu
plugin.dependencies=
diff --git a/demo/plugins/plugin1/pom.xml b/demo/plugins/plugin1/pom.xml
index bf597d1..970788e 100644
--- a/demo/plugins/plugin1/pom.xml
+++ b/demo/plugins/plugin1/pom.xml
@@ -2,7 +2,7 @@
<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">
<parent>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-plugins</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>
@@ -15,7 +15,7 @@
<properties>
<plugin.id>welcome-plugin</plugin.id>
- <plugin.class>ro.fortsoft.pf4j.demo.welcome.WelcomePlugin</plugin.class>
+ <plugin.class>org.pf4j.demo.welcome.WelcomePlugin</plugin.class>
<plugin.version>0.0.1</plugin.version>
<plugin.provider>Decebal Suiu</plugin.provider>
<plugin.dependencies />
diff --git a/demo/plugins/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java b/demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
index a944a6a..7ea2740 100644
--- a/demo/plugins/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java
+++ b/demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
@@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package ro.fortsoft.pf4j.demo.welcome;
+package org.pf4j.demo.welcome;
import org.apache.commons.lang.StringUtils;
-import ro.fortsoft.pf4j.Extension;
-import ro.fortsoft.pf4j.Plugin;
-import ro.fortsoft.pf4j.PluginWrapper;
-import ro.fortsoft.pf4j.RuntimeMode;
-import ro.fortsoft.pf4j.demo.api.Greeting;
+import org.pf4j.PluginWrapper;
+import org.pf4j.RuntimeMode;
+import org.pf4j.demo.api.Greeting;
+import org.pf4j.Extension;
+import org.pf4j.Plugin;
/**
* @author Decebal Suiu
diff --git a/demo/plugins/plugin2/plugin.properties b/demo/plugins/plugin2/plugin.properties
index 0de45e6..60b6f33 100644
--- a/demo/plugins/plugin2/plugin.properties
+++ b/demo/plugins/plugin2/plugin.properties
@@ -1,5 +1,5 @@
plugin.id=hello-plugin
-plugin.class=ro.fortsoft.pf4j.demo.hello.HelloPlugin
+plugin.class=org.pf4j.demo.hello.HelloPlugin
plugin.version=0.0.1
plugin.provider=Decebal Suiu
plugin.dependencies=
diff --git a/demo/plugins/plugin2/pom.xml b/demo/plugins/plugin2/pom.xml
index 278949c..91d2dc7 100644
--- a/demo/plugins/plugin2/pom.xml
+++ b/demo/plugins/plugin2/pom.xml
@@ -2,7 +2,7 @@
<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">
<parent>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-plugins</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>
@@ -15,7 +15,7 @@
<properties>
<plugin.id>hello-plugin</plugin.id>
- <plugin.class>ro.fortsoft.pf4j.demo.hello.HelloPlugin</plugin.class>
+ <plugin.class>org.pf4j.demo.hello.HelloPlugin</plugin.class>
<plugin.version>0.0.1</plugin.version>
<plugin.provider>Decebal Suiu</plugin.provider>
<plugin.dependencies />
diff --git a/demo/plugins/plugin2/src/main/java/ro/fortsoft/pf4j/demo/hello/HelloPlugin.java b/demo/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java
index b5e5392..c6f1e52 100644
--- a/demo/plugins/plugin2/src/main/java/ro/fortsoft/pf4j/demo/hello/HelloPlugin.java
+++ b/demo/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package ro.fortsoft.pf4j.demo.hello;
+package org.pf4j.demo.hello;
-import ro.fortsoft.pf4j.Extension;
-import ro.fortsoft.pf4j.Plugin;
-import ro.fortsoft.pf4j.PluginWrapper;
-import ro.fortsoft.pf4j.demo.api.Greeting;
+import org.pf4j.Extension;
+import org.pf4j.Plugin;
+import org.pf4j.PluginWrapper;
+import org.pf4j.demo.api.Greeting;
/**
* A very simple plugin.
diff --git a/demo/plugins/pom.xml b/demo/plugins/pom.xml
index c385dcb..b8f262f 100644
--- a/demo/plugins/pom.xml
+++ b/demo/plugins/pom.xml
@@ -2,7 +2,7 @@
<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">
<parent>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>
@@ -85,7 +85,7 @@
<dependencies>
<dependency>
- <groupId>ro.fortsoft.pf4j</groupId>
+ <groupId>org.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${project.version}</version>
<!-- !!! VERY IMPORTANT -->
@@ -93,7 +93,7 @@
</dependency>
<dependency>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-api</artifactId>
<version>${project.version}</version>
<!-- !!! VERY IMPORTANT -->
diff --git a/demo/pom.xml b/demo/pom.xml
index 86a191a..b304fed 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -2,13 +2,13 @@
<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">
<parent>
- <groupId>ro.fortsoft.pf4j</groupId>
+ <groupId>org.pf4j</groupId>
<artifactId>pf4j-parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>ro.fortsoft.pf4j.demo</groupId>
+ <groupId>org.pf4j.demo</groupId>
<artifactId>pf4j-demo-parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
<packaging>pom</packaging>