Re: Plugin goals executed twice over in mvn site

2021-02-15 Thread LINUS FERNANDES
Well, I've added my plaint to the above issue. On Mon, 15 Feb 2021, 12:40 LINUS FERNANDES, wrote: > How is surefire related to the above executions of the plugins I listed? > Surefire does not execute when mvn site is invoked. > > On Mon, 15 Feb 2021, 10:57 Delany, wrote: >

Re: Plugin goals executed twice over in mvn site

2021-02-14 Thread LINUS FERNANDES
gt; On Mon, 15 Feb 2021 at 05:27, LINUS FERNANDES > wrote: > > > The following is my pom file located at: > > > > https://raw.githubusercontent.com/Fernal73/DSAlgos/master/pom.xml > > > > > > Can you tell me what's causing the following plugins to

Plugin goals executed twice over in mvn site

2021-02-14 Thread LINUS FERNANDES
The following is my pom file located at: https://raw.githubusercontent.com/Fernal73/DSAlgos/master/pom.xml Can you tell me what's causing the following plugins to be executed twice in sequence with the command mvn site? mvn i.e., normal build is as expected. The plugins (and goals) executed

Re: How to download zip instead of jar from maven repo...

2020-07-09 Thread LINUS FERNANDES
Thanks, John, for your help. On Fri, 10 Jul 2020, 05:41 LINUS FERNANDES, wrote: > Somebody else seems to have had the same idea. > > > http://groovy.329449.n5.nabble.com/who-have-the-experience-using-Checkstyle-or-PMD-with-groovy-code-td360895.html > > > On Fri, 10

Re: How to download zip instead of jar from maven repo...

2020-07-09 Thread LINUS FERNANDES
Somebody else seems to have had the same idea. http://groovy.329449.n5.nabble.com/who-have-the-experience-using-Checkstyle-or-PMD-with-groovy-code-td360895.html On Fri, 10 Jul 2020, 05:35 LINUS FERNANDES, wrote: > I guess I can try that. But I'd really not like to revert to JDK

Re: How to download zip instead of jar from maven repo...

2020-07-09 Thread LINUS FERNANDES
ava/Example.groovy > Console console=System.console(); > def name=console.readLine("What is your name? ") > println "Welcome to Groovy, $name!" > > John > > On Thu, 9 Jul 2020 at 05:44, LINUS FERNANDES > wrote: > > > > Does anyone have a work

Re: How to download zip instead of jar from maven repo...

2020-07-08 Thread LINUS FERNANDES
Does anyone have a working Maven configuration for CodeNarc for groovy scripts static analysis? Much appreciated if you share the same. Else, I'll just have to forget about it. On Wed, 8 Jul 2020, 12:58 LINUS FERNANDES, wrote: > I tried adding the following dependencies to the plu

Re: How to download zip instead of jar from maven repo...

2020-07-08 Thread LINUS FERNANDES
resolve it and the second fails because : plugin org.codehaus.mojo:codenarc-maven-plugin:0.22-1 or one of its dependencies could not be resolved: Could not find artifact org.testng:testng:jar:7.2.0 in central (https://repo.maven.apache.org/maven2 ) On Wed, 8 Jul 2020, 12:43 LINUS FERNANDES, wrote

Re: How to download zip instead of jar from maven repo...

2020-07-08 Thread LINUS FERNANDES
I'm using Jdk 11. On Wed, 8 Jul 2020, 07:11 LINUS FERNANDES, wrote: > I get the following error for code narc version 0.16 and 0.17 as set in > the configuration. > > > > > ERROR: Unable to make > jdk.internal.loader.ClassLoaders$AppClassLoader(jdk.inte

Re: How to download zip instead of jar from maven repo...

2020-07-07 Thread LINUS FERNANDES
[java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) Additionally, the Github repo at https://github.com/gleclaire/codenarc-maven-plugin/ has been archived by the owner. On Wed, 8 Jul 2020, 06:24 LINUS FERNANDES, wrote: > T

Re: How to download zip instead of jar from maven repo...

2020-07-07 Thread LINUS FERNANDES
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, wrote: > Ok. Thanks. > > My mistake, apparently. > > org.code

Re: How to download zip instead of jar from maven repo...

2020-07-07 Thread LINUS FERNANDES
plugin. > http://grails.org/plugin/codenarc > > On Tue, Jul 7, 2020 at 5:42 PM LINUS FERNANDES > wrote: > > > I'm trying to use the following maven plugin to run static code analysis > on > > groovy scripts. > > > > > > org.g

Re: How to download zip instead of jar from maven repo...

2020-07-07 Thread LINUS FERNANDES
type does not work with plugins, only dependencies, if I'm not mistaken. On Tue, 7 Jul 2020, 21:35 Francois Papon, wrote: > Hi, > > May be you can try with zip and/or > > regards, > > François > fpa...@apache.org > > Le 07/07/2020 à 17:42, LINUS FERNANDES a

How to download zip instead of jar from maven repo...

2020-07-07 Thread LINUS FERNANDES
I'm trying to use the following maven plugin to run static code analysis on groovy scripts. org.grails.plugins codenarc 1.6 I added the plugin repositories as below since it's not hosted on the superPom's repos. grails-plugins

Re: CPD goal in maven plugin does not support txt format.

2020-07-04 Thread LINUS FERNANDES
Filled out two bug reports: https://issues.apache.org/jira/plugins/servlet/mobile#issue/MPMD-306 https://issues.apache.org/jira/plugins/servlet/mobile#issue/MPMD-305 On Sat, 4 Jul 2020, 11:40 LINUS FERNANDES, wrote: > Isn't the Maven plugin supposed to give me the same kind of out

Re: CPD goal in maven plugin does not support txt format.

2020-07-04 Thread LINUS FERNANDES
erforms more to your liking. > > >> It also generates a cpd.xml file. > > Always. It says that right in the code: > > https://github.com/apache/maven-pmd-plugin/blob/master/src/main/java/org/apache/maven/plugins/pmd/CpdReport.java#L311 > > // always create XML format. we nee

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
src/main/java/net/sourceforge/pmd/renderers/TextRenderer.java > > Try "text" instead of "txt". > > On Fri, Jul 3, 2020 at 2:18 AM LINUS FERNANDES > wrote: > > > If this is a bug, where do I file it? > > > > On Fri, 3 Jul 2020, 11:46 LI

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
Thanks, Greg. On Sat, 4 Jul 2020, 04:05 LINUS FERNANDES, wrote: > The goals need an output file name as well, I think. > > On Sat, 4 Jul 2020, 03:52 LINUS FERNANDES, > wrote: > >> Any particular reason why Maven developers don't seem to like outputting >> text outp

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
The goals need an output file name as well, I think. On Sat, 4 Jul 2020, 03:52 LINUS FERNANDES, wrote: > Any particular reason why Maven developers don't seem to like outputting > text output? I see something similar with the Spotbugs plugin. There's no > text output either and the X

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
> https://github.com/pmd/pmd/blob/master/pmd-core/src/main/java/net/sourceforge/pmd/renderers/TextRenderer.java > > > > Try "text" instead of "txt". > > > > On Fri, Jul 3, 2020 at 2:18 AM LINUS FERNANDES < > linus.fernan...@gmail.com> &g

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
If this is a bug, where do I file it? On Fri, 3 Jul 2020, 11:46 LINUS FERNANDES, wrote: > > I receive the following message while using the cpd goal in the PMD maven > plugin. > > maven.plugins:maven-pmd-plugin:3.13.0:cpd (cpd) on project DSAlgos: > Exe

CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
I receive the following message while using the cpd goal in the PMD maven plugin. maven.plugins:maven-pmd-plugin:3.13.0:cpd (cpd) on project DSAlgos: Execution cpd of goal org.apache.maven.plugins:maven-pmd-plugin:3.13.0:cpd failed: org.apache.maven.reporting.MavenReportException: Can't find CPD

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-26 Thread LINUS FERNANDES
here I will be there the whole day (Paris timezone) to help > people > wanting to contribute: > see https://paris2020.hack-commit-pu.sh/ > > Regards, > > Hervé > > Le vendredi 26 juin 2020, 03:21:33 CEST LINUS FERNANDES a écrit : > > While the exec maven plugin will sat

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-25 Thread LINUS FERNANDES
FERNANDES, wrote: > I think exec maven plugin might need my requirements better of not adding > Checkstyle jars to the project's dependencies. I'll have to test that out, > though. > > On Thu, 25 Jun 2020, 14:33 LINUS FERNANDES, > wrote: > >> I've raised a

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-25 Thread LINUS FERNANDES
I think exec maven plugin might need my requirements better of not adding Checkstyle jars to the project's dependencies. I'll have to test that out, though. On Thu, 25 Jun 2020, 14:33 LINUS FERNANDES, wrote: > I've raised a feature request at > https://issues.apache.org/jira/browse/MCHEC

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-25 Thread LINUS FERNANDES
I've raised a feature request at https://issues.apache.org/jira/browse/MCHECKSTYLE-396 Regards, Linus. On Thu, 25 Jun 2020, 14:19 LINUS FERNANDES, wrote: > Thanks, that resolves the issue with running the goal as > antrun:run@checkstyleg. > > Regards, > Linus. > > On Th

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-25 Thread LINUS FERNANDES
pull request. > > Looking at the ant configuration, you could just use the plugin > classpath in your java task: > > https://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html > > > Am Do., 25. Juni 2020 um 09:16 Uhr schrieb LINUS FERNANDES > : > >

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-25 Thread LINUS FERNANDES
of the project while including the supporting jars? On Thu, 25 Jun 2020, 12:46 LINUS FERNANDES, wrote: > I would like to create a feature request---evidently. > > This is something that impacts the ant and Gradle tasks as well. > > I'm not sure where to make this requ

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-25 Thread LINUS FERNANDES
al"? In the maven build > or inside your java code? This will also make a difference. > If it is the latter, you can just pull in the plugin as a regular > dependency. > You can make it optional or provided (or both) if you do not need it at > runtime. > > Am Do., 2

Re: Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-24 Thread LINUS FERNANDES
My usecase is that I need to execute a feature available in Checkstyle that's not provided as a goal in its plugin. For that, I need access to the dependency classpath (latest version always). Then I can execute the feature using the Ant Run plugin. On Thu, 25 Jun 2020, 06:51 LINUS FERNANDES

Access or generate a classpath for dependency not in any scope but attached to plugin.

2020-06-24 Thread LINUS FERNANDES
Is it possible to generate a classpath for a dependency not placed in the dependencyManagement and/or dependencies section but is attached to a plugin used by the project? I know it's possible to generate a path to the local repository and look for the latest version directory and specify the

Re: Re: How to make plugin part of default build in Maven.

2020-06-18 Thread LINUS FERNANDES
Ok. Thanks. >From what I understand, the pluginManagement section is all about configuration management of the pom's plugins and how they can be used in the current and child poms. Thanks again. On Thu, 18 Jun 2020, 11:35 Thorsten Heit, wrote: > Hi Linus, > > > Thanks, Thorsten. > > That

Re: How to make plugin part of default build in Maven.

2020-06-17 Thread LINUS FERNANDES
Thanks, Thorsten. That worked perfectly. I feel like an idiot. What's the difference between the two? Why doesn't pluginmanagement recognise the added plugins? Any documentation? Regards, Linus. On Thu, 18 Jun 2020, 10:33 Thorsten Heit, wrote: > Hi, > > > I've just started working with

How to make plugin part of default build in Maven.

2020-06-17 Thread LINUS FERNANDES
I've just started working with Maven and this is my initial pom configuration. http://maven.apache.org/POM/4.0.0; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> 4.0.0 ds DSAlgos