diff --git a/tycho-extras/tycho-pomless/pom.xml b/tycho-extras/tycho-pomless/pom.xml index 3cb32bd339..b0e61d11a9 100644 --- a/tycho-extras/tycho-pomless/pom.xml +++ b/tycho-extras/tycho-pomless/pom.xml @@ -34,7 +34,7 @@ io.takari.polyglot polyglot-common - 0.4.11 + 0.5.0 org.eclipse.sisu diff --git a/tycho-extras/tycho-pomless/src/test/java/org/eclipse/tycho/pomless/TychoMappingTest.java b/tycho-extras/tycho-pomless/src/test/java/org/eclipse/tycho/pomless/TychoMappingTest.java index f10eafbd9a..7d14079598 100644 --- a/tycho-extras/tycho-pomless/src/test/java/org/eclipse/tycho/pomless/TychoMappingTest.java +++ b/tycho-extras/tycho-pomless/src/test/java/org/eclipse/tycho/pomless/TychoMappingTest.java @@ -15,6 +15,8 @@ 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; @@ -22,6 +24,13 @@ 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);