Re: war plugin incompatibility

2023-11-09 Thread Rick Hillegas
I think that I have fixed this problem by adding the following stanza to the maven war plugin descriptor:    false     On 11/9/23 2:46 PM, Rick Hillegas wrote: I am trying to install a Derby release into my local maven repository. The world has changed underneath me in the last

war plugin incompatibility

2023-11-09 Thread Rick Hillegas
I am trying to install a Derby release into my local maven repository. The world has changed underneath me in the last year and a half since I published the last Derby release. The Derby maven-based publication poms can be found under

Re: finding source of outdated dependencies

2023-11-09 Thread Garret Wilson
Ah! So, reading between the lines, you're recommending that I issue this command:     mvn help:effective-pom -Dverbose=true I didn't know there was a `verbose` option for the effective POM that had anything to do with dependency management. Thanks. That gives me effective dependency

Re: finding source of outdated dependencies

2023-11-09 Thread Slawomir Jaranowski
You can try: mvn versions:display-dependency-updates -DprocessDependencyManagementTransitive=false https://www.mojohaus.org/versions/versions-maven-plugin/display-dependency-updates-mojo.html#processDependencyManagementTransitive czw., 9 lis 2023 o 21:04 Garret Wilson napisał(a): > > In my

Re: finding source of outdated dependencies

2023-11-09 Thread Tamás Cservenák
Well, depMgt is "flattened" (so if depMgt import of POM imports another POM and ...), and if you use verbose with effective, you will see the source of flattened things, at least T On Thu, Nov 9, 2023 at 9:18 PM Garret Wilson wrote: > On 11/9/2023 5:10 PM, Tamás Cservenák wrote: > > Howdy,

Re: finding source of outdated dependencies

2023-11-09 Thread Garret Wilson
On 11/9/2023 5:10 PM, Tamás Cservenák wrote: Howdy, Did you try to take a peek at effective POM? Hi. The effective POM doesn't show me anything helpful—and I don't know that I expected it to. The effective POM simple resolves the inheritance tree, right? I don't know if that would have any

Re: finding source of outdated dependencies

2023-11-09 Thread Tamás Cservenák
Howdy, Did you try to take a peek at effective POM? But also, https://issues.apache.org/jira/browse/MPH-183 T On Thu, Nov 9, 2023 at 9:04 PM Garret Wilson wrote: > In my Maven project (an aggregate project with child projects) I issue > the following command for the Versions Maven Plugin: > >

finding source of outdated dependencies

2023-11-09 Thread Garret Wilson
In my Maven project (an aggregate project with child projects) I issue the following command for the Versions Maven Plugin:     mvn versions:display-dependency-updates There are a couple of outdated dependencies I'm not sure where are coming from: [INFO] The following dependencies in

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

2023-11-09 Thread Benjamin Marwell
Hi Joseph! Not really sure what you mean by "keep java's version in sync". Since you said "-version option on my project", I am guessing you have a CLI app and you want to report the version which you specify in your pom.xml file. Now to do that and have it working with your project, here are

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

2023-11-09 Thread Greg Chabala
I'll just mention that I've used the file referenced in the StackOverflow question, META-INF/maven/${groupId}/${artifactId}/pom.properties, before to do something much like you describe, print my application version to the log at startup. It did not need any special configuration to appear, and