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

Animal Sniffer doesn't scan dependency library #92

Open
orangesgithub opened this issue Aug 19, 2020 · 0 comments
Open

Animal Sniffer doesn't scan dependency library #92

orangesgithub opened this issue Aug 19, 2020 · 0 comments

Comments

@orangesgithub
Copy link

orangesgithub commented Aug 19, 2020

I want to use Animal Sniffer Maven Plugin (V1.19) to scan the classes from dependencies against the generated signature. Below is the maven configuration. But actually the the dependency classes are not scanned, what is the problem? // Note that the code in current project can be scanned.

    <dependencies>
        <dependency>
            <groupId>XXX</groupId>
            <artifactId>XXXXX</artifactId>
            <version>XXXX</version>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>animal-sniffer-maven-plugin</artifactId>
                <version>1.19</version>
                <configuration>
                    <signature>
                        <groupId>XXX</groupId>
                        <artifactId>signature</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                    </signature>
                    <ignoreDependencies>false</ignoreDependencies>
                    <ignores>
                        <ignore>com.sun.*</ignore>
                        <ignore>sun.*</ignore>
                        <ignore>java.*</ignore>
                    </ignores>
                    <includeDependencies>
                        <dependency>*</dependency>
                    </includeDependencies>
                </configuration>
            </plugin>
        </plugins>
    </build>
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