o turning this test off as the much stricter lookups require this be adjusted. it's a feature no one uses in this way yet.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2008-11-19 03:21:07 +00:00
parent 17d68dbce5
commit a461aa6137
2 changed files with 17 additions and 21 deletions

View File

@ -1,17 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE
contributor license agreements. See the NOTICE file distributed with file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
this work for additional information regarding copyright ownership. to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
The ASF licenses this file to you under the Apache License, Version the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
2.0 (the "License"); you may not use this file except in compliance applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
with the License. You may obtain a copy of the License at WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
http://www.apache.org/licenses/LICENSE-2.0 Unless required by governing permissions and limitations under the License.
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.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
@ -78,6 +73,16 @@
<filtering>true</filtering> <filtering>true</filtering>
</resource> </resource>
</resources> </resources>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/TestComponentOverride.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build> </build>
<profiles> <profiles>
<profile> <profile>

View File

@ -51,15 +51,6 @@ public class TestComponentOverride
request.addExtension( new File( basedir, "src/test/extensions" ).toURI().toURL() ); request.addExtension( new File( basedir, "src/test/extensions" ).toURI().toURL() );
// register callback to get a hold of the container
request.setConfigurationCustomizer( new ContainerCustomizer()
{
public void customize( PlexusContainer container )
{
TestComponentOverride.this.container = container;
}
} );
maven = new MavenEmbedder( request ); maven = new MavenEmbedder( request );
} }