type does not work with plugins, only dependencies, if I'm not mistaken.


On Tue, 7 Jul 2020, 21:35 Francois Papon, <francois.pa...@openobject.fr>
wrote:

> Hi,
>
> May be you can try with <type>zip</type> and/or <classifier>
>
> regards,
>
> François
> fpa...@apache.org
>
> Le 07/07/2020 à 17:42, LINUS FERNANDES a écrit :
> > 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.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to