diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2017-09-20 16:55:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-20 16:55:30 +0200 |
commit | 5916ee64d9c05a4f085f6f6562ed383ff3203e4a (patch) | |
tree | 0255541afe778984d2becf450ecbb90d97e595d7 /demo/app | |
parent | b8cd3af90f8149e5003ea1db395d67b0fa8f7066 (diff) | |
download | pf4j-5916ee64d9c05a4f085f6f6562ed383ff3203e4a.tar.gz pf4j-5916ee64d9c05a4f085f6f6562ed383ff3203e4a.zip |
Change root package from ro.fortsoft.pf4j to org.pf4j (#168)
Diffstat (limited to 'demo/app')
-rw-r--r-- | demo/app/pom.xml | 8 | ||||
-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.Greeting | 1 | ||||
-rw-r--r-- | demo/app/src/main/resources/META-INF/services/ro.fortsoft.pf4j.demo.api.Greeting | 1 | ||||
-rw-r--r-- | demo/app/src/main/resources/log4j.properties | 12 |
7 files changed, 22 insertions, 22 deletions
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 |