3bb316e
From c53dc6c2ec6ac1799529569cf4bbae64fdaf0866 Mon Sep 17 00:00:00 2001
3bb316e
From: Mat Booth <mat.booth@redhat.com>
3bb316e
Date: Fri, 21 Feb 2020 10:08:13 +0000
3bb316e
Subject: [PATCH 6/7] Mockito does not have test scope
3bb316e
3bb316e
Change-Id: Ia0554670d27f1f05dc0d5c72f9afbbbc32e7fdbb
3bb316e
Signed-off-by: Mat Booth <mat.booth@redhat.com>
3bb316e
---
3bb316e
 tycho-artifactcomparator/pom.xml             | 5 +++--
3bb316e
 tycho-core/pom.xml                           | 3 ++-
3bb316e
 tycho-extras/tycho-eclipserun-plugin/pom.xml | 5 ++++-
3bb316e
 tycho-extras/tycho-pomless/pom.xml           | 5 +++--
3bb316e
 tycho-surefire/tycho-surefire-plugin/pom.xml | 4 +++-
3bb316e
 5 files changed, 15 insertions(+), 7 deletions(-)
3bb316e
3bb316e
diff --git a/tycho-artifactcomparator/pom.xml b/tycho-artifactcomparator/pom.xml
3bb316e
index 9039f06..b2ee58a 100644
3bb316e
--- a/tycho-artifactcomparator/pom.xml
3bb316e
+++ b/tycho-artifactcomparator/pom.xml
3bb316e
@@ -1,6 +1,6 @@
3bb316e
 
3bb316e
 
3bb316e
- - Copyright (c) 2012 Sonatype Inc. and others.
3bb316e
+ - Copyright (c) 2012, 2020 Sonatype Inc. and others.
3bb316e
  - All rights reserved. This program and the accompanying materials
3bb316e
  - are made available under the terms of the Eclipse Public License v1.0
3bb316e
  - which accompanies this distribution, and is available at
3bb316e
@@ -49,6 +49,7 @@
3bb316e
     <dependency>
3bb316e
       <artifactId>junit</artifactId>
3bb316e
       <groupId>junit</groupId>
3bb316e
+      <scope>test</scope>
3bb316e
     </dependency>
3bb316e
 	<dependency>
3bb316e
 		<groupId>org.eclipse.sisu</groupId>
3bb316e
@@ -68,4 +69,4 @@
3bb316e
       </plugin>
3bb316e
     </plugins>
3bb316e
   </build>
3bb316e
-</project>
3bb316e
\ No newline at end of file
3bb316e
+</project>
3bb316e
diff --git a/tycho-core/pom.xml b/tycho-core/pom.xml
3bb316e
index 9f2bf3b..bdd5a16 100644
3bb316e
--- a/tycho-core/pom.xml
3bb316e
+++ b/tycho-core/pom.xml
3bb316e
@@ -1,6 +1,6 @@
3bb316e
 
3bb316e
 
3bb316e
- - Copyright (c) 2008, 2011 Sonatype Inc. and others.
3bb316e
+ - Copyright (c) 2008, 2020 Sonatype Inc. and others.
3bb316e
  - All rights reserved. This program and the accompanying materials
3bb316e
  - are made available under the terms of the Eclipse Public License v1.0
3bb316e
  - which accompanies this distribution, and is available at
3bb316e
@@ -168,6 +168,7 @@
3bb316e
 		<dependency>
3bb316e
 			<groupId>org.mockito</groupId>
3bb316e
 			<artifactId>mockito-core</artifactId>
3bb316e
+			<scope>test</scope>
3bb316e
 		</dependency>
3bb316e
 	</dependencies>
3bb316e
 
3bb316e
diff --git a/tycho-extras/tycho-eclipserun-plugin/pom.xml b/tycho-extras/tycho-eclipserun-plugin/pom.xml
3bb316e
index ffb886b..beedebc 100644
3bb316e
--- a/tycho-extras/tycho-eclipserun-plugin/pom.xml
3bb316e
+++ b/tycho-extras/tycho-eclipserun-plugin/pom.xml
3bb316e
@@ -1,5 +1,5 @@
3bb316e
 
3bb316e
-- Copyright (c) 2011 Marc-Andre Laperle and others.
3bb316e
+- Copyright (c) 2011, 2020 Marc-Andre Laperle and others.
3bb316e
 - All rights reserved. This program and the accompanying materials
3bb316e
 - are made available under the terms of the Eclipse Public License v1.0
3bb316e
 - which accompanies this distribution, and is available at
3bb316e
@@ -42,14 +42,17 @@
3bb316e
 		<dependency>
3bb316e
 			<groupId>junit</groupId>
3bb316e
 			<artifactId>junit</artifactId>
3bb316e
+			<scope>test</scope>
3bb316e
 		</dependency>
3bb316e
 		<dependency>
3bb316e
 			<groupId>org.eclipse.tycho</groupId>
3bb316e
 			<artifactId>tycho-testing-harness</artifactId>
3bb316e
+			<scope>test</scope>
3bb316e
 		</dependency>
3bb316e
 		<dependency>
3bb316e
 			<groupId>org.mockito</groupId>
3bb316e
 			<artifactId>mockito-core</artifactId>
3bb316e
+			<scope>test</scope>
3bb316e
 		</dependency>
3bb316e
 	</dependencies>
3bb316e
 	<profiles>
3bb316e
diff --git a/tycho-extras/tycho-pomless/pom.xml b/tycho-extras/tycho-pomless/pom.xml
3bb316e
index 2584910..f2d7ffa 100644
3bb316e
--- a/tycho-extras/tycho-pomless/pom.xml
3bb316e
+++ b/tycho-extras/tycho-pomless/pom.xml
3bb316e
@@ -1,6 +1,6 @@
3bb316e
 
3bb316e
 
3bb316e
- - Copyright (c) 2015 SAP SE and others.
3bb316e
+ - Copyright (c) 2015, 2020 SAP SE and others.
3bb316e
  - All rights reserved. This program and the accompanying materials
3bb316e
  - are made available under the terms of the Eclipse Public License v1.0
3bb316e
  - which accompanies this distribution, and is available at
3bb316e
@@ -67,7 +67,8 @@
3bb316e
     <dependency>
3bb316e
       <groupId>junit</groupId>
3bb316e
       <artifactId>junit</artifactId>
3bb316e
+      <scope>test</scope>
3bb316e
     </dependency>
3bb316e
   </dependencies>
3bb316e
 
3bb316e
-</project>
3bb316e
\ No newline at end of file
3bb316e
+</project>
3bb316e
diff --git a/tycho-surefire/tycho-surefire-plugin/pom.xml b/tycho-surefire/tycho-surefire-plugin/pom.xml
3bb316e
index d03525a..5b2ac63 100644
3bb316e
--- a/tycho-surefire/tycho-surefire-plugin/pom.xml
3bb316e
+++ b/tycho-surefire/tycho-surefire-plugin/pom.xml
3bb316e
@@ -1,6 +1,6 @@
3bb316e
 
3bb316e
 
3bb316e
- - Copyright (c) 2008, 2011 Sonatype Inc. and others.
3bb316e
+ - Copyright (c) 2008, 2020 Sonatype Inc. and others.
3bb316e
  - All rights reserved. This program and the accompanying materials
3bb316e
  - are made available under the terms of the Eclipse Public License v1.0
3bb316e
  - which accompanies this distribution, and is available at
3bb316e
@@ -162,10 +162,12 @@
3bb316e
 		<dependency>
3bb316e
 			<groupId>org.mockito</groupId>
3bb316e
 			<artifactId>mockito-core</artifactId>
3bb316e
+			<scope>test</scope>
3bb316e
 		</dependency>
3bb316e
 		<dependency>
3bb316e
 			<groupId>org.eclipse.tycho</groupId>
3bb316e
 			<artifactId>tycho-testing-harness</artifactId>
3bb316e
+			<scope>test</scope>
3bb316e
 		</dependency>
3bb316e
 	</dependencies>
3bb316e
 </project>
3bb316e
-- 
3bb316e
2.21.1
3bb316e