aboutsummaryrefslogtreecommitdiffstats
path: root/demo
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2012-10-16 14:33:48 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2012-10-16 14:33:48 +0300
commit9bd850bd57dc1df58f8103024df996d164c5ca0b (patch)
tree9cd6bf54c69f7b627adcfd26a9e9d861239f5a2d /demo
parentef96cc59fda8d665c1065bc1b7a18b5116703865 (diff)
downloadpf4j-9bd850bd57dc1df58f8103024df996d164c5ca0b.tar.gz
pf4j-9bd850bd57dc1df58f8103024df996d164c5ca0b.zip
prepare for maven central repository
Diffstat (limited to 'demo')
-rw-r--r--demo/api/pom.xml4
-rw-r--r--demo/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java (renamed from demo/api/src/main/java/org/pf4j/demo/api/Greeting.java)4
-rw-r--r--demo/app/pom.xml8
-rw-r--r--demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java (renamed from demo/app/src/main/java/org/pf4j/demo/Boot.java)11
-rw-r--r--demo/plugin1/plugin.properties2
-rw-r--r--demo/plugin1/pom.xml6
-rw-r--r--demo/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java (renamed from demo/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java)10
-rw-r--r--demo/plugin2/plugin.properties2
-rw-r--r--demo/plugin2/pom.xml6
-rw-r--r--demo/plugin2/src/main/java/ro/fortsoft/pf4j/demo/hello/HelloPlugin.java (renamed from demo/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java)10
-rw-r--r--demo/pom.xml4
11 files changed, 34 insertions, 33 deletions
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 @@
<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>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pom</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
@@ -34,7 +34,7 @@
<dependencies>
<dependency>
- <groupId>org.pf4j</groupId>
+ <groupId>ro.fortsoft.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
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
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 @@
<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>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pom</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
@@ -22,7 +22,7 @@
</licenses>
<properties>
- <main.class>org.pf4j.demo.Boot</main.class>
+ <main.class>ro.fortsoft.pf4j.demo.Boot</main.class>
</properties>
<build>
@@ -75,12 +75,12 @@
<dependencies>
<dependency>
- <groupId>org.pf4j</groupId>
+ <groupId>ro.fortsoft.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pf4j-demo-api</artifactId>
<version>${project.version}</version>
</dependency>
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
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 @@
<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>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pom</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
@@ -111,13 +111,13 @@
<dependencies>
<dependency>
- <groupId>org.pf4j</groupId>
+ <groupId>ro.fortsoft.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pf4j-demo-api</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
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
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 @@
<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>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pom</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
@@ -120,13 +120,13 @@
<dependencies>
<dependency>
- <groupId>org.pf4j</groupId>
+ <groupId>ro.fortsoft.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pf4j-demo-api</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
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
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 @@
<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>org.pf4j</groupId>
+ <groupId>ro.fortsoft.pf4j</groupId>
<artifactId>pom</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.pf4j.demo</groupId>
+ <groupId>ro.fortsoft.pf4j.demo</groupId>
<artifactId>pom</artifactId>
<version>0.1-SNAPSHOT</version>
<packaging>pom</packaging>