Hi Guys, 

I have maven project in which I am using CheckStyle plugin. It works fine when 
i run it from command line, it generates the checkstyle xml report. 

However when i run it from Jenkins it shows following error. 
The plugin 'org.apache.maven.plugins:maven-checkstyle-plugin' does not exist or 
no valid version could be found

I am not able to figure out why it is showing this error, as this plugin is 
present under installed plugins. 
Following is the config file I am using.
 
        <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>2.10</version>
                <configuration>
                        <sourceDirectory>src</sourceDirectory>
                </configuration>
        </plugin>  

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to