This is a Grails plugin, not a Maven plugin. http://grails.org/plugin/codenarc
On Tue, Jul 7, 2020 at 5:42 PM LINUS FERNANDES <linus.fernan...@gmail.com> wrote: > I'm trying to use the following maven plugin to run static code analysis on > groovy scripts. > > <plugin> > <groupId>org.grails.plugins</groupId> > <artifactId>codenarc</artifactId> > <version>1.6</version> > </plugin> > > I added the plugin repositories as below since it's not hosted on the > superPom's repos. > > <pluginRepositories> > <pluginRepository> > <id>grails-plugins</id> > <name>Grails Plugins Repository</name> > <url>https://repo.grails.org/grails/plugins</url> > </pluginRepository> > </pluginRepositories> > > However, I encounter an error downloading the dependencies since maven > expects a codenarc:jar file but a zip file is provided instead. > > How do I force Maven to download the zip file instead, preferably > configuring it within the pom? > > > Regards, > Linus. > -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>