That's the original error. I also had issues with the 0.22.x version.

I still am not clear whether I'm referring to the right CodeNarc plugin
version.



On Wed, 8 Jul 2020, 00:02 LINUS FERNANDES, <linus.fernan...@gmail.com>
wrote:

> Ok. Thanks.
>
> My mistake, apparently.
>                  <plugin>
> <groupId>org.codenarc</           groupId>
> <artifactId>CodeNarc</            artifactId>
>  <version>1.6</version>        </plugin>
>
> I've also had issues with the above.
>
>  failed to get report for org.codenarc:CodeNarc: Failed to parse plugin
> descriptor for org.codenarc:CodeNarc:1.6
> (/root/.m2/repository/org/codenarc/CodeNarc/1.6/CodeNarc-1.6.jar): No
> plugin descriptor found at META-INF/maven/plugin.xml -> [Help 1]
>
> What's this about?
>
> Thanks,
> Linus.
>
>
> On Tue, 7 Jul 2020, 22:20 Thomas Broyer, <t.bro...@gmail.com> wrote:
>
>> 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/> <
>> http://xn--nna.ma.xn--bwa-xxb.je/>
>>
>

Reply via email to