Finished the example.

This commit is contained in:
Ilkka Seppala 2015-05-25 18:41:54 +03:00
parent 190894936f
commit ebcf46af86
4 changed files with 39 additions and 1 deletions

View File

@ -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>dependency-injection</artifactId>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,7 @@
package com.iluwatar;
public class App {
public static void main( String[] args ) {
}
}

View File

@ -0,0 +1,12 @@
package com.iluwatar;
import org.junit.Test;
public class AppTest {
@Test
public void test() {
String[] args = {};
App.main(args);
}
}

View File

@ -62,6 +62,7 @@
<module>thread-pool</module>
<module>private-class-data</module>
<module>object-pool</module>
<module>dependency-injection</module>
</modules>
<dependencyManagement>
@ -100,4 +101,4 @@
</plugins>
</build>
</project>
</project>