Re: maven-shade-plugin createSourcesJar creates a source jar of dependencies but not the main project

2024-03-28 Thread Toshiya Kobayashi
Thank you very much, Alexander! It solved the issue! Toshiya On Thu, Mar 28, 2024 at 4:53 PM Alexander Kriegisch < alexan...@kriegisch.name> wrote: > Shade needs an original sources JAR as input for 'createSourcesJar'. Make > sure to add Maven Source Plugin to your build and put it above Shade

Re: POM license guidance (and need for documentation/FAQ)

2024-03-28 Thread Timothy Stone
Thanks everyone! I think that the default of "no license" aligns to the expectation I've seen in other conversations. Omitting the element seems to be the community understanding, especially where SPDX lacks community alignment on a value (barring the NPM behavior). Organizationally, we

Re: Independent verification of reproducible builds

2024-03-28 Thread Bernd Eckenfels
Hello, Railean, Alexander wrote on 28. Mar 2024 15:36 (GMT +01:00): > They need the details of my environment (e.g., OS, version of Java), but > this information is not among the artifacts published on Maven Central. I > was expecting the "buildinfo" file to be distributed too, but it is not >

[ANN] Apache Maven Archiver 3.6.2 released

2024-03-28 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache Maven Archiver, version 3.6.3. https://maven.apache.org/shared/maven-archiver/ Release Notes - Maven Shared Components - Version maven-archiver-3.6.2 ** Task * [MSHARED-1367] - Improvement in unit tests ** Dependency

Re: [DISCUSS] Maven Dependency Plugin

2024-03-28 Thread Tamás Cservenák
Howdy, 0.1.3 out, got unpack ability (actually UnpackSink). Here is 0.1.3 in action, doing "side-by-side" and "overlay" way of unpack: https://gist.github.com/cstamas/36c49da724100a19feab1397e7381d0f Oh, and Martin, the sink also unpacks only "unique" artifacts, so it will not

Independent verification of reproducible builds

2024-03-28 Thread Railean, Alexander
Hi everyone, I followed the instructions in guides/mini/guide-reproducible-builds.html and was able to produce a reproducible build, which I can later verify on my own system. My intention is to publish this on Maven Central and provide enough information for anyone else to be able to

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

2024-03-28 Thread Stanimir Stamenkov
Thu, 28 Mar 2024, /Debraj Manna/: Ok I can try that but I can see the type test-jar from the below documentation https://maven.apache.org/guides/mini/guide-attached-tests.html I hadn't been aware of it. It could be specific to the ear-plugin: *

Re: Maven & Github codespaces

2024-03-28 Thread Tamás Cservenák
Yes, it works! I just said a few emails ago that I am using Maven 3.9.6 on Java 21 since that Java was out. T On Thu, Mar 28, 2024 at 12:47 PM Tommy Svensson wrote: > I can add that on my computer I can do "mvn wrapper:wrapper" to install > mvnw, and then build using that problems, but on

Re: Maven & Github codespaces

2024-03-28 Thread Tommy Svensson
I can add that on my computer I can do "mvn wrapper:wrapper" to install mvnw, and then build using that problems, but on github codespaces the wrapper instalation fails due to the same "StringUtils" failure! Do maven support the higher number versions of the JDK ? __ Tommy

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

2024-03-28 Thread Debraj Manna
Ok I can try that but I can see the type test-jar from the below documentation https://maven.apache.org/guides/mini/guide-attached-tests.html On Thu, Mar 28, 2024 at 3:11 PM Stanimir Stamenkov wrote: > Thu, 28 Mar 2024, /Debraj Manna/: > > > But I am still facing issues in the below case. > >

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

2024-03-28 Thread Stanimir Stamenkov
Thu, 28 Mar 2024, /Debraj Manna/: But I am still facing issues in the below case. [...] com.spotnana synapse 0.0.1-SNAPSHOT tests test-jar This doesn't seem right. I'm not aware of test-jar – should be just jar (or just omit it as it is implied). test Now if I am

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

2024-03-28 Thread Debraj Manna
Gary Somehow your message went into my spam folder. The idea was in synapse there were certain utility classes which other modules should only use while writing integration tests with synapse. The test classes are not expected to be used in non-test code by other modules. synapse also contains

Re: maven-shade-plugin createSourcesJar creates a source jar of dependencies but not the main project

2024-03-28 Thread Alexander Kriegisch
Shade needs an original sources JAR as input for 'createSourcesJar'. Make sure to add Maven Source Plugin to your build and put it above Shade in the 'plugins' section to ensure that both of them are exeuted in the correct order during the 'package' phase. org.apache.maven.plugins