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

CustomInjectionSource.properties not found #42

Closed
dcsobral opened this issue Apr 23, 2015 · 1 comment
Closed

CustomInjectionSource.properties not found #42

dcsobral opened this issue Apr 23, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@dcsobral
Copy link

Getting a weird error when running findbugs with findsecbugs:

[INFO] >>> findbugs-maven-plugin:3.0.0:check (default) > :findbugs @ rrCommon >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:findbugs (findbugs) @ rrCommon ---
[INFO] Fork Value is true
     [java] Apr 23, 2015 4:50:12 PM com.h3xstream.findsecbugs.injection.custom.CustomInjectionSource getInjectionSourceProperties
     [java] SEVERE: com/h3xstream/findsecbugs/injection/custom/CustomInjectionSource.properties not found.
[INFO] Done FindBugs Analysis....

Relevant parts of my configuration

    <plugin.codehaus.findbugs.version>3.0.0</plugin.codehaus.findbugs.version>                       
    <!-- and related plugins -->                                                                     
    <plugin.h3xstream.findsecbugs.version>1.4.0</plugin.h3xstream.findsecbugs.version>               
    <plugin.mebigfatguy.fb-contrib.version>6.0.0</plugin.mebigfatguy.fb-contrib.version>             

        <plugin>                                                                                     
          <groupId>org.codehaus.mojo</groupId>                                                       
          <artifactId>findbugs-maven-plugin</artifactId>                                             
          <version>${plugin.codehaus.findbugs.version}</version>                                     
          <configuration>                                                                            
            <plugins>                                                                                
              <plugin>                                                                               
                <groupId>com.h3xstream.findsecbugs</groupId>                                         
                <artifactId>findsecbugs-plugin</artifactId>                                          
                <version>${plugin.h3xstream.findsecbugs.version}</version>                           
              </plugin>                                                                              
              <plugin>                                                                               
                <groupId>com.mebigfatguy.fb-contrib</groupId>                                        
                <artifactId>fb-contrib</artifactId>                                                  
                <version>${plugin.mebigfatguy.fb-contrib.version}</version>                          
              </plugin>                                                                              
            </plugins>                                                                               
          </configuration>                                                                           
        </plugin>                                                                                    

@h3xstream
Copy link
Member

Unless your have create custom injection rules. This configuration is totally optional.
On the other hand, the severity of the logged message should be change to WARNING or even INFO.
It will be added to the small fixes of 1.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants