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

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

Test of cleanPom method, of class POMCleaner.

Definition at line 30 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("maven-core.xml");
        boolean noParent = false;
        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, noParent, false, null, "maven2");
        assertXMLEqual(read("maven-core.transformed"), read(updatedPom));
    }


Generated by  Doxygen 1.6.0   Back to index