Skip to content

Commit

Permalink
adapt test case to enable classpath scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Nov 4, 2023
1 parent f353f64 commit 3dbfb16
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,22 @@

import java.io.File;

import org.codehaus.plexus.ContainerConfiguration;
import org.codehaus.plexus.PlexusConstants;
import org.codehaus.plexus.PlexusTestCase;
import org.sonatype.maven.polyglot.PolyglotModelManager;

public class TychoMappingTest extends PlexusTestCase {

private PolyglotModelManager polyglotModelManager;

@Override
protected void customizeContainerConfiguration(ContainerConfiguration configuration) {
super.customizeContainerConfiguration(configuration);
configuration.setAutoWiring(true);
configuration.setClassPathScanning(PlexusConstants.SCANNING_ON);
}

@Override
protected void setUp() throws Exception {
polyglotModelManager = lookup(PolyglotModelManager.class);
Expand Down

0 comments on commit 3dbfb16

Please sign in to comment.