Re: Can properties be inherited like I expect them to be?

2024-04-21 Thread Gary Gregory
iven a project can be built only with Java8+ this should be ok. > > T > > On Sun, Apr 21, 2024 at 4:03 PM Gary Gregory wrote: > > > Hi, > > > > A POM can't seem to inherit a parent POM configuration with properties > > redefined in a child POM profile. > >

Can properties be inherited like I expect them to be?

2024-04-21 Thread Gary Gregory
Hi, A POM can't seem to inherit a parent POM configuration with properties redefined in a child POM profile. Am I doing something wrong? For example: git clone https://gitbox.apache.org/repos/asf/commons-bcel.git cd commons-bcel git checkout eba45c05365fc89b0007296fc3ee188cca5d091d maven This

Re: Maven & Github codespaces

2024-04-01 Thread Gary Gregory
How about XInclude? Gary On Mon, Apr 1, 2024, 7:40 AM Tommy Svensson wrote: > Hello Tamás, > > The problem is in mixin-maven-plugin which I found on GitHub and is 5 > years old! In this world that is a lot :-). It suddenly fails to find a > "StringUtils" package that does not seem to exist in

Re: How to include only certain test packages in a maven test-jar & all non test code in a non test jar?

2024-03-22 Thread Gary Gregory
I think the "simple" solution is to use 2 maven modules, then you don't need to do anything special. The layout does not make sense to me so I must be missing something. If the common code is needed for both main and test, then it should be in main. You can put that common code in its own package

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Gary Gregory
The one I use the most from the command line is "tree" ( https://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html) I wish I could say "ignore test scope" to help me understand my runtime dependencies better. Gary On Thu, Mar 21, 2024, 12:06 PM Tamás Cservenák wrote: > Howdy, >

Re: [VOTE] Require Java 17 for Maven 4

2024-02-28 Thread Gary Gregory
+1 Also good idea to remind folks to stay focused in a vote thread. Gary On Wed, Feb 28, 2024, 2:31 AM Benjamin Marwell wrote: > Hi Maven Devs/Users/Committers and PMC members! > > After several discussions on the mailing lists, I would like to > start a vote in favour of setting the minimal

Re: Maven 4.0 release timeline

2023-12-19 Thread Gary Gregory
As a fly on the wall here, not a dev, I think a kinder view would reinterpret Maven's position not as "ridiculous" but rather "down-priority", as in "we are busy, we like fixing bugs, adding features, and scheduling things is not as important, otherwise this would turn into a real job ;-)" Gary

Re: Pure curiosity

2023-11-19 Thread Gary Gregory
and its quirks. > > > > > > > > -- > >/_ Joe Kesselman (he/him/his) > > -/ _) My Alexa skill for New Music/New Sounds fans: > >/ https://www.amazon.com/dp/B09WJ3H657/ > > > > Caveat: Opinionated old geezer with overcompensated writer's block

Re: Pure curiosity

2023-11-19 Thread Gary Gregory
a skill for New Music/New Sounds fans: >/ https://www.amazon.com/dp/B09WJ3H657/ > > Caveat: Opinionated old geezer with overcompensated writer's block. May be > redundant, verbose, prolix, sesquipedalian, didactic, officious, or > redundant. > ___

Re: Pure curiosity

2023-11-19 Thread Gary Gregory
You can get an idea by downloading the source zip file from https://maven.apache.org/download.cgi and and counting something like Java source files or kilobytes' worth of Java files, or LoCs... FWIW, I see Gradle mentioned here and there in our issues. Using Gradlebwould be a huge mistake IMO...

Re: mvn as used in Eclipse m2e gets parse error because of mistake in Maven 4.0.0 schema

2023-10-17 Thread Gary Gregory
I've seen that in Eclipse for a long time. Gary On Tue, Oct 17, 2023, 2:57 PM David Karr wrote: > I have a feeling this has been covered before, but I'll ask just in case. > > I have a pom.xml that inherits from a parent pom, and the child pom has the > following plugin definition: >

Re: moditect-maven-plugin: duplicate package export by Maven?

2023-10-02 Thread Gary Gregory
It kind of looks like Maven jars deliver overlapping packages which is a no-go in JPMS. Gary On Mon, Oct 2, 2023 at 8:20 AM sebb wrote: > > Apache Commons Build Plugin fails to build: > > [INFO] --- moditect-maven-plugin:1.0.0.Final:add-module-info > (add-module-infos) @ commons-build-plugin

Re: [DISCUSSION] Multi platform deploys/releases

2023-06-25 Thread Gary Gregory
Over at the Apache Commons project, we have two components: Commons Daemon and Commons Crypto. On top of JAR files, these components produce native binary libraries for various OSs (Windows, macOS, Linux) and are brutally complicated to release. It could be possible to improve these builds using

Re: improving the Maven BOM pattern

2023-06-14 Thread Gary Gregory
I am wondering if you've looked at the CycloneDx and SPDX Maven plugins? These two seem to be the most used ATM for SBOMs. Gary On Wed, Jun 14, 2023, 19:05 Garret Wilson wrote: > Hi, everyone. I understand this list to be a general forum for Apache > Maven users, so as such I'm sharing some

Re: Versions maven plugin

2023-05-27 Thread Gary Gregory
You'll need to know what the binary compatibility policy is for this plugin. Gary On Sat, May 27, 2023, 02:57 Andrzej wrote: > Hi all, > > I've been looking at Versions Maven Plugin and I can say that there are a > few places that could use some refactoring. > > For example, VersionDetails and

Re: Using the deploy plugin to deploy an Ant-built jar to Nexus

2023-04-29 Thread Gary Gregory
Thank you for the quick response Tamás! Yet there is one :-( as confirmed by infra in the ticket. Gary On Sat, Apr 29, 2023, 12:43 Tamás Cservenák wrote: > From repository.a.o logs: > Got exception during processing request "PUT > >

[site] Site plugin 4.0.0-M3 does not run templates?

2022-08-31 Thread Gary Gregory
Hi All: In order to not run into Apache RAT plugin problems mentioned here before [1], I run the latest Maven site plugin. While this solves the issue, this causes other problems like it apparently not running templates, I think. To reproduce git clone

Re: Eclipse support for Maven modules

2021-12-27 Thread Gary Gregory
Once the Eclipse m2e plugin imports a Maven project, it will create for you a .project file, a .classpath file and possibly a .settings folder. Those are your Eclipse artifacts. Gary On Mon, Dec 27, 2021 at 10:30 AM Ed Dowgiallo wrote: > Slawomir, > > Yes, all works fine at command line. All

Re: Wrong site skin in 3.8.2 vs 3.6.3

2021-08-24 Thread Gary Gregory
Thanks for the pointer, I'll watch the issue... On Tue, Aug 24, 2021, 10:24 Slawomir Jaranowski wrote: > Hi > > probably this is reason > > https://issues.apache.org/jira/browse/MNG-7215 > > wt., 24 sie 2021, 15:54 użytkownik Gary Gregory > napisał: > > >

Wrong site skin in 3.8.2 vs 3.6.3

2021-08-24 Thread Gary Gregory
When I build git master of Apache Commons DBCP, I get the old site skin with 'mvn clean install site' using 3.8.2. All is well in 3.6.3. I did not take the time to dig in, running off to a meeting... Gary

Re: Profile pitfall or user error?

2021-08-01 Thread Gary Gregory
I found a workaround by declaring the toolsJar property in the project properties instead of the profile itself. I suppose I was looking for "local" profile properties which obviously is not a thing in Maven ;-) Gary On Sun, Aug 1, 2021 at 1:35 PM Gary Gregory wrote: > Hi Al

Profile pitfall or user error?

2021-08-01 Thread Gary Gregory
Hi All: I want to use a property in a profile in a Java 8 Maven 3.8.1 project, but it does not work within a file activation element. In the example below this file activation works: ${java.home}/../lib/tools.jar but this one does not: ${toolsJar} The profile: jdk9

Re: Maven Plugins & Confusing Versioning

2020-10-06 Thread Gary Gregory
On Tue, Oct 6, 2020 at 7:46 AM Thomas Broyer wrote: > (sorry for the delay) > > On Sat, Oct 3, 2020 at 5:27 PM Karl Heinz Marbaise > wrote: > > > Hi, > > > > On 03.10.20 11:47, Thomas Broyer wrote: > > > Wait, you mean that you don't even follow your own rules for versions > ⁉️ > > > where

Re: 'mvn clean test' crashes

2020-07-07 Thread Gary Gregory
version in a property "hmp.failsafe.version" which I can vary on the command line until I find one that works. Gary On Tue, Jul 7, 2020 at 6:38 AM Mukul Gandhi wrote: > Hi Gary, > > On Sun, Jul 5, 2020 at 6:52 PM Gary Gregory > wrote: > > You could try to set the for

Re: 'mvn clean test' crashes

2020-07-05 Thread Gary Gregory
You could try to set the fork count to 1. Gary On Thu, Jul 2, 2020, 02:51 Mukul Gandhi wrote: > Hi Gary, > > On Wed, Jul 1, 2020 at 4:26 PM Gary Gregory > wrote: > > > Have you tried the more recent version of the Maven surefire plugin? > > > > I'm

Re: 'mvn clean test' crashes

2020-07-01 Thread Gary Gregory
Have you tried the more recent version of the Maven surefire plugin? Gary On Wed, Jul 1, 2020, 05:06 Bernd Eckenfels wrote: > Has the machine enough ram free? Did you try a reboot (sometimes windows > memory map seems to be fragmented in a way that java can't start). Does > your Pom overwrite

Re: Doxia XHTML MathML support?

2020-01-26 Thread Gary Gregory
ther hand, nobody but the > Bloom filter documentation is using the math formatting. > > Claude > > On Sun, Jan 26, 2020 at 1:20 PM Gary Gregory > wrote: > > > Would we improve our site's reliability by copying this file? It is ASL > 2.0 > > it seems. > >

Re: Doxia XHTML MathML support?

2020-01-26 Thread Gary Gregory
Would we improve our site's reliability by copying this file? It is ASL 2.0 it seems. Gary On Sun, Jan 26, 2020, 07:14 Claude Warren wrote: > Just to close this question. I found that commons-math uses the mathjax > javascript library[1] that produces equations from LaTEX mathematical >

Re: Doxia XHTML MathML support?

2020-01-25 Thread Gary Gregory
Maybe look at Commons Math? Gary On Sat, Jan 25, 2020, 13:42 Claude Warren wrote: > I am attempting to use XHTML generator as part of the commons-collections > site generation. The document I have requires MathML which is part of > HTML5 now. But the XHTML and XHTML5 generators emit a

Re: Javadoc and -Xdoclint/package:([-]) packages

2019-09-12 Thread Gary Gregory
I got it to work with a low-level option: cls & mvn javadoc:javadoc -DadditionalJOption=-Xdoclint/package:-org.apache.commons.configuration2.plist Will doclint/package be made available as a standard configuration option? Gary On Thu, Sep 12, 2019 at 9:38 AM Gary Gregory wrote: >

Javadoc and -Xdoclint/package:([-]) packages

2019-09-12 Thread Gary Gregory
Hi All: This does not seem to work with Apache Commons Configuration, Maven 3.6.2, and the Maven Javadoc Plugin 3.1.1.: mvn javadoc:javadoc -Ddoclint/package:-org.apache.commons.configuration2.plist.* See https://docs.oracle.com/en/java/javase/11/tools/javadoc.html Am I doing something wrong?

Changes plugin for JIRA AND GitHub

2019-03-06 Thread Gary Gregory
Hi All: Is there a way to craft a changes.xml file so that the plugin generates links to both JIRA _and_ GitHub PRs? Gary

Re: [SUREFIRE] Is net.jcip.annotations.NotThreadSafe detected in superclasses?

2018-08-06 Thread Gary Gregory
But my tests only use JUnit 4. Gary On Mon, Aug 6, 2018 at 3:57 PM Gary Gregory wrote: > Hi All: > > If I annotate a class S with net.jcip.annotations.NotThreadSafe which has > @Test methods, and then declare a bunch of subclasses of S which also > contain @Test methods.

[SUREFIRE] Is net.jcip.annotations.NotThreadSafe detected in superclasses?

2018-08-06 Thread Gary Gregory
Hi All: If I annotate a class S with net.jcip.annotations.NotThreadSafe which has @Test methods, and then declare a bunch of subclasses of S which also contain @Test methods. When I run tests for all subclasses of S, will the Maven Surefire plugin: - Run all @Test methods from S in a single

Make Maven always print its banner

2018-07-25 Thread Gary Gregory
Hi All: I can say 'mvn -V ,,,' but how can I always make it prints its banner? I can't get MAVEN_OPTS to do that. Thank you, Gary

Re: [maven-scm-api] Looking to perform svn remote move

2018-05-19 Thread Gary Gregory
On Fri, May 18, 2018 at 8:00 PM, Hervé BOUTEMY wrote: > Le vendredi 18 mai 2018, 22:36:20 CEST Rob Tompkins a écrit : > > > On May 18, 2018, at 3:30 PM, Michael Osipov > wrote: > > > > > > Am 2018-05-17 um 15:12 schrieb Rob Tompkins: > > > > Hello

Re: [maven-scm-api] Looking to perform svn remote move

2018-05-18 Thread Gary Gregory
On Fri, May 18, 2018 at 2:36 PM, Rob Tompkins wrote: > > > > On May 18, 2018, at 3:30 PM, Michael Osipov wrote: > > > > Am 2018-05-17 um 15:12 schrieb Rob Tompkins: > > > Hello maven guys, > > > > > > Over on commons we’ve been writing our own

Re: [maven-scm-api] Looking to perform svn remote move

2018-05-18 Thread Gary Gregory
On Fri, May 18, 2018 at 1:30 PM, Michael Osipov wrote: > Am 2018-05-17 um 15:12 schrieb Rob Tompkins: > > Hello maven guys, > > > > Over on commons we’ve been writing our own release-plugin > > What is wrong with the current Maven Release Plugin and why are you > writing

Re: [ANN] Apache Maven Doxia Sitetools 1.7.5 Released

2017-10-08 Thread Gary Gregory
> > On Sun, 08 Oct 2017 18:07:10 +0200, Gary Gregory <garydgreg...@gmail.com> > wrote: > > Can we expect a site plugin update that uses this latest version soon? >> >> Gary >> >> On Oct 8, 2017 09:54, "Robert Scholte" <rfscho...@apache.o

Re: [ANN] Apache Maven Doxia Sitetools 1.7.5 Released

2017-10-08 Thread Gary Gregory
Can we expect a site plugin update that uses this latest version soon? Gary On Oct 8, 2017 09:54, "Robert Scholte" wrote: > The Apache Maven team is pleased to announce the release of the Apache > Maven Doxia Sitetools, version 1.7.5 > > Doxia Sitetools is an extension of

Re: maven-javadoc-plugin, Java 9 and maven-javadoc-plugin and java 9 and ExceptionInInitializerError

2017-07-17 Thread Gary Gregory
s, > Robert > > [1] http://markmail.org/message/4nssutboqsahx5kb > > > On Mon, 17 Jul 2017 18:12:22 +0200, Gary Gregory <garydgreg...@gmail.com> > wrote: > > When I try to build our Apache HttpComponent HttpClient from git master >> with J

maven-javadoc-plugin, Java 9 and maven-javadoc-plugin and java 9 and ExceptionInInitializerError

2017-07-17 Thread Gary Gregory
When I try to build our Apache HttpComponent HttpClient from git master with Java 9 build 178 I get the maven-javadoc-plugin and java 9 and ExceptionInInitializerError below. This is thanks to a bug in our old Apache Commons Lang 2.x branch? Is there a plan to update maven-javadoc-plugin with the

Re: problem when deploying to nexus with a password with accent

2017-06-16 Thread Gary Gregory
Make sure the XML is saved in the encoding that matches the XML processing instruction, usually UTF-8. Gary On Jun 16, 2017 7:57 AM, "djeanprost" wrote: > Hello, > > I'm meeting a problem I can't deal with, and I hope someone here will help > me find a

Re: Running integration tests against a signed jar

2017-05-30 Thread Gary Gregory
> From: Martin Gainty <mgai...@hotmail.com> > Sent: Tuesday, May 30, 2017 7:08:43 PM > To: Maven Users List > Subject: Re: Running integration tests against a signed jar > > > > > From: Gary Gregory &

Running integration tests against a signed jar

2017-05-29 Thread Gary Gregory
Hi All: I have a POM that builds a signed jar, so far so good. Unit tests run, no problem. When integration tests run through fail-safe, the build fails all ITs with: java.lang.ExceptionInInitializerError Caused by: java.lang.SecurityException: class "com.example.MyClass"'s signer information

Re: Maven 3.4.0 dropped

2017-01-09 Thread Gary Gregory
Note that by going from 3.3.9 to 3.5.0, this will add to the confusion from the user's POV. Gary On Mon, Jan 9, 2017 at 1:45 AM, Stephen Connolly wrote: > After some discussion and debate, the Maven developers have agreed [1] to > replan the next release of Maven. > > The

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 2)

2016-06-12 Thread Gary Gregory
I've built Log4j 2 and some HttpComponents pieces OK. The only problem is building on top of Java 8 which encounters the BCEL on Java bug problem we all know about. Gary On Sun, Jun 12, 2016 at 1:40 PM, Karl Heinz Marbaise wrote: > Hi to all Maven users, > > based on the

Re: variable doesn't work for version

2016-03-08 Thread Gary Gregory
a built in name? Gary > > Then just have the project version include the ${rev} at the appropriate > place > > On Tuesday 8 March 2016, Gary Gregory <garydgreg...@gmail.com> wrote: > > > On Mon, Mar 7, 2016 at 6:53 PM, Eric B <ebenza...@gmail.com > <javascript:;&g

Re: variable doesn't work for version

2016-03-08 Thread Gary Gregory
nteed > that it isn't going to change as you continue to develop), you could always > use something like the maven-release-plugin to promote from SNAPSHOT to a > fixed version, and then re-open the next version as a SNAPSHOT. (Although > I know there are many dissenters against th

Re: variable doesn't work for version

2016-03-07 Thread Gary Gregory
Is there a Maven-way to do continuous delivery then? As opposed to continuous integration. Our current hack is to use the date as the maintenance version as a variable for example 3.1.20160102 G On Mon, Mar 7, 2016 at 11:18 AM, Eric B wrote: > I personally have a

Message typo

2016-01-19 Thread Gary Gregory
I'm not sure who output this message but there is obviously a etter issing: [INFO] - [WARN] COMPILATION WARNING : [INFO] - [WARN] ootstrap class path not set in conjunction with

Re: Offline builds nearly impossible

2015-11-16 Thread Gary Gregory
On Mon, Nov 16, 2015 at 6:37 AM, Jörg Schaible wrote: > Hi Jason, > > Jason van Zyl wrote: > > > If this does not work please let me know. This is what I’ve used in the > > past and if it doesn’t work I agree it needs to be fixed. I honestly > > haven’t tried

RE: Offline builds nearly impossible

2015-11-13 Thread Gary Gregory
On Nov 13, 2015 9:45 AM, wrote: > > I just wanted to weigh in. > > This indeed does not function in what I would call an "intuitive" way. > > It would be really nice if offline mode meant just provide the switch and everything used your local repo. No extra

Re: Java 7 and 8 features

2015-10-27 Thread Gary Gregory
Hi, What I see, is that most projects are struggling to move to Java 7, Java 8 seems out of range. There are a lot of opinions and both sides of each Java version for and against. At the end of the day, it's about user feedback and committer community involvement. The projects I help on also lack

Color logging in Maven 3.3.3

2015-04-29 Thread Gary Gregory
I thought this error message was no longer supposed to be displayed: [WARN] The SLF4J binding actually used is not supported by Maven: org.apache.logging.slf4j.Log4jLoggerFactory [WARN] Maven supported bindings are: [WARN] (from

Re: Adding comments to dependencies in POM

2015-04-17 Thread Gary Gregory
+1 Gary Original message From: James Green james.mk.gr...@gmail.com Date: 04/17/2015 04:58 (GMT-08:00) To: Maven Users List users@maven.apache.org Subject: Re: Adding comments to dependencies in POM [ Dragging up a really old topic. ]

Re: [VOTE] Name our mascot: Shotgun vs The Maven Owl

2014-12-15 Thread Gary Gregory
As cute as Shutgun might seem, for some unspecified definition of cute, I am sick of hearing about any kind of gun... http://www.chicagotribune.com/news/nationworld/chi-school-shootings-sandy-hook-20141211-story.html Gary On Mon, Dec 15, 2014 at 7:30 AM, Jeroen Hoek jer...@lable.org wrote: B

Re: [VOTE] Name our mascot: Shotgun vs The Maven Owl

2014-12-15 Thread Gary Gregory
I guess I should VOTE B, but I am not on the PMC so I am not sure which votes count. Gary On Mon, Dec 15, 2014 at 5:26 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: You raise a fair point, and for that reason I am changing my vote to B On 15 December 2014 at 13:15, Gary

Re: [ANN] FindBugs Maven Plugin version 2.5.5 Released

2014-07-28 Thread Gary Gregory
I still do not see the release in Maven Central. Thoughts? Gary On Fri, Jul 25, 2014 at 3:31 PM, Gary Gregory garydgreg...@gmail.com wrote: Could you only announce after the plugins surface on MC? Right now I only see 2.5.4. Gary On Fri, Jul 25, 2014 at 11:34 AM, Garvin LeClaire

Re: [ANN] FindBugs Maven Plugin version 2.5.5 Released

2014-07-25 Thread Gary Gregory
Could you only announce after the plugins surface on MC? Right now I only see 2.5.4. Gary On Fri, Jul 25, 2014 at 11:34 AM, Garvin LeClaire garvin.lecla...@gmail.com wrote: Hi, The Mojo team is pleased to announce the release of the FindBugs Maven Plugin version 2.5.5. FindBugs uses

Re: maven-scm-publish-plugin - prefixing site content with project version?

2013-05-22 Thread Gary Gregory
Please post your finding back here! This is something I'd like to do for some of the Apache Commons site too. Gary On Wed, May 22, 2013 at 8:12 AM, Robert Elliot r...@lidalia.org.uk wrote: Thanks Jörg, that looks like a promising line of investigation. Rob - Original Message -

Re: maven-changes-plugin does not work with JIRA 5.1.1 and newer

2012-11-19 Thread Gary Gregory
Is this different from the compat issue fixed by using: configuration useJqltrue/useJql ? Gary On Mon, Nov 19, 2012 at 2:59 PM, Benson Margulies bimargul...@gmail.comwrote: Atlassian made an incompatible change to JIRA that they have marked 'won't fix':

RE: [ANN] Maven Clover Plugin 1.10 released

2005-08-07 Thread Gary Gregory
Vincent: Thank you, Gary. -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Sunday, August 07, 2005 1:29 AM To: users@maven.apache.org; dev@maven.apache.org Subject: [ANN] Maven Clover Plugin 1.10 released We are pleased to announce the Maven Clover Plugin

RE: [clover] Release a clover plugin (1.10?) for Clover 1.3.9?

2005-08-02 Thread Gary Gregory
?) for Clover 1.3.9? Hi Gary, I'll try to release it sometime this week. Thanks -Vincent -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: lundi 1 août 2005 01:24 To: users@maven.apache.org Subject: [clover] Release a clover plugin (1.10?) for Clover

[clover] Release a clover plugin (1.10?) for Clover 1.3.9?

2005-07-31 Thread Gary Gregory
Hello: Can we get a released version of the clover plugin (1.10?) for Clover 1.3.9? Thanks, Gary