Skip to content

Commit ca05247

Browse files
authored
Upgrade to Java 11 (codice#6515)
- Added Jakarata XML and Activation replacements - Upgraded maven-bundle-plugin and exec-maven-plugin - Upgraded JUnit, Mockito, Restassured, Spock, and Groovy - Updated documentation - Upgraded Asciidoc - Updated Jenkins file to use JDK11 - Removed dependency on acdebugger due to it depending on tools.jar which was removed by JEP 220 - Disabled pro-grade and security policy - Removed Codice JUnit and Spock extensions
1 parent 37d5295 commit ca05247

File tree

233 files changed

+1160
-4937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+1160
-4937
lines changed

Jenkinsfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pipeline {
6666
timeout(time: 3, unit: 'HOURS')
6767
}
6868
steps {
69-
withMaven(maven: 'maven-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
69+
withMaven(maven: 'maven-latest', jdk: 'jdk11', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
7070
sh 'mvn install -B -DskipStatic=true -DskipTests=true $DISABLE_DOWNLOAD_PROGRESS_OPTS'
7171
sh 'mvn clean install -B -P !itests -Dgib.enabled=true -Dgib.referenceBranch=/refs/remotes/origin/$CHANGE_TARGET $DISABLE_DOWNLOAD_PROGRESS_OPTS'
7272
}
@@ -82,7 +82,7 @@ pipeline {
8282
timeout(time: 3, unit: 'HOURS')
8383
}
8484
steps {
85-
withMaven(maven: 'maven-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
85+
withMaven(maven: 'maven-latest', jdk: 'jdk11', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
8686
sh 'mvn clean install -B -P !itests $DISABLE_DOWNLOAD_PROGRESS_OPTS'
8787
}
8888
}
@@ -93,7 +93,7 @@ pipeline {
9393
timeout(time: 1, unit: 'HOURS')
9494
}
9595
steps {
96-
withMaven(maven: 'maven-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
96+
withMaven(maven: 'maven-latest', jdk: 'jdk11', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
9797
sh '''
9898
unset JAVA_TOOL_OPTIONS
9999
mvn install -B -pl $ITESTS,!$ITCORE -amd -nsu $DISABLE_DOWNLOAD_PROGRESS_OPTS
@@ -107,7 +107,7 @@ pipeline {
107107
timeout(time: 1, unit: 'HOURS')
108108
}
109109
steps {
110-
withMaven(maven: 'maven-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
110+
withMaven(maven: 'maven-latest', jdk: 'jdk11', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
111111
sh '''
112112
unset JAVA_TOOL_OPTIONS
113113
mvn install -B -pl $ITCORE -nsu $DISABLE_DOWNLOAD_PROGRESS_OPTS
@@ -130,7 +130,7 @@ pipeline {
130130

131131
stage('Dependency Check') {
132132
steps {
133-
withMaven(maven: 'maven-latest', jdk: 'jdk8-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
133+
withMaven(maven: 'maven-latest', jdk: 'jdk11', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LARGE_MVN_OPTS} ${LINUX_MVN_RANDOM}') {
134134
script {
135135
// If this build is not a pull request, run owasp scan on the distribution. Otherwise run incremental scan
136136
if (env.CHANGE_ID == null) {
@@ -161,7 +161,7 @@ pipeline {
161161
}
162162
}
163163
steps{
164-
withMaven(maven: 'maven-latest', jdk: 'jdk8-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LINUX_MVN_RANDOM}') {
164+
withMaven(maven: 'maven-latest', jdk: 'jdk11', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings', mavenOpts: '${LINUX_MVN_RANDOM}') {
165165
sh 'mvn deploy -B -DskipStatic=true -DskipTests=true -DretryFailedDeploymentCount=10 $DISABLE_DOWNLOAD_PROGRESS_OPTS'
166166
}
167167
}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ Distributed Data Framework (DDF) is an open source, modular integration framewor
8484

8585
## Building
8686
### What you need ###
87-
* [Install J2SE 8 SDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
87+
* [Install OpenJDK 11](https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot).
8888
* Make sure that your JAVA\_HOME environment variable is set to the newly installed JDK location, and that your PATH includes %JAVA\_HOME%\bin (Windows) or $JAVA\_HOME$/bin (\*NIX).
89-
* [Install Maven 3.1.0 \(or later\)](http://maven.apache.org/download.html). Make sure that your PATH includes the MVN\_HOME/bin directory.
89+
* [Install Maven 3.6.3 \(or later\)](http://maven.apache.org/download.html). Make sure that your PATH includes the MVN\_HOME/bin directory.
9090
* Set the MAVEN_OPTS variable with the appropriate memory settings
9191
### Optional
9292
* If you do not wish to run formatting from the commandline (see below) you may use an IDE to format the code for you with the google-java-format plugins.

catalog/admin/catalog-admin-poller-service/src/test/groovy/org/codice/ddf/catalog/admin/poller/AdminPollerServiceBeanSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313
*/
1414
package org.codice.ddf.catalog.admin.poller
1515

16+
import org.junit.platform.runner.JUnitPlatform
17+
import org.junit.runner.RunWith
1618
import spock.lang.Specification
1719

20+
@RunWith(JUnitPlatform.class)
1821
class AdminPollerServiceBeanSpec extends Specification {
1922

2023
def "test LDAP filter generation"() {

catalog/confluence/catalog-confluence-source/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@
102102
<artifactId>gson-support</artifactId>
103103
<version>${project.version}</version>
104104
</dependency>
105+
<dependency>
106+
<groupId>jakarta.xml.bind</groupId>
107+
<artifactId>jakarta.xml.bind-api</artifactId>
108+
<version>${jakarta.xml.bind.version}</version>
109+
</dependency>
105110
<dependency>
106111
<groupId>ddf.security.core</groupId>
107112
<artifactId>security-core-services</artifactId>

catalog/core/catalog-core-api-impl/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
<artifactId>log-sanitizer</artifactId>
7474
<version>${project.version}</version>
7575
</dependency>
76+
<dependency>
77+
<groupId>com.sun.activation</groupId>
78+
<artifactId>jakarta.activation</artifactId>
79+
<version>${jakarta.activation.version}</version>
80+
<scope>test</scope>
81+
</dependency>
7682
</dependencies>
7783
<build>
7884
<plugins>

catalog/core/catalog-core-api-impl/src/test/groovy/ddf/catalog/util/impl/ResultIterableSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ import ddf.catalog.operation.impl.QueryRequestImpl
2525
import ddf.catalog.operation.impl.QueryResponseImpl
2626
import ddf.catalog.source.SourceUnavailableException
2727
import ddf.catalog.source.UnsupportedQueryException
28+
import org.junit.platform.runner.JUnitPlatform
29+
import org.junit.runner.RunWith
2830
import spock.lang.Specification
2931
import spock.lang.Unroll
3032

3133
import static ddf.catalog.util.impl.ResultIterable.resultIterable
3234
import static java.util.stream.Collectors.toList
3335

36+
@RunWith(JUnitPlatform.class)
3437
class ResultIterableSpec extends Specification {
3538

3639
CatalogFramework catalogFramework

catalog/core/catalog-core-api-impl/src/test/groovy/ddf/catalog/util/impl/faceting/FacetedAttributeResultSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@
1515
package ddf.catalog.operation.faceting
1616

1717
import ddf.catalog.operation.impl.FacetAttributeResultImpl
18+
import org.junit.platform.runner.JUnitPlatform
19+
import org.junit.runner.RunWith
1820
import spock.lang.Specification
1921

22+
@RunWith(JUnitPlatform.class)
2023
class FacetedAttributeResultSpec extends Specification {
2124
static testSameLenValues = ["keyboards", "cutting boards", "school boards", "skateboards"]
2225
static testShorterValues = ["apples", "oranges"]

catalog/core/catalog-core-api/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
<groupId>commons-collections</groupId>
4747
<artifactId>commons-collections</artifactId>
4848
</dependency>
49+
<dependency>
50+
<groupId>jakarta.activation</groupId>
51+
<artifactId>jakarta.activation-api</artifactId>
52+
<version>${jakarta.activation.version}</version>
53+
</dependency>
4954
</dependencies>
5055
<build>
5156
<plugins>

catalog/core/catalog-core-commands/src/test/groovy/org/codice/ddf/commands/catalog/ExportCommandSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ import ddf.catalog.transform.MetacardTransformer
3232
import ddf.security.audit.SecurityLogger
3333
import org.apache.karaf.shell.api.console.Session
3434
import org.codice.ddf.commands.util.DigitalSignature
35+
import org.junit.platform.runner.JUnitPlatform
36+
import org.junit.runner.RunWith
3537
import org.osgi.framework.BundleContext
3638
import org.osgi.framework.ServiceReference
3739
import spock.lang.Specification
@@ -41,6 +43,7 @@ import javax.activation.MimeType
4143
import java.nio.file.Paths
4244
import java.util.zip.ZipFile
4345

46+
@RunWith(JUnitPlatform.class)
4447
class ExportCommandSpec extends Specification {
4548

4649
File tmpHomeDir

catalog/core/catalog-core-definitionparser/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
<version>${project.version}</version>
8686
<scope>test</scope>
8787
</dependency>
88+
<dependency>
89+
<groupId>jakarta.xml.bind</groupId>
90+
<artifactId>jakarta.xml.bind-api</artifactId>
91+
<version>${jakarta.xml.bind.version}</version>
92+
<scope>test</scope>
93+
</dependency>
8894
</dependencies>
8995

9096
<build>

catalog/core/catalog-core-definitionparser/src/test/groovy/ddf/catalog/definition/impl/DefinitionParserSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ import ddf.catalog.validation.ReportingMetacardValidator
1717
import ddf.catalog.validation.ValidationException
1818
import ddf.catalog.validation.impl.AttributeValidatorRegistryImpl
1919
import org.junit.Rule
20+
import org.junit.platform.runner.JUnitPlatform
2021
import org.junit.rules.TemporaryFolder
22+
import org.junit.runner.RunWith
2123
import org.osgi.framework.Bundle
2224
import org.osgi.framework.BundleContext
2325
import org.osgi.framework.ServiceRegistration
@@ -28,6 +30,7 @@ import java.time.ZoneOffset
2830

2931
import static org.mockito.Matchers.isNull
3032

33+
@RunWith(JUnitPlatform.class)
3134
class DefinitionParserSpec extends Specification {
3235

3336
@Rule

catalog/core/catalog-core-directorymonitor/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@
127127
<groupId>com.google.code.findbugs</groupId>
128128
<artifactId>jsr305</artifactId>
129129
</dependency>
130+
<dependency>
131+
<groupId>jakarta.xml.bind</groupId>
132+
<artifactId>jakarta.xml.bind-api</artifactId>
133+
<version>${jakarta.xml.bind.version}</version>
134+
</dependency>
130135

131136
<!-- Component test dependencies -->
132137
<dependency>

catalog/core/catalog-core-standardframework/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@
130130
<artifactId>failsafe</artifactId>
131131
<version>0.9.3</version>
132132
</dependency>
133+
<dependency>
134+
<groupId>jakarta.xml.bind</groupId>
135+
<artifactId>jakarta.xml.bind-api</artifactId>
136+
<version>${jakarta.xml.bind.version}</version>
137+
</dependency>
133138
<dependency>
134139
<groupId>com.hazelcast</groupId>
135140
<artifactId>hazelcast</artifactId>

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/cache/impl/FileSystemPersistenceProviderSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
package ddf.catalog.cache.impl
22

33
import org.junit.Rule
4+
import org.junit.platform.runner.JUnitPlatform
45
import org.junit.rules.TemporaryFolder
6+
import org.junit.runner.RunWith
57
import spock.lang.Ignore
68
import spock.lang.Specification
79

810
import java.nio.file.Path
911

12+
@RunWith(JUnitPlatform.class)
1013
class FileSystemPersistenceProviderSpec extends Specification {
1114

1215
private Path cachePath

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/CreateOperationsSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ import ddf.catalog.data.impl.AttributeDescriptorImpl
1717
import ddf.catalog.data.impl.AttributeImpl
1818
import ddf.catalog.data.impl.BasicTypes
1919
import ddf.catalog.impl.FrameworkProperties
20+
import org.junit.platform.runner.JUnitPlatform
21+
import org.junit.runner.RunWith
2022
import spock.lang.Specification
2123

24+
@RunWith(JUnitPlatform.class)
2225
class CreateOperationsSpec extends Specification {
2326
private CreateOperations createOperations
2427

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/MetacardFactorySpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@ import ddf.catalog.transform.InputTransformer
1919
import ddf.mime.MimeTypeToTransformerMapper
2020
import org.codice.ddf.platform.util.uuidgenerator.UuidGenerator
2121
import org.junit.Rule
22+
import org.junit.platform.runner.JUnitPlatform
2223
import org.junit.rules.TemporaryFolder
24+
import org.junit.runner.RunWith
2325
import spock.lang.Shared
2426
import spock.lang.Specification
2527

2628
import javax.activation.MimeType
2729
import java.nio.file.Path
2830
import java.nio.file.Paths
2931

32+
@RunWith(JUnitPlatform.class)
3033
class MetacardFactorySpec extends Specification {
3134
@Rule
3235
TemporaryFolder tempFolder

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/OperationsCatalogStoreSupportSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ import ddf.catalog.impl.FrameworkProperties
1717
import ddf.catalog.operation.Request
1818
import ddf.catalog.source.CatalogProvider
1919
import ddf.catalog.source.CatalogStore
20+
import org.junit.platform.runner.JUnitPlatform
21+
import org.junit.runner.RunWith
2022
import spock.lang.Specification
2123

24+
@RunWith(JUnitPlatform.class)
2225
class OperationsCatalogStoreSupportSpec extends Specification {
2326

2427
private static final String SOURCE_ID = 'test_source'

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/OperationsMetacardSupportSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ import ddf.catalog.transform.InputTransformer
2626
import ddf.mime.MimeTypeMapper
2727
import ddf.mime.MimeTypeToTransformerMapper
2828
import org.codice.ddf.platform.util.uuidgenerator.UuidGenerator
29+
import org.junit.platform.runner.JUnitPlatform
30+
import org.junit.runner.RunWith
2931
import spock.lang.Specification
3032

3133
import java.nio.file.Files
3234
import java.nio.file.Path
3335

36+
@RunWith(JUnitPlatform.class)
3437
class OperationsMetacardSupportSpec extends Specification {
3538
private OperationsMetacardSupport opsMetacard
3639
private FrameworkProperties frameworkProperties

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/OperationsSecuritySupportSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ import ddf.catalog.operation.Operation
1717
import ddf.security.SecurityConstants
1818
import ddf.security.Subject
1919
import org.apache.shiro.util.ThreadContext
20+
import org.junit.platform.runner.JUnitPlatform
21+
import org.junit.runner.RunWith
2022
import spock.lang.Specification
2123

24+
@RunWith(JUnitPlatform.class)
2225
class OperationsSecuritySupportSpec extends Specification {
2326
private OperationsSecuritySupport opsSecurity
2427

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/OperationsStorageSupportSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ import ddf.catalog.content.operation.StorageRequest
2020
import ddf.catalog.history.Historian
2121
import ddf.catalog.source.IngestException
2222
import ddf.catalog.source.SourceUnavailableException
23+
import org.junit.platform.runner.JUnitPlatform
24+
import org.junit.runner.RunWith
2325
import spock.lang.Specification
2426

2527
import java.nio.file.Path
2628

29+
@RunWith(JUnitPlatform.class)
2730
class OperationsStorageSupportSpec extends Specification {
2831
private Historian historian
2932
private SourceOperations sourceOperations

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/QueryOperationsSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,12 @@ import ddf.security.Subject
4141
import ddf.security.audit.SecurityLogger
4242
import ddf.security.permission.impl.PermissionsImpl
4343
import org.apache.commons.collections.CollectionUtils
44+
import org.junit.platform.runner.JUnitPlatform
45+
import org.junit.runner.RunWith
4446
import spock.lang.Shared
4547
import spock.lang.Specification
4648

49+
@RunWith(JUnitPlatform.class)
4750
class QueryOperationsSpec extends Specification {
4851
private static final String SOURCE_ID = "test_source"
4952

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/ResourceOperationsSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ import ddf.catalog.resource.download.ReliableResourceDownloadManager
3434
import ddf.catalog.resource.download.ReliableResourceDownloaderConfig
3535
import ddf.catalog.resourceretriever.ResourceRetriever
3636
import ddf.catalog.source.FederatedSource
37+
import org.junit.platform.runner.JUnitPlatform
38+
import org.junit.runner.RunWith
3739
import spock.lang.Specification
3840
import spock.lang.Unroll
3941

4042
import java.util.concurrent.ExecutorService
4143

44+
@RunWith(JUnitPlatform.class)
4245
class ResourceOperationsSpec extends Specification {
4346
private FrameworkProperties frameworkProperties
4447
private QueryOperations queryOperations

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/SourceOperationsSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ import ddf.catalog.source.Source
2424
import ddf.catalog.source.SourceUnavailableException
2525
import org.codice.ddf.catalog.sourcepoller.SourcePoller
2626
import org.codice.ddf.catalog.sourcepoller.SourceStatus
27+
import org.junit.platform.runner.JUnitPlatform
28+
import org.junit.runner.RunWith
2729
import spock.lang.Ignore
2830
import spock.lang.Specification
2931
import spock.util.concurrent.AsyncConditions
3032

33+
@RunWith(JUnitPlatform.class)
3134
class SourceOperationsSpec extends Specification {
3235
private static final String SOURCE_ID = "test_source"
3336

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/impl/operations/TransformOperationsSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ import ddf.catalog.impl.FrameworkProperties
1919
import ddf.catalog.operation.SourceResponse
2020
import ddf.catalog.transform.MetacardTransformer
2121
import ddf.catalog.transform.QueryResponseTransformer
22+
import org.junit.platform.runner.JUnitPlatform
23+
import org.junit.runner.RunWith
2224
import org.osgi.framework.BundleContext
2325
import org.osgi.framework.InvalidSyntaxException
2426
import org.osgi.framework.ServiceReference
2527
import spock.lang.Specification
2628

29+
@RunWith(JUnitPlatform.class)
2730
class TransformOperationsSpec extends Specification {
2831
private BundleContext bundleContext
2932
private FrameworkProperties frameworkProperties

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/resourceretriever/LocalResourceRetrieverSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ import ddf.catalog.data.types.Core
66
import ddf.catalog.operation.ResourceResponse
77
import ddf.catalog.resource.Resource
88
import ddf.catalog.resource.ResourceReader
9+
import org.junit.platform.runner.JUnitPlatform
10+
import org.junit.runner.RunWith
911
import spock.lang.Specification
1012

13+
@RunWith(JUnitPlatform.class)
1114
class LocalResourceRetrieverSpec extends Specification {
1215

1316
String TEST_SCHEME = "testScheme"

catalog/core/catalog-core-standardframework/src/test/groovy/ddf/catalog/resourceretriever/RemoteResourceRetrieverSpec.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ package ddf.catalog.resourceretriever
1616
import ddf.catalog.operation.ResourceResponse
1717
import ddf.catalog.resource.ResourceNotFoundException
1818
import ddf.catalog.source.RemoteSource
19+
import org.junit.platform.runner.JUnitPlatform
20+
import org.junit.runner.RunWith
1921
import spock.lang.Specification
2022

23+
@RunWith(JUnitPlatform.class)
2124
class RemoteResourceRetrieverSpec extends Specification {
2225
private URI uri
2326
private Map<String, Serializable> props

0 commit comments

Comments
 (0)