Skip to content

Commit

Permalink
Added skeleton for MVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
iluwatar committed May 2, 2015
1 parent f7545cc commit c9bf681
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
18 changes: 18 additions & 0 deletions model-view-controller/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.iluwatar</groupId>
<artifactId>java-design-patterns</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>model-view-controller</artifactId>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
8 changes: 8 additions & 0 deletions model-view-controller/src/main/java/com/iluwatar/App.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.iluwatar;

public class App {

public static void main( String[] args ) {
System.out.println( "Hello World!" );
}
}
12 changes: 12 additions & 0 deletions model-view-controller/src/test/java/com/iluwatar/AppTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.iluwatar;

import org.junit.Test;

public class AppTest {

@Test
public void test() {
String[] args = {};
App.main(args);
}
}
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<module>service-layer</module>
<module>specification</module>
<module>tolerant-reader</module>
<module>model-view-controller</module>
</modules>

<dependencyManagement>
Expand Down

0 comments on commit c9bf681

Please sign in to comment.