Examples of redirectSourceDirectories()


Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

        swizzleCloverDependencies();
        addCloverDependencyToCompileClasspath();

        // Modify Maven model so that it points to the new source directories and to the clovered
        // artifacts instead of the original values.
        mainInstrumenter.redirectSourceDirectories();
        if ( this.includesTestSourceRoots )
        {
            testInstrumenter.redirectSourceDirectories();
        }
        redirectOutputDirectories();
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

        addCloverDependencyToCompileClasspath();
        swizzleCloverDependencies();
       
        // Modify Maven model so that it points to the new source directories and to the clovered
        // artifacts instead of the original values.
        String originalSrcDir = mainInstrumenter.redirectSourceDirectories();
        originalSrcMap.put(getProject().getArtifactId(), originalSrcDir);
        if ( this.includesTestSourceRoots )
        {
            String originalSrcTestDir = testInstrumenter.redirectSourceDirectories();
            originalSrcTestMap.put(getProject().getArtifactId(), originalSrcTestDir);
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

    public static void resetSrcDirsOriginal(Artifact artifact, CompilerConfiguration config) {
        if (originalSrcMap.containsKey(artifact)) {
            final String sourceDirectory = (String) originalSrcMap.get(artifact);
            MainInstrumenter mainInstrumenter =
                    new MainInstrumenter(config, sourceDirectory);
            mainInstrumenter.redirectSourceDirectories();

        }
        if (originalSrcTestMap.containsKey(artifact)) {
            final String testDirectory = (String)originalSrcTestMap.get(artifact);
            TestInstrumenter instrumenter =
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

        injectGrover(outDir);

        swizzleCloverDependencies();
        // Modify Maven model so that it points to the new source directories and to the clovered
        // artifacts instead of the original values.
        String originalSrcDir = mainInstrumenter.redirectSourceDirectories();
        originalSrcMap.put(getProject().getId(), originalSrcDir);
        if ( this.includesTestSourceRoots )
        {
            String originalSrcTestDir = testInstrumenter.redirectSourceDirectories();
            originalSrcTestMap.put(getProject().getId(), originalSrcTestDir);
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

    public static void resetSrcDirsOriginal(Artifact artifact, CompilerConfiguration config) {
        if (originalSrcMap.containsKey(artifact.getId())) {
            final String sourceDirectory = (String) originalSrcMap.get(artifact.getId());
            MainInstrumenter mainInstrumenter = new MainInstrumenter(config, sourceDirectory);
            mainInstrumenter.redirectSourceDirectories();

        }
        if (originalSrcTestMap.containsKey(artifact.getId())) {
            final String testDirectory = (String) originalSrcTestMap.get(artifact.getId());
            TestInstrumenter instrumenter = new TestInstrumenter(config, testDirectory);
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

        injectGrover(outDir);

        swizzleCloverDependencies();
        // Modify Maven model so that it points to the new source directories and to the clovered
        // artifacts instead of the original values.
        String originalSrcDir = mainInstrumenter.redirectSourceDirectories();
        originalSrcMap.put(getProject().getId(), originalSrcDir);
        if ( this.includesTestSourceRoots )
        {
            String originalSrcTestDir = testInstrumenter.redirectSourceDirectories();
            originalSrcTestMap.put(getProject().getId(), originalSrcTestDir);
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

    public static void resetSrcDirsOriginal(Artifact artifact, CompilerConfiguration config) {
        if (originalSrcMap.containsKey(artifact.getId())) {
            final String sourceDirectory = (String) originalSrcMap.get(artifact.getId());
            MainInstrumenter mainInstrumenter = new MainInstrumenter(config, sourceDirectory);
            mainInstrumenter.redirectSourceDirectories();

        }
        if (originalSrcTestMap.containsKey(artifact.getId())) {
            final String testDirectory = (String) originalSrcTestMap.get(artifact.getId());
            TestInstrumenter instrumenter = new TestInstrumenter(config, testDirectory);
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

        // deal with '-clover' artifacts in dependencies
        swizzleCloverDependencies();

        // Modify Maven model so that it points to the new source directories and to the clovered
        // artifacts instead of the original values.
        final String originalSrcDir = mainInstrumenter.redirectSourceDirectories();
        originalSrcMap.put(getProject().getId(), originalSrcDir);
        if (this.includesTestSourceRoots) {
            final String originalSrcTestDir = testInstrumenter.redirectSourceDirectories();
            originalSrcTestMap.put(getProject().getId(), originalSrcTestDir);
        }
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

    public static void resetSrcDirsOriginal(final Artifact artifact, final CompilerConfiguration config) {
        if (originalSrcMap.containsKey(artifact.getId())) {
            final String sourceDirectory = originalSrcMap.get(artifact.getId());
            MainInstrumenter mainInstrumenter = new MainInstrumenter(config, sourceDirectory);
            mainInstrumenter.redirectSourceDirectories();

        }
        if (originalSrcTestMap.containsKey(artifact.getId())) {
            final String testDirectory = originalSrcTestMap.get(artifact.getId());
            TestInstrumenter instrumenter = new TestInstrumenter(config, testDirectory);
View Full Code Here

Examples of com.atlassian.maven.plugin.clover.internal.instrumentation.MainInstrumenter.redirectSourceDirectories()

        injectGrover(outDir);

        swizzleCloverDependencies();
        // Modify Maven model so that it points to the new source directories and to the clovered
        // artifacts instead of the original values.
        String originalSrcDir = mainInstrumenter.redirectSourceDirectories();
        originalSrcMap.put(getProject().getArtifactId(), originalSrcDir);
        if ( this.includesTestSourceRoots )
        {
            String originalSrcTestDir = testInstrumenter.redirectSourceDirectories();
            originalSrcTestMap.put(getProject().getArtifactId(), originalSrcTestDir);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.