diff --git a/pom.xml b/pom.xml index 3f6a29e34..9c5d0baab 100644 --- a/pom.xml +++ b/pom.xml @@ -726,6 +726,31 @@ findbugs-maven-plugin 2.5.5 + + org.apache.maven.plugins + maven-enforcer-plugin + 1.4 + + + enforce-pinpoint-build-requirements + validate + + enforce + + + + + JAVA_6_HOME + + + JAVA_7_HOME + + + true + + + + diff --git a/profiler/src/test/java/com/navercorp/pinpoint/profiler/plugin/DefaultInterceptorFactoryTest.java b/profiler/src/test/java/com/navercorp/pinpoint/profiler/plugin/DefaultInterceptorFactoryTest.java index 57494720c..f9e2f1f1a 100644 --- a/profiler/src/test/java/com/navercorp/pinpoint/profiler/plugin/DefaultInterceptorFactoryTest.java +++ b/profiler/src/test/java/com/navercorp/pinpoint/profiler/plugin/DefaultInterceptorFactoryTest.java @@ -49,6 +49,7 @@ public class DefaultInterceptorFactoryTest { @Before public void setUp() { reset(instrumentor, traceContext, aClass, aMethod); + when(pluginContext.getTraceContext()).thenReturn(traceContext); when(aMethod.getDescriptor()).thenReturn(descriptor); }