Logo Search packages:      
Sourcecode: maven-repo-helper version File versions

void org::debian::maven::repo::POMTransformerTest::testTransformPlexusContainerDefaultPom (  )  throws Exception [inline]

Test of cleanPom method, of class POMCleaner.

Definition at line 71 of file POMTransformerTest.java.

References org::debian::maven::repo::POMTransformer::addDefaultRules(), org::debian::maven::repo::POMTransformer::addRule(), and org::debian::maven::repo::POMTransformer::transformPom().

                                                                          {
        usePom("plexus-container-default.xml");
        POMTransformer instance = new POMTransformer();
        instance.addDefaultRules();
        instance.addRule(new DependencyRule("org.codehaus.plexus plexus-container-default jar s/1\\.0-alpha-.*/1.0-alpha/"));
        instance.transformPom(pom, updatedPom);
        assertXMLEqual(read("plexus-container-default.transformed"), read(updatedPom));
    }


Generated by  Doxygen 1.6.0   Back to index