diff --git a/common/pom.xml b/common/pom.xml new file mode 100644 index 0000000..e3217e5 --- /dev/null +++ b/common/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + org.objectstyle.dagger + dagger-sandbox + 1.0-SNAPSHOT + + + common + jar + + \ No newline at end of file diff --git a/src/main/java/org/objectstyle/dagger/service/Service.java b/common/src/main/java/org/objectstyle/dagger/service/Service.java similarity index 100% rename from src/main/java/org/objectstyle/dagger/service/Service.java rename to common/src/main/java/org/objectstyle/dagger/service/Service.java diff --git a/src/main/java/org/objectstyle/dagger/service/ServiceImpl.java b/common/src/main/java/org/objectstyle/dagger/service/ServiceImpl.java similarity index 100% rename from src/main/java/org/objectstyle/dagger/service/ServiceImpl.java rename to common/src/main/java/org/objectstyle/dagger/service/ServiceImpl.java diff --git a/src/main/java/org/objectstyle/dagger/service/SubService.java b/common/src/main/java/org/objectstyle/dagger/service/SubService.java similarity index 100% rename from src/main/java/org/objectstyle/dagger/service/SubService.java rename to common/src/main/java/org/objectstyle/dagger/service/SubService.java diff --git a/src/main/java/org/objectstyle/dagger/service/SubServiceImpl.java b/common/src/main/java/org/objectstyle/dagger/service/SubServiceImpl.java similarity index 100% rename from src/main/java/org/objectstyle/dagger/service/SubServiceImpl.java rename to common/src/main/java/org/objectstyle/dagger/service/SubServiceImpl.java diff --git a/dagger/pom.xml b/dagger/pom.xml new file mode 100644 index 0000000..6fe0557 --- /dev/null +++ b/dagger/pom.xml @@ -0,0 +1,49 @@ + + + 4.0.0 + + + org.objectstyle.dagger + dagger-sandbox + 1.0-SNAPSHOT + + + dagger + 1.0-SNAPSHOT + + jar + + + org.objectstyle.dagger.Main + + + + + org.objectstyle.dagger + common + ${project.version} + + + com.google.dagger + dagger + ${dagger.version} + + + com.google.dagger + dagger-compiler + ${dagger.version} + provided + + + + + + + maven-shade-plugin + + + + + \ No newline at end of file diff --git a/src/main/java/org/objectstyle/dagger/Main.java b/dagger/src/main/java/org/objectstyle/dagger/Main.java similarity index 100% rename from src/main/java/org/objectstyle/dagger/Main.java rename to dagger/src/main/java/org/objectstyle/dagger/Main.java diff --git a/src/main/java/org/objectstyle/dagger/MainModule.java b/dagger/src/main/java/org/objectstyle/dagger/MainModule.java similarity index 100% rename from src/main/java/org/objectstyle/dagger/MainModule.java rename to dagger/src/main/java/org/objectstyle/dagger/MainModule.java diff --git a/src/main/java/org/objectstyle/dagger/Root.java b/dagger/src/main/java/org/objectstyle/dagger/Root.java similarity index 100% rename from src/main/java/org/objectstyle/dagger/Root.java rename to dagger/src/main/java/org/objectstyle/dagger/Root.java diff --git a/guice/pom.xml b/guice/pom.xml new file mode 100644 index 0000000..be23eb1 --- /dev/null +++ b/guice/pom.xml @@ -0,0 +1,30 @@ + + + 4.0.0 + + + org.objectstyle.dagger + dagger-sandbox + 1.0-SNAPSHOT + + + guice + 1.0-SNAPSHOT + + jar + + + + + + + + + maven-shade-plugin + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index ab27d7d..2eda77c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,36 +4,25 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.objectstyle + org.objectstyle.dagger dagger-sandbox 1.0-SNAPSHOT - jar + pom 1.8 1.8 2.15 - - org.objectstyle.dagger.Main + 4.2 - - - - com.google.dagger - dagger - ${dagger.version} - - - com.google.dagger - dagger-compiler - ${dagger.version} - provided - - - + + common + dagger + guice + @@ -88,12 +77,6 @@ - - - - maven-shade-plugin - - \ No newline at end of file