Re: outputTimestamp affects project's assemblies

2020-07-07 Thread Lukasz Lenart
You can follow the whole discussion and investigation in the Struts Dev List here [1] [1] https://lists.apache.org/thread.html/rc65b7072c5eaf1a4dbe1b4202efe5274ff2a466fb8bc21d30cd24ed1%40%3Cdev.struts.apache.org%3E Regards Łukasz

does order of dependencies in dependemcymanagement matter?

2020-07-07 Thread 彭宁均
hi, guys! in my team, we use dependencymanagement to manage the version of hundreds dependencies. Now i want to adjust the order of dependencies to make it more clear. So i am wondering does order of dependencies in dependemcymanagement matters? and also, does order of plugins in pluginmanagemen

outputTimestamp affects project's assemblies

2020-07-07 Thread Lukasz Lenart
Hi, I used to prepared a new test build for Apache Struts 2.5.23 and one of our committers noticed that the timestamps in the assemblies (zip files with libs, src, etc) have been set to a strange date from January. After investigating further we found the core issue [1] - as we use Apache Maste

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

2020-07-07 Thread LINUS FERNANDES
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.internal.loader.ClassLoaders$PlatformClassLoader,jdk.internal.loader.URLClassPath) accessible: module java.base does not "opens jd

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.codenarc > CodeNarc > 1

Re: Help with shading jar

2020-07-07 Thread Russell Gold
Are they part of the same build? Can you create a minimal example and post it to GitHub? There’s really not enough detail to understand what you are trying to do. > On Jul 2, 2020, at 5:18 PM, Quiyan H wrote: > > Hi All > I am stuck with one shading stuff, Need help if there is known way out.

Maven-Artifact-Transfer Lookup Errors With org.eclipse.aether Classes

2020-07-07 Thread Ian Lavallee
Hi all, When adding maven-resolver-api:1.4.2 to maven-dependency-plugin and changing nothing else I get multiple test failures due to plexus lookup errors in maven-artifact-transfer. The errors in artifact-transfer occur when looking up org.eclipse.aether versions of classes. The classes that ha

Re: dependency:tree without building the project (why does dependency:tree needs project artifacts installed?)

2020-07-07 Thread Nick Stolwijk
That was not a workaround, but me trying to reproduce the problem. I wasn't able to reproduce it. All the artifacts in the reactor could be found without building them. Are you maybe trying to only build one module instead of the reactor? With regards, Nick Stolwijk ~~~ Try to leave this world

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

2020-07-07 Thread Thomas Broyer
This is not a Maven plug-in either. A quick Google search surfaced https://gleclaire.github.io/codenarc-maven-plugin/ though. Le mar. 7 juil. 2020 à 20:33, LINUS FERNANDES a écrit : > Ok. Thanks. > > My mistake, apparently. >org.codenarc grou

Re: dependency:tree without building the project (why does dependency:tree needs project artifacts installed?)

2020-07-07 Thread Francois Marot
Hello, maybe the workaround indicated here will help you: http://maven.40175.n5.nabble.com/Finding-SNAPSHOT-dependencies-without-compiling-first-td5998636.html#a5998639 But I'm not confident on the rasons why it works like this... *- - - - -François Marot* On Mon, 6 Jul 2020 at 23:16, Anton Vo

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

2020-07-07 Thread LINUS FERNANDES
Ok. Thanks. My mistake, apparently. org.codenarc CodeNarc 1.6 I've also had issues with the above. failed to get report for org.codenarc:CodeNarc: Failed to parse plugin descriptor f

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

2020-07-07 Thread Thomas Broyer
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 wrote: > I'm trying to use the following maven plugin to run static code analysis on > groovy scripts. > > > org.grails.plugins > codenarc >

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 écrit : > > I'm trying to use the f

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

2020-07-07 Thread Francois Papon
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 écrit : > I'm trying to use the following maven plugin to run static code analysis on > groovy scripts. > > > org.grails.plugins > codenarc >

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: 'mvn clean test' crashes

2020-07-07 Thread Gary Gregory
I've tried to deal with JVM crashes in the FailSafe (I was not having the problem in SureFire) plugin by using: org.apache.maven.plugins maven-failsafe-plugin ${hmp.failsafe.version} 1 false and then defining the plugin v

Re: 'mvn clean test' crashes

2020-07-07 Thread Mukul Gandhi
Hi Gary, On Sun, Jul 5, 2020 at 6:52 PM Gary Gregory wrote: You could try to set the fork count to 1. > As per Maven documentation, 'The default setting is forkCount=1/reuseForks=true'. Even when I explicitly specify these values within my Maven project's pom, I get the same build error that I

Profile activation depending on presence of toolchains file

2020-07-07 Thread Andreas Sewe
Hi, Maven allows the user to specify a toolchains file via its --toolchains parameter (defaulting to ~/.m2/toolchains.xml). While useful, this ability to override the file's location is unfortunately a problem if one wants to make the use of the maven-toolchains-plugin *conditional* upon the pres