Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencyArtifacts is null #21

Open
ryber opened this issue Dec 24, 2018 · 0 comments
Open

dependencyArtifacts is null #21

ryber opened this issue Dec 24, 2018 · 0 comments

Comments

@ryber
Copy link

ryber commented Dec 24, 2018

Hello, I'm working on a plugin that analyzes the dependencies.

When running the tests the dependencyArtifacts MavenProject is null. I assume this is getting stubbed out somehow as it would require IO?

Here is my test:

@Test
    public void test() throws Exception {
        File basedir = resources.getBasedir("basic");
        maven.executeMojo(basedir, "audit");
        assertFilesPresent(basedir, "target/output.txt");
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant