diff --git a/.gitignore b/.gitignore index 4eb0cb06f..3c0c7e333 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,7 @@ release.properties dependency-reduced-pom.xml buildNumber.properties .idea -*.iml \ No newline at end of file +*.iml +*.project +*.prefs +.classpath \ No newline at end of file diff --git a/core/pom.xml b/core/pom.xml index 9542c979c..db4c0d4f5 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -18,6 +18,14 @@ spring-context ${spring.version} + + + org.springframework + spring-web + ${spring.version} + test + + @@ -33,6 +41,36 @@ ${spring.version} test + + + + + org.springframework + spring-tx + ${spring.version} + test + + + + javax.servlet + javax.servlet-api + 4.0.1 + test + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M5 + + --add-opens java.base/java.lang=ALL-UNNAMED + + + + diff --git a/core/src/test/java/training/taylor/timetracker/core/TrackerCoreConfigTest.java b/core/src/test/java/training/taylor/timetracker/core/TrackerCoreConfigTest.java index b4652777b..c4ba88e8c 100644 --- a/core/src/test/java/training/taylor/timetracker/core/TrackerCoreConfigTest.java +++ b/core/src/test/java/training/taylor/timetracker/core/TrackerCoreConfigTest.java @@ -15,7 +15,7 @@ * Created by Jason on 6/20/2015. */ @RunWith(SpringJUnit4ClassRunner.class) -@ContextConfiguration(classes = TrackerCoreConfig.class) +@ContextConfiguration(classes = {TrackerCoreConfig.class}) public class TrackerCoreConfigTest { @Autowired diff --git a/core/src/test/java/training/taylor/timetracker/core/TrackerTest.java b/core/src/test/java/training/taylor/timetracker/core/TrackerTest.java index b0ecec0a8..d4203e2f5 100644 --- a/core/src/test/java/training/taylor/timetracker/core/TrackerTest.java +++ b/core/src/test/java/training/taylor/timetracker/core/TrackerTest.java @@ -13,7 +13,7 @@ * Created by Jason on 6/19/2015. */ @RunWith(SpringJUnit4ClassRunner.class) -@ContextConfiguration(classes = TrackerCoreConfig.class) +@ContextConfiguration(classes = {TrackerCoreConfig.class}) public class TrackerTest { @Autowired private Tracker tracker;