[SM-2947] Migrate itests to java

 - added ops4j snapshot repository
 - added license header
 - increased wait time in LogCollector
diff --git a/itests/src/test/java/org/apache/servicemix/itests/base/Features.java b/itests/src/test/java/org/apache/servicemix/itests/base/Features.java
index 5971217..5bee3eb 100644
--- a/itests/src/test/java/org/apache/servicemix/itests/base/Features.java
+++ b/itests/src/test/java/org/apache/servicemix/itests/base/Features.java
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.servicemix.itests.base;
 
 import java.util.Arrays;
diff --git a/itests/src/test/java/org/apache/servicemix/itests/base/LogCollector.java b/itests/src/test/java/org/apache/servicemix/itests/base/LogCollector.java
index 89aeea8..ce796f7 100644
--- a/itests/src/test/java/org/apache/servicemix/itests/base/LogCollector.java
+++ b/itests/src/test/java/org/apache/servicemix/itests/base/LogCollector.java
@@ -51,7 +51,7 @@
             }
         }
         long startTime = System.currentTimeMillis();
-        while (System.currentTimeMillis() - startTime < 10 * 1000) {
+        while (System.currentTimeMillis() - startTime < 10 * 2000) {
             this.wait(100);
             if (log.size() > 0) {
                 PaxLoggingEvent event = log.get(log.size() - 1);
diff --git a/pom.xml b/pom.xml
index 577c861..48c2074 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,19 @@
 
     </properties>
 
+    <repositories>
+        <repository>
+            <id>ops4j.snapshots</id>
+            <name>OPS4j Snapshots</name>
+            <url>https://oss.sonatype.org/content/repositories/ops4j-snapshots/</url>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
     <pluginRepositories>
         <pluginRepository>
             <id>apache.snapshots</id>