diff --git a/.classpath b/.classpath
deleted file mode 100644
index 2e8e0d2..0000000
--- a/.classpath
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/.gitignore b/.gitignore
index c836fce..dbe9f9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,8 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/target/
+
+# Intellij...
+.DS_Store
+.idea
+.settings
diff --git a/.project b/.project
deleted file mode 100644
index eaef967..0000000
--- a/.project
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- dependencybuildr
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
- org.eclipse.m2e.core.maven2Nature
-
-
diff --git a/dependencybuildr.analyzr/.classpath b/dependencybuildr.analyzr/.classpath
deleted file mode 100644
index 2e8e0d2..0000000
--- a/dependencybuildr.analyzr/.classpath
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dependencybuildr.analyzr/.gitignore b/dependencybuildr.analyzr/.gitignore
deleted file mode 100644
index b83d222..0000000
--- a/dependencybuildr.analyzr/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/target/
diff --git a/dependencybuildr.analyzr/.project b/dependencybuildr.analyzr/.project
deleted file mode 100644
index eab5b99..0000000
--- a/dependencybuildr.analyzr/.project
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- dependencybuildr.analyzr
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
- org.eclipse.m2e.core.maven2Nature
-
-
diff --git a/dependencybuildr.analyzr/.settings/org.eclipse.jdt.core.prefs b/dependencybuildr.analyzr/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index cac0df4..0000000
--- a/dependencybuildr.analyzr/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
-org.eclipse.jdt.core.compiler.release=disabled
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/dependencybuildr.analyzr/.settings/org.eclipse.m2e.core.prefs b/dependencybuildr.analyzr/.settings/org.eclipse.m2e.core.prefs
deleted file mode 100644
index f897a7f..0000000
--- a/dependencybuildr.analyzr/.settings/org.eclipse.m2e.core.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-activeProfiles=
-eclipse.preferences.version=1
-resolveWorkspaceProjects=true
-version=1
diff --git a/dependencybuildr.analyzr/pom.xml b/dependencybuildr.analyzr/pom.xml
deleted file mode 100644
index e14a0fe..0000000
--- a/dependencybuildr.analyzr/pom.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
- 4.0.0
-
- me.fschaupp
- dependencybuildr
- 0.0.1-SNAPSHOT
-
- dependencybuildr.analyzr
- Dependency Buildr Analyzr
-
\ No newline at end of file
diff --git a/dependencybuildr.gui/.classpath b/dependencybuildr.gui/.classpath
deleted file mode 100644
index 2e8e0d2..0000000
--- a/dependencybuildr.gui/.classpath
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dependencybuildr.gui/.gitignore b/dependencybuildr.gui/.gitignore
deleted file mode 100644
index b83d222..0000000
--- a/dependencybuildr.gui/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/target/
diff --git a/dependencybuildr.gui/.project b/dependencybuildr.gui/.project
deleted file mode 100644
index 38bf7c2..0000000
--- a/dependencybuildr.gui/.project
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- dependencybuildr.gui
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
- org.eclipse.m2e.core.maven2Nature
-
-
diff --git a/dependencybuildr.gui/.settings/org.eclipse.jdt.core.prefs b/dependencybuildr.gui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 8b5c4dc..0000000
--- a/dependencybuildr.gui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,16 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
-org.eclipse.jdt.core.compiler.release=disabled
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/dependencybuildr.gui/.settings/org.eclipse.m2e.core.prefs b/dependencybuildr.gui/.settings/org.eclipse.m2e.core.prefs
deleted file mode 100644
index f897a7f..0000000
--- a/dependencybuildr.gui/.settings/org.eclipse.m2e.core.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-activeProfiles=
-eclipse.preferences.version=1
-resolveWorkspaceProjects=true
-version=1
diff --git a/dependencybuildr.gui/pom.xml b/dependencybuildr.gui/pom.xml
deleted file mode 100644
index 43330fa..0000000
--- a/dependencybuildr.gui/pom.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
- 4.0.0
-
- me.fschaupp
- dependencybuildr
- 0.0.1-SNAPSHOT
-
- dependencybuildr.gui
- Dependency Buildr GUI
-
\ No newline at end of file
diff --git a/dependencybuildr.iml b/dependencybuildr.iml
new file mode 100644
index 0000000..112af3d
--- /dev/null
+++ b/dependencybuildr.iml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 9012feb..97e0238 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,22 +1,30 @@
-
- 4.0.0
- me.fschaupp
- dependencybuildr
- 0.0.1-SNAPSHOT
- Dependency Buildr
- pom
-
- dependencybuildr.analyzr
- dependencybuildr.gui
-
- https://github.com/fschaupp/DependencyBuildr
-
- https://github.com/fschaupp/DependencyBuildr
- Florian Schaupp
- Maven
-
-
- Github
- https://github.com/fschaupp/DependencyBuildr/issues
-
+
+ 4.0.0
+ me.fschaupp
+ dependencybuildr
+ 0.0.1-SNAPSHOT
+ DependencyBuildr
+ jar
+ https://github.com/fschaupp/DependencyBuildr
+
+ https://github.com/fschaupp/DependencyBuildr
+ Florian Schaupp
+ Maven
+
+
+ Github
+ https://github.com/fschaupp/DependencyBuildr/issues
+
+
+
+
+ com.jgoodies
+ jgoodies-forms
+ 1.9.0
+ compile
+
+
+
+
\ No newline at end of file
diff --git a/src/me/fschaupp/dependencybuildr/Constants.java b/src/me/fschaupp/dependencybuildr/Constants.java
new file mode 100644
index 0000000..91eb9fa
--- /dev/null
+++ b/src/me/fschaupp/dependencybuildr/Constants.java
@@ -0,0 +1,11 @@
+package me.fschaupp.dependencybuildr;
+
+import java.awt.Color;
+import java.awt.Dimension;
+
+public final class Constants {
+ public static final String TITLE = "DependencyBuildr";
+ public static final Dimension WINDOW_SIZE = Utils.dimensionOf(600, 400);
+ public static final Color BACKGROUND_COLOR = new Color(0x2f2f2f);
+
+}
diff --git a/src/me/fschaupp/dependencybuildr/Main.java b/src/me/fschaupp/dependencybuildr/Main.java
index d8403d2..a3bda41 100644
--- a/src/me/fschaupp/dependencybuildr/Main.java
+++ b/src/me/fschaupp/dependencybuildr/Main.java
@@ -1,9 +1,13 @@
package me.fschaupp.dependencybuildr;
+import me.fschaupp.dependencybuildr.gui.GUI;
+
public class Main {
- public static void main(String[] args) {
+ private static GUI gui;
+ public static void main(String[] args) {
+ gui = new GUI();
}
}
diff --git a/src/me/fschaupp/dependencybuildr/Utils.java b/src/me/fschaupp/dependencybuildr/Utils.java
new file mode 100644
index 0000000..7da3a3c
--- /dev/null
+++ b/src/me/fschaupp/dependencybuildr/Utils.java
@@ -0,0 +1,11 @@
+package me.fschaupp.dependencybuildr;
+
+import java.awt.Dimension;
+
+public interface Utils {
+
+ public static Dimension dimensionOf(int width, int height) {
+ return new Dimension(width, height);
+ }
+
+}
diff --git a/src/me/fschaupp/dependencybuildr/analyzr/Analyzr.java b/src/me/fschaupp/dependencybuildr/analyzr/Analyzr.java
new file mode 100644
index 0000000..56fd28b
--- /dev/null
+++ b/src/me/fschaupp/dependencybuildr/analyzr/Analyzr.java
@@ -0,0 +1,9 @@
+package me.fschaupp.dependencybuildr.analyzr;
+
+public class Analyzr {
+
+ public Analyzr() {
+
+ }
+
+}
diff --git a/src/me/fschaupp/dependencybuildr/analyzr/Dependencies.java b/src/me/fschaupp/dependencybuildr/analyzr/Dependencies.java
new file mode 100644
index 0000000..4780c4a
--- /dev/null
+++ b/src/me/fschaupp/dependencybuildr/analyzr/Dependencies.java
@@ -0,0 +1,23 @@
+package me.fschaupp.dependencybuildr.analyzr;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public class Dependencies {
+ private final Dependencies INSTANCE = new Dependencies();
+
+ private List dependencies;
+ private Map dependencyBuilder = new HashMap();
+
+ public Dependencies getInstance() {
+ return INSTANCE;
+ }
+
+ public void registerBuilder(String builderName, DependencyBuilder builder) {
+ if (!dependencyBuilder.containsKey(builderName)) {
+ dependencyBuilder.put(builderName, builder);
+ }
+ }
+}
diff --git a/src/me/fschaupp/dependencybuildr/analyzr/Dependency.java b/src/me/fschaupp/dependencybuildr/analyzr/Dependency.java
new file mode 100644
index 0000000..be6c2a6
--- /dev/null
+++ b/src/me/fschaupp/dependencybuildr/analyzr/Dependency.java
@@ -0,0 +1,4 @@
+package me.fschaupp.dependencybuildr.analyzr;
+
+public interface Dependency {
+}
diff --git a/src/me/fschaupp/dependencybuildr/analyzr/DependencyBuilder.java b/src/me/fschaupp/dependencybuildr/analyzr/DependencyBuilder.java
new file mode 100644
index 0000000..45314b1
--- /dev/null
+++ b/src/me/fschaupp/dependencybuildr/analyzr/DependencyBuilder.java
@@ -0,0 +1,4 @@
+package me.fschaupp.dependencybuildr.analyzr;
+
+public interface DependencyBuilder {
+}
diff --git a/src/me/fschaupp/dependencybuildr/gui/GUI.java b/src/me/fschaupp/dependencybuildr/gui/GUI.java
new file mode 100644
index 0000000..14ca5e5
--- /dev/null
+++ b/src/me/fschaupp/dependencybuildr/gui/GUI.java
@@ -0,0 +1,37 @@
+package me.fschaupp.dependencybuildr.gui;
+
+import javax.swing.JButton;
+import javax.swing.JFileChooser;
+import javax.swing.JFrame;
+import javax.swing.JTextField;
+
+import me.fschaupp.dependencybuildr.Constants;
+import me.fschaupp.dependencybuildr.Utils;
+
+public class GUI extends JFrame implements Utils {
+
+ private JTextField path;
+ private JButton browse;
+ private JFileChooser projectChooser;
+
+ public GUI() {
+ setTitle(Constants.TITLE);
+ setSize(Constants.WINDOW_SIZE);
+ setLocationRelativeTo(null);
+ setBackground(Constants.BACKGROUND_COLOR);
+
+ createUI();
+
+ setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+ setVisible(true);
+ }
+
+ private void createUI() {
+ path = new JTextField();
+ browse = new JButton("...");
+ projectChooser = new JFileChooser();
+
+
+
+ }
+}