Re: maven-assembly-plugin, bin example is giving me trouble

2023-11-10 Thread Alexander Kriegisch
> Tried making my top-level module dependent on all the others Don't! That does not make any logical sense. > Checked in on xalan-java branch xalan-java-mvn-refactored Please always provide a link. I have no idea where to find your project. To you, that might be obvious. to others, it is not. -

Re: Maven CI Friendly Versions

2023-11-10 Thread Eric Benzacar
Thanks Tamás! Eric On Fri, Nov 10, 2023 at 11:24 AM Tamás Cservenák wrote: > It changed domain > > https://blog.soebes.io/posts/2017/04/2017-04-02-maven-pom-files-without-a-version-in-it/ > > HTH > T > > On Fri, Nov 10, 2023 at 5:19 PM Eric B wrote: > > > Many years ago Karl Heinz Marbaise had

Re: maven-assembly-plugin, bin example is giving me trouble

2023-11-10 Thread Joseph Kessselman
Tried making my top-level module dependent on all the others so the assembly invoked there would run last. Unfortunately, it seems the dependencies are inherited to all the children, and Maven complains about dependencies upon self. I presume there's an obvious idiom that I just haven't yet be

Re: maven-assembly-plugin, bin example is giving me trouble

2023-11-10 Thread Joseph Kessselman
Oh. I probably forgot to set dependencies. Checking. On 11/10/2023 9:35 PM, Joseph Kessselman wrote: I'm trying to adapt the examples given at https://maven.apache.org/plugins/maven-assembly-plugin to work with my multi-module project. Source was mostly easy -- I copied the into a file, twe

maven-assembly-plugin, bin example is giving me trouble

2023-11-10 Thread Joseph Kessselman
I'm trying to adapt the examples given at https://maven.apache.org/plugins/maven-assembly-plugin to work with my multi-module project. Source was mostly easy -- I copied the into a file, tweaked its excludes (still wish it picked up the .gitinclude automagically), and it worked. I'd still li

Re: Keeping java's version in sync with project's version

2023-11-10 Thread ecki
BTW you can also write the version to the manifest and then use class.getPackage().getImplementationVersion() like I did here: https://github.com/ecki/et-otp/blob/663228f2b6ad7d3f20aad04ca5f675b49662a78c/src/main/java/net/eckenfels/etotp/GUI.java#L64 This only requires addDefaultImplementationEn

Re: Can the jar plugin respect .gitignore?

2023-11-10 Thread ecki
I think there are two issues with this, first of all git is not the only SCM, so why prefer it’s file. But secondly it is very common that binary result artifacts are git ignored and exactly the stuff you want to package. For example target/ Are you thinking about -src archives, only? Having

Re: Can the jar plugin respect .gitignore?

2023-11-10 Thread Joseph Kessselman
... Actually, correction -- not the jar plugin, the assembly plugin. (sigh) On 11/10/2023 1:42 PM, Joseph Kessselman wrote: (Or, equivalently be told to take exclude list from a file in .gitignore syntax and then be told .gitignore was that file.) If not, I'd consider that worth adding.

Can the jar plugin respect .gitignore?

2023-11-10 Thread Joseph Kessselman
(Or, equivalently be told to take exclude list from a file in .gitignore syntax and then be told .gitignore was that file.) If not, I'd consider that worth adding. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org Fo

Re: Maven CI Friendly Versions

2023-11-10 Thread Tamás Cservenák
It changed domain https://blog.soebes.io/posts/2017/04/2017-04-02-maven-pom-files-without-a-version-in-it/ HTH T On Fri, Nov 10, 2023 at 5:19 PM Eric B wrote: > Many years ago Karl Heinz Marbaise had written a blog about the beginning > of Maven 3.5's support of CI versioning numbers with the s

Maven CI Friendly Versions

2023-11-10 Thread Eric B
Many years ago Karl Heinz Marbaise had written a blog about the beginning of Maven 3.5's support of CI versioning numbers with the specific parameters that are interpolated by maven. I always used to refer new developers to that blog that were trying to understand the complexities of using Maven a