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.

Reply via email to