Is there any debug output available that shows mvn checking artifact checksums?

2024-07-18 Thread KARR, DAVID
I wanted to experiment with the "checksumPolicy" property in each repository in the "~/.m2/settings.xml" file. Our intranet repo seems to make it hard to simulate a corrupted checksum (this is good, in general). I don't see any way to get "mvn" to tell me that it is checking the checksum, even

RE: Re: Custom auth plugin/extension - how to?

2024-06-11 Thread David Grieve
t; their write (LDAP Login) credentials into files. > >> > >> If the maven ecosystem would have a OS/Token method > >> like requestin a JWT token from a distribution point which > >> uses native Kerberos SSPI or user certificates that would > >> greatly im

Re: [EXTERNAL] Re: Re: Custom auth plugin/extension - how to?

2024-06-05 Thread David Grieve
pied from http transport) to ensure httpTransport will not throw, then do your thing, and call into httpTransport HTH T On Tue, Jun 4, 2024 at 8:34 PM David Grieve wrote: > Thank you for the hint, Tamás. > > The problem I’m trying to solve is that I want a custom Authentication for &g

RE: Re: Custom auth plugin/extension - how to?

2024-06-04 Thread David Grieve
now if there is a better way. I do not want to re-implement HttpTransport! On 2024/06/03 20:25:48 Tamás Cservenák wrote: > Howdy, > > What are you trying to do? You may go better if you implement custom > (resolver) transport maybe? > > Thanks > T > > On Mon, Jun 3, 2024

Custom auth plugin/extension - how to?

2024-06-03 Thread David Grieve
My questions are: Is this doable and, if so, how would one go about it? I’m trying to cobble together a plugin/extension that will either get an auth token for resolving an artifact before the artifact is resolved, or will get an auth token if the resolution returns a 401. The plugin route happe

maven-checkstyle-plugin using project dependencies?

2023-12-15 Thread David Hoffer
Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin ${maven-checkstyle-plugin.version}

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

2023-10-17 Thread David Karr
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: -- maven-compiler-plugin 3.8.0 11

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-11 Thread David Karr
2023 at 10:56 AM David Karr wrote: > Ok, I'll address some points in order. My current command line is this: > -- > mvn -e archetype:generate -DgroupId=com.att.idp -DartifactId=MyApplication > -Dpackage=com.att.idp -DarchetypeGroupId=com.att.idse > -Darch

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-09 Thread David Karr
chetype-simple > -DarchetypeVersion=1.5-SNAPSHOT" to generate a project from it > > Regards, > > Hervé > > On 2023/10/06 16:11:36 David Karr wrote: > > Thanks for the responses. I've gone through this, but I still don't see a > > solution. > &g

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-06 Thread David Karr
reference documentation > that explains much more: > https://maven.apache.org/archetype/maven-archetype-plugin/index.html > > > > I'm not sure mini guide was updated as it should > > > > Regards, > > > > Hervé > > > > On 2023/10/05 20:38:

Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-05 Thread David Karr
I support and maintain a platform used by a couple hundred SpringBoot/JAX-RS/Maven/K8S services. When new services are created, a Maven archetype is used to create the service skeleton. This has worked fine for quite a while. We're now working on a variation using SpringMVC instead of JAX-RS, an

How to control ordering of transient dependencies?

2023-08-29 Thread David Karr
I support a large number of SpringBoot services built with Maven. I recently noticed that one of our transient dependencies has a conflict with another transient dependency, as it has several FQCNs that are identical to ones in the second artifact, but with different content. In most of those ser

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-24 Thread David Hoffer
Java EE 10 application. If anyone knows of newer plugin extensions that can support JDK17 let me know. Thanks, -David On Tue, Aug 22, 2023 at 2:46 PM Delany wrote: > This one has JAXB4 support > https://github.com/phax/maven-jaxb2-plugin > Delany > > > > On Tue, 22 Aug

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread David Hoffer
tValue But does not have support for: equals hashCode And those I would really like to have. Trying to find a way to have all 4 of those options. -Dave On Tue, Aug 22, 2023 at 1:31 PM Delany wrote: > Try here https://stackoverflow.com/a/32336886/2746335 > Delany > > On Tue, 22 A

JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread David Hoffer
I'm wanting to use the JAXB2 Maven Plugin's XJC goal in a JDK17 project. I'm using version 3.1.0. I can get it to generate the Java code but can't find any way to add support for optional things like: toString equals hashCode defaultValue Can someone point me in the right direction on how to add

Re: Confused about how to override a transient artifact version

2023-07-28 Thread David Karr
nup, but I think this will work. Thanks. On Fri, Jul 28, 2023 at 5:21 PM Nick Stolwijk wrote: > Hi David, > > You could try to add the Jackson BOM in the parent dependencyManagement. > That would override all versions in the (transitive) dependencies of the > child modules. For a nice

Confused about how to override a transient artifact version

2023-07-28 Thread David Karr
In general, I know how to override transient artifact versions. You add an "exclusion" for the artifact on the dependency that is including that dependency, and then you manually add that dependency in the same pom where you added the exclusion. In my case, the version I want is defined in a bom i

Maven build error

2023-07-27 Thread Willfin David
Hi, Im using maven as part of my mulesoft anytime studio platform. When I run the below command from command prompt I get the error below. Let me know how to resolve this error. Command: maven -U clean install Error: [ERROR] Failed to execute goal on project mule-connectivity-parent: Could not

[ANN] native2ascii-maven-plugin 2.1.0 Released

2023-06-05 Thread David Matějček
update, simply specify the version in your project's plugin configuration:     org.codehaus.mojo native2ascii-maven-plugin     2.1.0 See https://github.com/mojohaus/native2ascii-maven-plugin/releases/tag/v2.1.0 for the Release Notes. Enjoy, The MojoHaus team. -- David Matějček

How to get Maven to give me ALL the dependency errors, instead of just the first one

2023-06-01 Thread David Karr
We have a situation in our build environment where Maven concludes it can't get certain artifacts, resulting in a build failure message like this: [ERROR] Failed to execute goal on project ..: Could not resolve dependencies for project ...:jar:1.1.0-SNAPSHOT: The following artifacts could not be r

Questions about frequency of "Progress" log lines while downloading artifacts

2023-03-08 Thread David Karr
We're looking at performance issues with the intranet repository in our enterprise. I was looking at some Maven build output while downloading artifacts, and I wanted to be clear on exactly what is indicated by some output while downloading artifacts. Here is a somewhat elided block of build outp

How to configure Maven for an overloaded intranet repository?

2022-09-29 Thread David Karr
I work in a very large enterprise that uses a centralized intranet maven repository to get artifacts from. It often has load issues that result in builds failing with "failed to respond". The team that maintains it is working towards eventual mitigations for that, but it will be quite a while bef

RE: JUnit 5 test suites not running again

2022-07-09 Thread KARR, DAVID
itely mean the junit-vintage-engine" will have to be included. > -----Original Message- > From: KARR, DAVID > Sent: Friday, July 8, 2022 4:59 PM > To: Maven Users List ; i...@soebes.de; David > Karr > Subject: RE: JUnit 5 test suites not running again > > Inline.

RE: JUnit 5 test suites not running again

2022-07-08 Thread KARR, DAVID
Inline. > -Original Message- > From: Karl Heinz Marbaise > Sent: Friday, July 8, 2022 9:21 AM > To: David Karr ; i...@soebes.de > Cc: Maven Users List > Subject: Re: JUnit 5 test suites not running again > > On 08.07.22 18:09, David Karr wrote: > > Inlin

Re: JUnit 5 test suites not running again

2022-07-08 Thread David Karr
Inline. On Fri, Jul 8, 2022 at 8:17 AM Karl Heinz Marbaise wrote: > Hi, > > On 08.07.22 16:18, David Karr wrote: > > I had gotten help here with our JUnit 5 transition, and I thought I had > it > > all working, but now I see that I'm back to the state where our JUni

JUnit 5 test suites not running again

2022-07-08 Thread David Karr
I had gotten help here with our JUnit 5 transition, and I thought I had it all working, but now I see that I'm back to the state where our JUnit 5 test suites are being ignored. >From what I understood, I had to ensure that "junit-platform-runner" was excluded as a dependency. What I have seems t

Re: How to properly override junit-platform and junit-jupiter in a parent pom

2022-06-18 Thread David Karr
On Sat, Jun 18, 2022 at 4:17 PM Nils Breunese wrote: > David Karr wrote: > > > We have a bunch of services running Spring Boot 2.3.12, which by default > > uses junit-platform 1.6.3 and junit-jupiter 5.6.3. > > > > We are trying to instead use junit-platform 1

Re: Surefire not running JUnit 5 tests after fixing how junit-bom artifacts are specified

2022-06-18 Thread David Karr
#x27;s a little harder to tell what bom they came from (is that one of the points about a recent discussion about improvements to dependency:tree?) On Sat, Jun 18, 2022 at 3:03 AM Karl Heinz Marbaise wrote: > Hi, > > > On 17.06.22 20:46, David Karr wrote: > > Ok, what is the pro

Re: Surefire not running JUnit 5 tests after fixing how junit-bom artifacts are specified

2022-06-17 Thread David Karr
t have to do this in each service pom. On Fri, Jun 17, 2022 at 12:26 PM David Karr wrote: > Ok, so the tree has output like this: > -- > [INFO] +- com.att.idp:idp-seed-sdk-core:jar:2.7.0-SNAPSHOT:compile > [INFO] | +- org.junit.jupiter:junit-jupit

Re: Surefire not running JUnit 5 tests after fixing how junit-bom artifacts are specified

2022-06-17 Thread David Karr
Please examine output of dependency:tree and look where is added > junit-platform-runner > > pt., 17 cze 2022 o 20:47 David Karr > napisał(a): > > > Ok, what is the proper way to do that, considering I have the follo

Re: Surefire not running JUnit 5 tests after fixing how junit-bom artifacts are specified

2022-06-17 Thread David Karr
: > Do you have on your classpath - junit-platform-runner? > Please remove it. > > > pt., 17 cze 2022 o 20:23 David Karr > napisał(a): > > > I'm posting a new note, as this might be a different issue. > > > > I recently got good advice on this list a

Surefire not running JUnit 5 tests after fixing how junit-bom artifacts are specified

2022-06-17 Thread David Karr
I'm posting a new note, as this might be a different issue. I recently got good advice on this list about how to properly specify the version overrides for the junit-bom artifacts. When I implemented that, I saw that I was consistently getting the correct versions for those artifacts. However, I

Re: How to properly override junit-platform and junit-jupiter in a parent pom

2022-06-16 Thread David Karr
If it matters, I see that in our parent bom artifact, we are importing "spring-boot-dependencies". On Thu, Jun 16, 2022 at 5:27 PM David Karr wrote: > Sorry, can you clarify exactly what you mean by that? > > On Thu, Jun 16, 2022 at 4:14 PM Karl Heinz Marbaise > wrot

Re: How to properly override junit-platform and junit-jupiter in a parent pom

2022-06-16 Thread David Karr
;t use spring-boot-parent? > > Kind regards > Karl Heinz Marbaise > > > On 16.06.22 23:54, David Karr wrote: > > We have a bunch of services running Spring Boot 2.3.12, which by default > > uses junit-platform 1.6.3 and junit-jupiter 5.6.3. > > > > We are t

How to properly override junit-platform and junit-jupiter in a parent pom

2022-06-16 Thread David Karr
We have a bunch of services running Spring Boot 2.3.12, which by default uses junit-platform 1.6.3 and junit-jupiter 5.6.3. We are trying to instead use junit-platform 1.8.2 and junit-jupiter 5.8.2. All the artifacts and versions we need are in junit-bom-5.8.2. We want to control this in our pare

Re: Kubernetes Build Environment

2022-06-05 Thread David Karr
Along the lines of Bernd's response, I would (as we have done in our own builds) use Maven to build the artifacts that we deploy to our intranet repositories, but we do everything else in Jenkins pipeline script. We just call "kubectl" for k8s configuration steps, and when it comes down to integrat

Re: Questions about surefire issue causing "buffer overflow" and apache JIRA problem

2022-05-31 Thread David Karr
> [1] https://lists.apache.org/thread/r86q92w8pfb1g3rg8tzbt810cjt6vdcq > > wt., 31 maj 2022 o 15:47 David Karr > napisał(a): > > > I noticed the following issue: > > https://issues.apache.org/jira/browse/SUREFIRE-2056 > > > > I searched for it because we are seeing this

Questions about surefire issue causing "buffer overflow" and apache JIRA problem

2022-05-31 Thread David Karr
I noticed the following issue: https://issues.apache.org/jira/browse/SUREFIRE-2056 I searched for it because we are seeing this in one of our builds. I could use some more information about this. This is apparently a bug in 3.0.0-M6, which is fixed in 3.0.0-M7, which is not released yet. I verif

Re: exclusions are not being applied

2022-04-26 Thread David Hoffer
ude the dependency in the meantime. > On Apr 26, 2022, 7:35 PM -0400, David Hoffer , wrote: > > I have a project where I am trying to use exclusions to exclude > transitive > > dependencies but they are not being excluded. Here is an example from my &g

exclusions are not being applied

2022-04-26 Thread David Hoffer
I have a project where I am trying to use exclusions to exclude transitive dependencies but they are not being excluded. Here is an example from my dependencyManagement top level pom. com.bs.component-library.model model ${model.version} io.swagger.core.v3

RE: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, April 1, 2022 11:03 AM > To: Maven Users List > Subject: How can I tell what value of "maxmem" the maven-compiler-plugin > is using by default? > > I noticed that we have one build that is trying

How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
I noticed that we have one build that is trying to compile so many files that it is running out of memory in the maven-compiler-plugin execution. I see that I can set the "maxmem" property in that plugin's configuration. What would be nice to know is what the default value is. I thought that

Re: How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread David Karr
On Wed, Mar 30, 2022 at 11:52 AM Jörg Schaible wrote: > Hi David, > > On Wednesday, 30. March 2022, 19:46:35 CEST David Karr wrote: > > I work in a large company on a large project with hundreds of services, > > most of which are Java Maven projects. We have an "arc

Re: How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread David Karr
e.org/guides/mini/guide-creating-archetypes.html it > will probably do what you want. > Actually, I was mistaken. The service generation process does use a Maven archetype. > From: David Karr > Date: Wednesday, March 30, 2022 at 10:47 AM > To: Maven Users List > Subject: Ho

How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread David Karr
I work in a large company on a large project with hundreds of services, most of which are Java Maven projects. We have an "archetype" we use for new services. It doesn't use the Maven archetype process. There are particular areas in the pom.xml that is generated that really need to be modified by

RE: Strategies for automatically fixing local maven repo corruption?

2022-03-23 Thread KARR, DAVID
in the nodes configuration : > #!/bin/bash -ue > > docker run -d --network host --name mvn_redis redis:6.2-alpine > 23, 2022, 6:11 PM -0400, David Karr , wrote: > > Our enterprise has builds for a couple of hundred services running > > many times a day, on a set of Jenkins

Strategies for automatically fixing local maven repo corruption?

2022-03-23 Thread David Karr
Our enterprise has builds for a couple of hundred services running many times a day, on a set of Jenkins build nodes, most of which are Maven builds.The builds use a settings.xml that doesn't override the "localRepository", so it will use a local repository on the build node that is used by all bui

RE: What steps will install dependent artifacts in local maven repo

2022-03-23 Thread KARR, DAVID
east are expected > to be, and the Central Repository enforces it), so if 3.7.1 is > compatible with JDK 8, it will stay that way. That was my assumption, but I wanted to make sure I wasn't missing something. > On Wed, Mar 23, 2022 at 2:40 PM KARR, DAVID wrote: > > > Inline. &

RE: What steps will install dependent artifacts in local maven repo

2022-03-23 Thread KARR, DAVID
is not going to be immediate. We can't simply flip a switch. I determined that groovy-eclipse-batch v3.0.8-01 is the last version that was compiled by Java 8. I need to know it will stay this way. I also am now specifying groovy-eclipse-compiler v3.7.1. I also hope that will stay on Java

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
And I also determined that groovy-eclipse v4.0.1 was released on 3/6/22, so it just took a few days to get to our intranet repo. I don't see any statement about it being built with Java 11, but it appears that's what happened. > -Original Message- > From: KARR, DAVID

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
vior to me: an external artifact whose > content would be different depending on which JDK downloaded it. > > Would you mind sharing the maven-compiler-plugin declaration with the > ecj dependency? (to try replicating the issue and understand it) > > Le mar. 22 mars 2022 à

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
epo. The "4.x" artifacts were all compiled with Java 11. The 3.0.8 version was compiled with Java 8. > -----Original Message- > From: KARR, DAVID > Sent: Tuesday, March 22, 2022 11:20 AM > To: Maven Users List > Subject: RE: What steps will install dependent

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
ople who maintain the build nodes. Yuck. > -Original Message- > From: David Karr > Sent: Tuesday, March 22, 2022 9:50 AM > To: Maven Users List > Subject: What steps will install dependent artifacts in local maven repo > > Our org's builds have been using Java 8 for quite

What steps will install dependent artifacts in local maven repo

2022-03-22 Thread David Karr
Our org's builds have been using Java 8 for quite a while. We're starting to move some builds to Java 11. We're seeing some builds failing with the following: - Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile failed: An API incompatibilit

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
s List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > The principles in junit providers are +/- the same, or they should be. > So it was easy to find the difference and make the fix! > > T > > On Mon, Mar 21, 2022 at 12:25 AM Tibor Digana > wrot

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
Here's my ticket: https://issues.apache.org/jira/browse/SUREFIRE-2040 . > -Original Message- > From: Tibor Digana > Sent: Sunday, March 20, 2022 12:03 PM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > Hello David, &

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
command line, but I'd prefer not having to change how we do this, if possible. > On Sun, Mar 20, 2022 at 1:46 AM David Karr > wrote: > > > On Sat, Mar 19, 2022 at 5:06 PM Tibor Digana > > wrote: > > > > > My advice is not to listen to everyone

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread David Karr
ent test suite from the command line. This is actually the first problem I was made aware of when I first started examining this entire functional area. > T > > > > > On Sat, Mar 19, 2022 at 10:57 PM KARR, DAVID wrote: > > > This is progress. I at least now see both Junit

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
day, March 19, 2022 1:55 PM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > No problem, pls see the project again, there is an update. > T > > On Sat, Mar 19, 2022 at 9:32 PM KARR, DAVID wrote: > > > One thing that I see I

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
INFO] > ---- > > > The XML test report: > > > > Cheers > Tibor > > > On Sat, Mar 19, 2022 at 6:53 AM David Karr > wrote: > > > I, along with two other people on my team, have sp

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
and M6 (or some equivalent) is not out yet, how do I test a snapshot version? > On Fri, Mar 18, 2022 at 10:53 PM David Karr > wrote: > > > I, along with two other people on my team, have spent days and days > > now trying to figure out why we cannot get Surefire to execute

Can't get Surefire to run any JUnit 5 tests

2022-03-18 Thread David Karr
I, along with two other people on my team, have spent days and days now trying to figure out why we cannot get Surefire to execute JUnit 5 tests. We've all been working independently, so we don't all take the same path, but it didn't really matter, as all three of us are pretty much stuck at the sa

Re: zip file is empty

2022-02-27 Thread David Karr
On Sun, Feb 27, 2022 at 4:05 PM Nils Breunese wrote: > After reading the various responses to this thread with people recognizing > this issue on various operating systems, I’ve opened an issue in the Maven > issue tracker: https://issues.apache.org/jira/browse/MNG-7425 > > Nils. > > > Op 18 feb.

Re: Best Maven practices for releasing components/applications when the SCM requires PRs?

2021-10-21 Thread David Hoffer
h user account that does not have that requirement. Bitbucket > allows a user whitelist. > > Sent from my Verizon, Samsung Galaxy smartphone > Get Outlook for Android<https://aka.ms/AAb9ysg> > ____ > From: David Hoffer > Sent: Thursday, October 2

Maven best practices for handling component releases?

2021-10-21 Thread David Hoffer
We have about a dozen applications that use various in-house developed components which are in a separate component repo. The component repo has all of the components (currently about a dozen) and is configured so we can release each one independently from the others. (Some components change ofte

Re: Best Maven practices for releasing components/applications when the SCM requires PRs?

2021-10-21 Thread David Hoffer
c restricted CI user that we manually allow on > the branch permissions in bitbucket with write access and keep the PR > restriction for the rest of the users. > > On Thu, Oct 21, 2021 at 9:30 AM David Hoffer wrote: > > > Our SCM is BitBucket/GIT and normally it does not allow

Best Maven practices for releasing components/applications when the SCM requires PRs?

2021-10-21 Thread David Hoffer
Our SCM is BitBucket/GIT and normally it does not allow Pushes to Master, have to Push to a branch and then do a PR to merge to Master. However this doesn't work with the maven release plugin so we have to turn off the PR requirement when performing releases. What are the best practices for manag

Maven ignores my repo override and tries to keep using Maven Central

2021-09-20 Thread David Koenig
I have a project that is importing a POM just for its pinned dependency versions (my-custom-bom). my-custom-bom does that for another POM, called another-bom. (I've redacted the specific names of things.) The first set of dependencies are successfully pulled from the internal server, the.inter

Re: Maven enforcer plugin regarding child module's groupId

2021-08-31 Thread David Hoffer
> the outset? > > ${project.parent.groupId}.${project.parent.artifactId} > > Delany > > > On Tue, 31 Aug 2021 at 16:29, David Hoffer wrote: > > > I'd love to see that added to the included rules in the enforcer plugin. > > > > -Dave > > > > On Tue, Aug 31,

Re: Maven enforcer plugin regarding child module's groupId

2021-08-31 Thread David Hoffer
t; > > On Mon, 30 Aug 2021 at 20:45, David Hoffer wrote: > > > > > How to enforce that child modules append to the parent groupId per the > > > Maven > > > Guide to Naming Conventions > > > <http://maven.apache.org/guides/mini/guide-naming-convent

Maven enforcer plugin regarding child module's groupId

2021-08-30 Thread David Hoffer
How to enforce that child modules append to the parent groupId per the Maven Guide to Naming Conventions ? -Dave

RE: Where is an exact syntax reference for the "nonProxyHosts" property?

2021-06-15 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Tuesday, June 15, 2021 8:02 AM > To: Maven Users List > Subject: Where is an exact syntax reference for the "nonProxyHosts" > property? > > I have been trying to find a fully complete specification for

Where is an exact syntax reference for the "nonProxyHosts" property?

2021-06-15 Thread KARR, DAVID
I have been trying to find a fully complete specification for the syntax of the "nonProxyHosts" property in the settings.xml file. Every statement I've found, even in Maven documentation, is vague and incomplete. Is this fully documented somewhere?

Re: Maven 3.8.1 + maven-deploy-plugin 3.0.0-M1 and still no SHA256/SHA512

2021-04-29 Thread David Milet
I figured it out... With Maven 3.8.1 and maven-deploy-plugin 3.0.0-M1, need to pass -Daether.checksums.algorithms="SHA256,SHA512" to the maven options On Thu, Apr 29, 2021 at 8:35 PM David Milet wrote: > Hello, > > Maven 3.8.1 picked up new maven-resolver which supports th

Maven 3.8.1 + maven-deploy-plugin 3.0.0-M1 and still no SHA256/SHA512

2021-04-29 Thread David Milet
Hello, Maven 3.8.1 picked up new maven-resolver which supports the generation (and I suppose, verification) of SHA256 and SHA512 digests. ( https://issues.apache.org/jira/browse/MRESOLVER-115) However it seems that maven-deploy-plugin 3.0.0-M1 still uses maven-artifact-transfer 0.10.0, which gene

Re: Maven internal company component sharing best practices

2021-04-13 Thread David Hoffer
ownside is having a ton of > noise if you have complicated dependency trees. > > These are issues i've encountered so far. You can start by hosting > your own nexus, uploading artifacts to it and referencing the > artifacts in the pom. Sonatype offers free solution > ht

Maven internal company component sharing best practices

2021-04-12 Thread David Hoffer
Hey just looking for Maven best practices here, want to be sure I'm not missing something. Here is our use case. We have 10 applications that have duplicate code in each, we want to create component(s) for the duplicate code and not duplicate in the 10 apps/GIT any longer. Each app is in a separ

How to relocate dependency classes using maven-shade-plugin?

2021-03-31 Thread David Hoffer
I have a single module Maven build where one of the dependences has well over 200 transitive dependencies. These transitive dependencies are incompatible with the rest of my application. I would like to use the maven-shade-plugin to create a shaded jar uber jar that contains all of these dependen

Please release surefire 2.22.3

2021-02-19 Thread David Syer
This bug fix is kind of important: https://issues.apache.org/jira/browse/SUREFIRE-1679 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven plugin to replace text in file

2020-11-08 Thread David Hoffer
t; Gruss > Bernd > -- > http://bernd.eckenfels.net > ____ > Von: David Hoffer > Gesendet: Sunday, November 8, 2020 6:00:41 PM > An: Maven Users List > Betreff: Maven plugin to replace text in file > > Hi, > > I need to process a f

Maven plugin to replace text in file

2020-11-08 Thread David Hoffer
Hi, I need to process a file during the build to replace constructs like this: "allOf": [ { "$ref": "#/definitions/Eligibility" } ], to be: "$ref": "#/definitions/Eligibility", Where the $ref can point to anything. How can I do this sort of writing custom code? -Dave

maven-assembly-plugin Windows vs Linux

2020-10-14 Thread David Grigglestone
https://stackoverflow.com/questions/64364051/maven-assembly-plugin-windows-vs-linux .. sorry to post in two places, but hoping to get someones attention :-[ ... I have a project that uses the maven-assembly-plugin and I see a difference in behavior when building on Linux vs Windows. Exactly the

Suddenly getting "NoSuchMethodError" from Maven internals without any obvious change

2019-01-28 Thread David Karr
I've already asked this on StackOverflow ( https://stackoverflow.com/questions/54385789/suddenly-getting-nosuchmethoderror-org-codehaus-plexus-compiler-compilerconfig), but I'm getting nowhere, and all of our builds are blocked by this. This is what we're seeing on the CI server: -

Re: Generate SonarQube analysis files

2019-01-17 Thread David Karr
On Wed, Jan 16, 2019 at 11:31 PM Vega Castañeda, Javier < javier.vega-castan...@capgemini.com> wrote: > Hello, > > I have set up a CI project with Eclipse, Jenkis, Git, Maven, Sonar and > Nexus.The idea is that files are generated from the sonar analysis as part > of the build to be able to proces

repository problems (ibiblio.org) - redirections , HTTP response codes

2018-07-05 Thread David Balažic
-roo.html ) Regards, David

Re: json-schema-generator-maven-plugin has NPE fault

2018-03-26 Thread David Hoffer
} > > in what is > includes > excludes > buildDirectory > outputDirectory > > ? > Martin > ______ > > > > > -- > *From:* David Hoffer > *Sent:* Friday, March 23, 2018 2:10 PM

Fwd: json-schema-generator-maven-plugin has NPE fault

2018-03-23 Thread David Hoffer
json-schema-generator-maven-plugin v1.3.0 generates and NPE. Just trying to get feedback to developers. [ERROR] Failed to execute goal io.gravitee.maven.plugins: json-schema-generator-maven-plugin:1.3.0:generate-json-schemas (json-schema-generator) on project odin-messaging: Execution json-schema

jacoco-maven-plugin site generation question

2018-01-30 Thread David Hoffer
I am using jacoco-maven-plugin v0.8.0 to generate test code coverage reports (and checks) to the build. This is working fine for normal dev builds, e.g. mvn clean install. However we also need to include these reports in the Maven site that is generated and published that part is not working. The

RE: IT test in src/test/java is not executed by failsafe:integration-test, or fails oddly with verify

2017-10-25 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, October 25, 2017 10:56 AM > To: users@maven.apache.org > Subject: IT test in src/test/java is not executed by > failsafe:integration-test, or fails oddly with verify > > I work on a large multiproject bu

RE: IT test in src/test/java is not executed by failsafe:integration-test, or fails oddly with verify

2017-10-25 Thread KARR, DAVID
gt; > > > > In each test submodule POM, we simply add the following: > > > org.apache.maven.plugins > maven-compiler-plugin > > >

IT test in src/test/java is not executed by failsafe:integration-test, or fails oddly with verify

2017-10-25 Thread KARR, DAVID
I work on a large multiproject build that mostly produces OSGi bundle artifacts. The codebase has a lot of unit tests that work fine from the build. We also have quite a few IT tests, but we only execute those from Eclipse, as the nature of the framework makes those tests unreliable. I now wan

Provided scope not being applied correctly

2017-07-17 Thread David Hoffer
I have a module that has a provided scope dependency on a zip file (just resources so no need for any dependencies). The zip was produced via the maven-assembly-plugin in another module. The problem is that transitive dependencies of this zip are being included in the war being generated. c

Re: How to add class file to build & classpath?

2017-04-06 Thread David Hoffer
an be solved by simply moving the exec-maven-plugin execution to > the process-resources phase? > > > > -Original Message- > From: David Hoffer [mailto:dhoff...@gmail.com] > Sent: Thursday, April 06, 2017 12:45 PM > To: Maven Users List > Subject: Re: How to add

Re: How to add class file to build & classpath?

2017-04-06 Thread David Hoffer
s= > yDl8PjVnueV1WAKs6W36AGN5yriHr-5eTXTPZi_k0kk&e= > ImageJ2 lead, Fiji maintainer - https://urldefense.proofpoint. > com/v2/url?u=https-3A__imagej.net_User-3ARueden&d=DwIBaQ&c= > RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r= > Ql5uwmbofQMW0iErugdCnFgO-CBGr_pt_OzwdxJosG0&m= > sAgPJflD39

Re: How to add class file to build & classpath?

2017-04-06 Thread David Hoffer
gt; approach? > > Regards, > Curtis > > -- > Curtis Rueden > LOCI software architect - https://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden > > > On Thu, Apr 6, 2017 at 10:48 AM, David Hoffer wrote: > > > I'm us

How to add class file to build & classpath?

2017-04-06 Thread David Hoffer
I'm using exec-maven-plugin to call a main in my code that uses javassist to generate a class file at build time. My code places the class file in the ./target/classes folder so it gets included in the modules normal binary jar. However the rest of the build and other code needs to know that the

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-27 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, February 22, 2017 11:04 AM > To: Maven Users List > Subject: RE: Strategies for overriding parent plugin configuration in > some modules without duplicating config code? > > > -Original Me

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-22 Thread KARR, DAVID
; 3A__maven.apache.org_pom.html&d=DQIFAg&c=LFYZ- > o9_HUMeMTSQicvjIg&r=OsTemSXEn- > xy2uk0vYF_EA&m=FHuWQ_q8B5maEN_es6oJCbGAxMD8fxn8FxP0AQ9VZ3w&s=GptXYbOIzWw > xSTYZmwZufxSKr6WYerQ_ll_D1fVE-D4&e= How do I override the "executions" list? These properties aren't valid there. > -Orig

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-22 Thread KARR, DAVID
> > On Mon, 20 Feb 2017 16:32 "KARR, DAVID" wrote: > > > Although my issue is about configuring the "jacoco-maven-plugin", I > > think it's really more of a pure Maven configuration issue, as I don't > > think this situation is unique to

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-20 Thread KARR, DAVID
; 3A__maven.apache.org_pom.html&d=DQIFAg&c=LFYZ- > o9_HUMeMTSQicvjIg&r=OsTemSXEn- > xy2uk0vYF_EA&m=FHuWQ_q8B5maEN_es6oJCbGAxMD8fxn8FxP0AQ9VZ3w&s=GptXYbOIzWw > xSTYZmwZufxSKr6WYerQ_ll_D1fVE-D4&e= Good to know that mechanism exists, but I don't think it applies to my situation. Still looks like the al

  1   2   3   4   5   6   7   8   9   10   >