[ANN] Release Maven Dependency Plugin 3.8.0 released

2024-08-21 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.8.0. https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-27 Thread Karl Heinz Marbaise
On 26.06.24 21:26, Robert Turner wrote: On Wed, Jun 26, 2024 at 5:12 AM Karl Heinz Marbaise wrote: Hi, On 26.06.24 03:51, Robert Turner wrote: On Tue, Jun 25, 2024 at 8:36 PM Karl Heinz Marbaise wrote: Hi, I'm not sure if I understand your problem correct, because based on the copy-depen

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
t; > > > This "builds" the trivial empty JAR file, and copies no dependencies > (as > > > none are declared). > > > > > > > > > However, my local Maven repository (cache) now contains a really old > > > version of log4j: > > > >

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
AR or accessible to the environment executing it. > > > > > > > >> It would also very helpful to have a full pom file of that project or > >> maybe a link to a github project (or alike)? > >> > > > > > > I think what is happening is tha

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
On Wed, Jun 26, 2024 at 1:36 AM Nils Breunese wrote: > Robert Turner wrote: > > > The "problem" is not that the old log4j gets copied to the output folder, > > it's that it is fetched into the local Maven cache / repository, which is > > then picked up by security tooling (which of course compla

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Tamás Cservenák
will help to explain what > > I'm seeing (and I think it makes sense now, but still has an > > undesirable result). (see below) > > It was not the question of digging into that... The question was: Why do > need to use copy-dependencies in your build? > > >

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Karl Heinz Marbaise
l to have a full pom file of that project or maybe a link to a github project (or alike)? I think what is happening is that `maven-dependency-plugin` (3.7.1) depends transitively on log4j 1.2.12 -- I'm still working through trying to figure that out though. Originally (a few months ago), I

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Nils Breunese
Robert Turner wrote: > The "problem" is not that the old log4j gets copied to the output folder, > it's that it is fetched into the local Maven cache / repository, which is > then picked up by security tooling (which of course complains that it is > ancient and has vulnerabilities). There is no

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Robert Turner
). (see below) > > > >> It would also very helpful to have a full pom file of that project or >> maybe a link to a github project (or alike)? >> > > > I think what is happening is that `maven-dependency-plugin` (3.7.1) > depends transitively on log4j 1.2.12 --

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Robert Turner
and hopefully this additional information will help to explain what I'm seeing (and I think it makes sense now, but still has an undesirable result). (see below) > It would also very helpful to have a full pom file of that project or > maybe a link to a github project (or alike)? >

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Karl Heinz Marbaise
fic plugin with the transitive dependency to the offending package [1] is "maven-javadoc-plugin" (which likely needs some updates of dependencies, etc, in particular maven-reporting- which seem to be the ones that are older). During our build process, "maven-dependency-plugin"

maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-24 Thread Robert Turner
e [1] is "maven-javadoc-plugin" (which likely needs some updates of dependencies, etc, in particular maven-reporting- which seem to be the ones that are older). During our build process, "maven-dependency-plugin" is used with the goal "copy-dependencies" to copy runt

[ANN] Apache Maven Dependency Plugin 3.7.1 released

2024-06-21 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.7.1 https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

[ANN] Release Maven Dependency Plugin 3.7.0 released

2024-06-11 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.7.0. https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

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 over-and-over-and-o

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
Oh, and as a side effect, the plugin is way more snappier as well, look at execution time diffs (I know, this is not "benchmark", but is telling): https://gist.github.com/cstamas/6026436527cbd669ce1a5f183f03fe51 toolbox needs almost only 60% of runtime that m-dep-p have. T On Tue, Mar 26, 2024 a

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
Rudimentary support for those is already present (equals, startWith, endsWith) :) So one can write ArtifactMatcher "spec expression" (that will be parsed into ArtifactMatcher that is actually Predicate) as: "artifact(gavoid)" where "gavoid" can be "string" or "g:a" or "g:a:v" etc Each field curren

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Francois Marot
Thanks Tamas for all your work. I'll sure have a look (but not right now as I'm in a train station on a phone). Just to mention a feature I missed yesterday in m-d-p: ability to filter on classifiers including *wildcards*. Because I have dependencies with this kind of classifiers: natives-win, nati

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
Just for those brave... if you toy with it. The "copy" and "copy-transitive" CLI commands and Mojos have "targetSpec" parameters, that are parsed into ArtifactSink here: https://github.com/maveniverse/toolbox/blob/main/shared/src/main/java/eu/maveniverse/maven/toolbox/shared/internal/ToolboxComman

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
Howdy, Yes, m-dep-p is under maintained, it actually would need a rewrite as it still uses MAT (and many other Maven2 archaic stuff) internally. Hence, it will fail if used with 3.9+ features like "split repository" and is suboptimal in many areas. Toolbox 0.1.0 released, btw: jbang toolbox@mave

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Greg Chabala
Hello Tamás, For context, what are the tensions that you're trying to solve here? Is m-dependency-p too big/getting unmaintainable/becoming a kitchen sink? Do some goals feel like a bad fit? Are you thinking of breaking it up or replacing it? Greg On Tue, Mar 26, 2024 at 8:52 AM Tamás Cserven

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
ed all of them in different projects and I think all > >> of them are needed. > >> > >> Viele Grüße > >> > >> Oliver > >> > >> > >> Am 21.03.24 um 17:04 schrieb Tamás Cservenák: > >>> Howdy, > >>> > >>

Re: [DISCUSS] Maven Dependency Plugin

2024-03-23 Thread Oliver B. Fischer
be interested in how users and devs are using maven-dependency-plugin: https://maven.apache.org/plugins/maven-dependency-plugin/ I collected some basic questions I'd like to have answered (but feel free to add more info!): - which goals are "must have" for you - which goals are "

Re: [DISCUSS] Maven Dependency Plugin

2024-03-22 Thread Alexander Kriegisch
ested in how users and devs are using > maven-dependency-plugin: > https://maven.apache.org/plugins/maven-dependency-plugin/ > > I collected some basic questions I'd like to have answered (but feel free > to add more info!): > - which goals are "must have" for you

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Michael Osipov
Many downstream package maintainers use :go-offline to build packages offline in a container w/o outbound network access. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@ma

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Slawomir Jaranowski
ncy:copy > > > - dependency:copy-dependencies > > > - dependency:go-offline > > > - dependency:list > > > - dependency:tree > > > - dependency:unpack > > > - dependency:unpack-dependencies > > > > > > > > > > > >

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Francois Marot
t; I'd would be interested in how users and devs are using > maven-dependency-plugin: > https://maven.apache.org/plugins/maven-dependency-plugin/ > > I collected some basic questions I'd like to have answered (but feel free > to add more info!): > - which goals are &quo

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
> > > > > > > > > > > Hi > > > > > > I use: > > > > > > > > > > > > - dependency:analyze / dependency:analyze-only > > > > > > - dependency:copy > > > > > > - dependency:c

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Greg Chabala
r Jaranowski < > > > > s.jaranow...@gmail.com> > > > > wrote: > > > > > > > > > Hi > > > > > I use: > > > > > > > > > > - dependency:analyze / dependency:analyze-only > > > > > - dependency:copy > &g

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
> > > - dependency:copy-dependencies > > > > - dependency:go-offline > > > > - dependency:list > > > > - dependency:tree > > > > - dependency:unpack > > > > - dependency:unpack-dependencies > > > > > > > > > &g

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Greg Chabala
gt; - dependency:tree > > > - dependency:unpack > > > - dependency:unpack-dependencies > > > > > > > > > > > > czw., 21 mar 2024 o 17:06 Tamás Cservenák > > > napisał(a): > > > > > > > Howdy, > > > > &

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
dependency:analyze / dependency:analyze-only >> > - dependency:copy >> > - dependency:copy-dependencies >> > - dependency:go-offline >> > - dependency:list >> > - dependency:tree >> > - dependency:unpack >> > - dependency:unpack-depe

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
> czw., 21 mar 2024 o 17:06 Tamás Cservenák > > napisał(a): > > > > > Howdy, > > > > > > I'd would be interested in how users and devs are using > > > maven-dependency-plugin: > > > https://maven.apache.org/plugins/maven-dependency-plu

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Scott Kurz
gt; czw., 21 mar 2024 o 17:06 Tamás Cservenák > napisał(a): > > > Howdy, > > > > I'd would be interested in how users and devs are using > > maven-dependency-plugin: > > https://maven.apache.org/plugins/maven-dependency-plugin/ > > > > I collected

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Elliotte Rusty Harold
Like a couple of other folks 90% of my usage is dependency:analyze and dependency:tree. Other goals I barely notice. On Thu, Mar 21, 2024 at 12:06 PM Tamás Cservenák wrote: > > Howdy, > > I'd would be interested in how users and devs are using > maven-depend

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
Agreed, Use of "purge-local-repository" is a very bad thing (next to "go offline" and related goals). They all come from the "maven2 era", and should never be used with Maven3... T On Thu, Mar 21, 2024 at 7:50 PM Richard Eckart de Castilho wrote: > > > On 21. Mar 2024, at 19:43, Tamás Cservenák

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Slawomir Jaranowski
> I'd would be interested in how users and devs are using > maven-dependency-plugin: > https://maven.apache.org/plugins/maven-dependency-plugin/ > > I collected some basic questions I'd like to have answered (but feel free > to add more info!): > - which goals are "

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Richard Eckart de Castilho
> On 21. Mar 2024, at 19:43, Tamás Cservenák wrote: > > I mean, I know what those goals do, I am just unsure WHY you needed those. The current Apache UIMA release guidelines still list them as suggested steps to perform before a local trial build to ensure locally cached artifacts do not inter

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
; over the time I used all of them in different projects and I think all > of them are needed. > > Viele Grüße > > Oliver > > > Am 21.03.24 um 17:04 schrieb Tamás Cservenák: > > Howdy, > > > > I'd would be interested in how users and devs are using > &

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Oliver B. Fischer
Hi, over the time I used all of them in different projects and I think all of them are needed. Viele Grüße Oliver Am 21.03.24 um 17:04 schrieb Tamás Cservenák: Howdy, I'd would be interested in how users and devs are using maven-dependency-plugin: https://maven.apache.org/plugins/

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Richard Eckart de Castilho
Hi, I mostly use the "analyze" (mostly the "analyze-only") and "tree" goals, but I have also already used "copy/unpack-dependencies", "sources", "purge-local-repository" and "resolve". IMHO the "versions" plugin has a few functionalities that feel like could also belong to the dependencies plugi

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Romain Manni-Bucau
aa151ddabf7bc78/src/GenerateReadme.java#L74 > > On Thu, Mar 21, 2024 at 5:06 PM Tamás Cservenák > wrote: > > > Howdy, > > > > I'd would be interested in how users and devs are using > > maven-dependency-plugin: > > https://maven.apache.org/plugins/mave

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Matthias Bünger
Hey, mainly tree and analyze (note: we also use enforcer-plugin with some rules for dependencies) Greetings Matthias Am 21.03.2024 um 17:04 schrieb Tamás Cservenák: Howdy, I'd would be interested in how users and devs are using maven-dependency-plugin: https://maven.apache.org/plugins/

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Christian Stein
ven-starter-projects/blob/c7839302f3552caa4de42bc97aa151ddabf7bc78/src/GenerateReadme.java#L74 On Thu, Mar 21, 2024 at 5:06 PM Tamás Cservenák wrote: > Howdy, > > I'd would be interested in how users and devs are using > maven-dependency-plugin: > https://maven.apache.or

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread jebeaudet
would be nice to have it on the cli as well. Thanks for reaching out! On Thu, Mar 21, 2024 at 12:35 PM Gary Gregory wrote: > 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 coul

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 Cserve

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Mantas Gridinas
, Mar 21, 2024, 18:06 Tamás Cservenák wrote: > Howdy, > > I'd would be interested in how users and devs are using > maven-dependency-plugin: > https://maven.apache.org/plugins/maven-dependency-plugin/ > > I collected some basic questions I'd like to have answer

[DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
Howdy, I'd would be interested in how users and devs are using maven-dependency-plugin: https://maven.apache.org/plugins/maven-dependency-plugin/ I collected some basic questions I'd like to have answered (but feel free to add more info!): - which goals are "must have" for y

[ANN] Release Maven Dependency Plugin 3.6.1 released

2023-10-23 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.6.1. https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

[ANN] Release Maven Dependency Plugin 3.6.0 released

2023-05-22 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.6.0. https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

Some queries regarding maven-dependency plugin

2023-05-09 Thread Kamalpreet Kaur
Hi Everyone, I have been using maven-dependency-plugin for resolving artifact path (goal: properties) org.apache.maven.plugins maven-dependency-plugin 3.3.0 getArtifactPath properties And accessing the property ${*groupId:artifactId:jar} . * I am interested in knowing the

[ANN] Release Maven Dependency Plugin 3.5.0 released

2023-01-11 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.5.0. https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

[ANN] Release Maven Dependency Plugin 3.4.0 released

2022-11-29 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.4.0. https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

Re: Please release maven-dependency-plugin 3.3.1

2022-11-21 Thread Slawomir Jaranowski
śr., 2 lis 2022 o 17:59 Andreas Sewe napisał(a): > Hi, > > would it be possible to please release the next version of the > maven-dependency-plugin, 3.3.1? > > Besides bug-fix updates to its maven-dependency-analyzer and > maven-dependency-tree dependencies, version 3.3.

Please release maven-dependency-plugin 3.3.1

2022-11-02 Thread Andreas Sewe
Hi, would it be possible to please release the next version of the maven-dependency-plugin, 3.3.1? Besides bug-fix updates to its maven-dependency-analyzer and maven-dependency-tree dependencies, version 3.3.1 also introduces the new configuration options which I need in a project of mine

[ANN] Apache Maven Dependency Plugin 3.3.0 Released

2022-03-11 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache Maven Dependency Plugin, version 3.3.0 This plugin provides utility goals to work with dependencies like copying, unpacking, analyzing, resolving and many more. https://maven.apache.org/plugins/maven-dependency-plugin/ You

Maven Dependency Plugin not working with JDK 17

2021-06-21 Thread João Fernandes
Hi, Did anyone tried the most recent version of Maven Dependency Plugin 3.2.0 with JDK 17? I'm getting the following error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.2.0:analyze-only (enforce) on project my-project: Execution enforce of

[ANN] Release Maven Dependency Plugin 3.2.0 released

2021-06-12 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin version 3.2.0. https://maven.apache.org/plugins/maven-dependency-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-dependency-plugin

maven-dependency-plugin 3.1.3?

2021-04-27 Thread Tom VanDeGrift
uts at all with version 1.9.2. Many of the maven plugins have been updated and released using this updated version of doxia-site-renderer. Unfortunately maven-dependency-plugin has not been released with this update. So it is impossible to fully update to that version of doxia-site-renderer, as the ve

Re: maven-dependency-plugin unpack goal: do not overwrite existing files

2021-04-19 Thread Alexander Kriegisch
See my answer on StackOverflow. I hope it helps. https://stackoverflow.com/a/67158497/1082681 -- Alexander Kriegisch https://scrum-master.de Amedee Van Gasse schrieb am 19.04.2021 14:42 (GMT +07:00): > I do not ever want maven-dependency-plugin:3.1.2:unpack to overwrite existing > fi

Re: maven-dependency-plugin unpack goal: do not overwrite existing files

2021-04-19 Thread Delany
Hi Amedee. Can you post the output of your command again, replacing "install" with "fr.jcgay.maven.plugins:buildplan-maven-plugin:list-phase" Delany On Mon, 19 Apr 2021 at 09:42, Amedee Van Gasse wrote: > I do not ever want maven-dependency-plugin:3.1.2:unpack to overwr

maven-dependency-plugin unpack goal: do not overwrite existing files

2021-04-19 Thread Amedee Van Gasse
I do not ever want maven-dependency-plugin:3.1.2:unpack to overwrite existing files in any circumstances. This is my current pom.xml configuration: maven-dependency-plugin 3.1.2 unpack-zip-files generate-test-resources unpack

Re: Maven Dependency Plugin

2020-10-26 Thread John Patrick
s the anticipated > release date of Maven 3.7.0 that I could announce there? > -Markus > > > -Ursprüngliche Nachricht- > Von: John Patrick > Gesendet: Montag, 26. Oktober 2020 12:07 > An: Maven Users List > Betreff: Re: Maven Dependency Plugin > > If you rea

AW: Maven Dependency Plugin

2020-10-26 Thread Markus Karg
e? -Markus -Ursprüngliche Nachricht- Von: John Patrick Gesendet: Montag, 26. Oktober 2020 12:07 An: Maven Users List Betreff: Re: Maven Dependency Plugin If you read the opening line it talks about Maven 3.7.0, which is not yet released. If you want to use a maven wrapper before v3.7.0, the

Re: Maven Dependency Plugin

2020-10-26 Thread John Patrick
If you read the opening line it talks about Maven 3.7.0, which is not yet released. If you want to use a maven wrapper before v3.7.0, then use this https://github.com/takari/maven-wrapper. The upgrade from takari to maven is easy but does allow you to change your documentation, process and ci proc

Maven Dependency Plugin

2020-10-26 Thread Markus Karg
When I am using this plugin https://maven.apache.org/plugins/maven-wrapper-plugin/ then Maven fails because it apparently cannot find needed runtime files on Maven Central. This limitation is not told on that page. Is that a bug or am I doing something wrong? -Markus

Re: [Maven Dependency Plugin] usedDependency vs. ignoredUnusedDeclaredDependencies

2020-09-14 Thread Alexander Kriegisch
tions/63885408/maven-dependency-plugin-useddependency-vs-ignoredunuseddeclareddependencies > > On 2020/09/02 15:09:43, Shelley wrote: >> What is the difference between the maven-dependency-plugin's >> *ignoredUnusedDeclaredDependencies* [1] and *usedDependencies *[2]? >&

Re: [Maven Dependency Plugin] usedDependency vs. ignoredUnusedDeclaredDependencies

2020-09-14 Thread Shelley Baker
I've also posted this question on Stack Overflow: https://stackoverflow.com/questions/63885408/maven-dependency-plugin-useddependency-vs-ignoredunuseddeclareddependencies On 2020/09/02 15:09:43, Shelley wrote: > What is the difference between the maven-dependency-

[Maven Dependency Plugin] usedDependency vs. ignoredUnusedDeclaredDependencies

2020-09-02 Thread Shelley
em to accomplish this, so I'd like some clarification as to what the difference is between them, and which to use when. [1] https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredUnusedDeclaredDependencies [2] https://maven.apache.org/plugins/maven-dependency-plug

Re: maven-dependency-plugin:3.1.2:unpack not invoked, then does not unpack specified dependencies

2020-07-15 Thread Simone Tripodi
reopening the bash made it work, didn't understand why - thanks anyway all the best, -Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Tue, Jul 14, 2020 at 2:14 PM Simone Tripodi wrote: > > Hi all mates, > I configured maven-dependency-plugin in my pom.x

maven-dependency-plugin:3.1.2:unpack not invoked, then does not unpack specified dependencies

2020-07-14 Thread Simone Tripodi
Hi all mates, I configured maven-dependency-plugin in my pom.xml in order to unpack an artifact, the issue is that the plugin is not hit in any way; follows below my pom snippet: org.apache.maven.plugins maven-dependency-plugin 3.1.2

mvn site vs an unusual maven-dependency-plugin configuration

2019-08-29 Thread Alex O'Ree
en, I declare the dependency (it's a zip file in central), then use the maven-dependency-plugin (unpack-dependencies goal) to copy the dependencies to the target folder using the phase "compile". I've tried other phases but this is the only one that i tried whereby this works. Then

[ANN] Apache Maven Dependency Plugin Version 3.1.1 Released

2018-05-23 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven Dependency Plugin Version 3.1.1 https://maven.apache.org/plugins/maven-dependency-plugin/ Important Note since 3.1.1: * Maven 3.X only * JDK 7 minimum requirement You should specify the version in your project&#

[ANN] Apache Maven Dependency Plugin Version 3.1.0 Released

2018-04-06 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven Dependency Plugin Version 3.1.0 https://maven.apache.org/plugins/maven-dependency-plugin/ Important Note since 3.1.0: * Maven 3.X only * JDK 7 minimum requirement You should specify the version in your project&#

Re: [Maven Dependency Plugin] Inheriting transitive dependencies whilst defining an artifact output directory

2018-02-23 Thread Lewis John McGibbney
Hi Jörg, This is excellent and worked a treat. Thank you so much, for future reference, once the dependencies are declared with a , here is the correct plugin configuration solution org.apache.maven.plugins maven-dependency-plugin

Re: [Maven Dependency Plugin] Inheriting transitive dependencies whilst defining an artifact output directory

2018-02-23 Thread Jörg Schaible
, etc. > Thanks again for any hints. > Lewis > > On Fri, Feb 23, 2018 at 9:55 AM, lewis john mcgibbney > wrote: > >> Hello users@, >> I am looking to dynamically load JAR's during a program execution based >> upon a users input and therefore using the mave

Re: [Maven Dependency Plugin] Inheriting transitive dependencies whilst defining an artifact output directory

2018-02-23 Thread lewis john mcgibbney
I should also say, that the workaround is to list each and every transitive dependency in the dependency declaration with scope 'provided', such that they are NOT on the normal runtime classpath but ARE correctly copied into the target directory defined within the maven-depende

[Maven Dependency Plugin] Inheriting transitive dependencies whilst defining an artifact output directory

2018-02-23 Thread lewis john mcgibbney
Hello users@, I am looking to dynamically load JAR's during a program execution based upon a users input and therefore using the maven-dependency-plugin to do this. Specifically, the plugin configuration looks as follows org.apache.maven.plugins maven-dependency-p

[ANN] Apache Maven Dependency Plugin Version 3.0.2 Released

2017-09-14 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven Dependency Plugin Version 3.0.2. https://maven.apache.org/plugins/maven-dependency-plugin/ Important Note since 3.0.0: * Maven 3.X only * JDK 6 minimum requirement You should specify the version in your project&#

[ANN] Apache Maven Dependency Plugin Version 3.0.1 Released

2017-05-16 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven Dependency Plugin Version 3.0.1. https://maven.apache.org/plugins/maven-dependency-plugin/ Important Note since 3.0.0: * Maven 3.X only * JDK 6 minimum requirement You should specify the version in your project&#

Re: maven-dependency-plugin skips unpack goal

2017-01-23 Thread David Hoffer
ld profile then it works. So what this tells me is that the usage of aggregate-jar goal breaks the maven-dependency-plugin in the sense that it no longer can know about all (it does know about some) project artifacts that were previously created by the reactor build via the maven-assembly-plugin

Re: maven-dependency-plugin skips unpack goal

2017-01-23 Thread David Hoffer
;>" in the output... > > > > >> >> >> Furthermore I would suggest to test it several times without >> influence of Teamcity (cause it seemed to be having some kind of >> watcher running)..I had such issues in Jenkins a while ago (with the &

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread Karl Heinz Marbaise
I just took a quick look. It seems we do the same/similar thing using the maven-assembly-plugin. E.g. our standard practice is to generate artifacts for later consumption using the maven-assembly-plugin and then consume with maven-dependency-plugin. Is this not a valid way to handle this?

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread David Hoffer
hermore it might be worth to check using the maven-remote-resources > plugin for the parts which you are unpackaging into the appropriate > packages...if it's only related to single files etc. ? But I'm not sure... > [dh] I'm not familiar with that plugin. I just took a qui

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread Karl Heinz Marbaise
rces:bullpen-jax-ws] [INFO] [00:34:49] :[com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] --- properties-maven-plugin:1.0-alpha-2:set-system-properties (set-additional-system-properties) @ bullpen-jax-ws --- [00:34:49] :[com.issinc.jms.jax.ws.resources:bullpen-

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread David Hoffer
ata from >>> 'F:/work/5c4a237177bf7a76/jax-ws-resources/bullpen-jax-ws/ta >>> rget/failsafe-reports/TEST-*.xml' >>> (not existing file) with 'surefire' processor >>> [00:34:49] :[com.issinc.jms.jax.ws.resources:bullpen-jax-w

Re: maven-dependency-plugin skips unpack goal

2017-01-21 Thread David Hoffer
mporting >> data from >> 'F:/work/5c4a237177bf7a76/jax-ws-resources/bullpen-jax-ws/ta >> rget/surefire-reports/TEST-*.xml' >> (not existing file) with 'surefire' processor >> [00:34:49] :[com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] >> [00:34:49] :[

Re: maven-dependency-plugin skips unpack goal

2017-01-21 Thread Karl Heinz Marbaise
INFO] --- properties-maven-plugin:1.0-alpha-2:set-system-properties (set-additional-system-properties) @ bullpen-jax-ws --- [00:34:49] :[com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] Set 3 system properties [00:34:49] :[com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] [00:34:49] :[com

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
] --- maven-dependency-plugin:3.0.0:unpack-dependencies (unpack-bullpen-msg) @ bullpen-jax-ws --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-dependency-plugin:3.0.0:unpack-dependencies from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-dependency-plugin:3.0.0, par

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
ng file) with 'surefire' > processor > [00:34:49] : [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] > [00:34:49] : [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] --- > properties-maven-plugin:1.0-alpha-2:set-system-properties > (set-additional-system-properties) @ bullpen-jax-ws -

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
.jax.ws.resources:bullpen-jax-ws] [INFO] [00:34:49] : [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] --- properties-maven-plugin:1.0-alpha-2:set-system-properties (set-additional-system-properties) @ bullpen-jax-ws --- [00:34:49] : [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] Set 3 syst

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread Karl Heinz Marbaise
Hi, On 20/01/17 17:07, Bernd Eckenfels wrote: Any logs (on debug level)? yes and a concrete error message and of course (as Bernd already mentioned log output)... Just a note: Have you correctly defined a dependency to the module which creates the zip/tar/jar from your module which uses m

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
I'll run that right now... -Dave On Fri, Jan 20, 2017 at 9:07 AM, Bernd Eckenfels wrote: > Any logs (on debug level)? > > Am Fri, 20 Jan 2017 08:55:44 -0700 > schrieb David Hoffer : > > > We have a large multi-module build where occasionally (often) the > > maven-dependency-plugin's unpack and

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread Bernd Eckenfels
Any logs (on debug level)? Am Fri, 20 Jan 2017 08:55:44 -0700 schrieb David Hoffer : > We have a large multi-module build where occasionally (often) the > maven-dependency-plugin's unpack and unpack-dependencies goal will > skip their work. E.g. The specified artifact is not unzipped. -

maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
n various parts of the build and unzip (usually with file filtering) so that the consuming module can perform some operation on the file(s), e.g. wsimport goal. Note that in all/most cases we use maven-dependency-plugin to unpack more than one artifact. In the one that is failing now, it unpacks tw

[ANN] Apache Maven Dependency Plugin 3.0.0 Released

2016-12-16 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Dependency Plugin, version 3.0.0 The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location. https

Re: Artefact jars, copied by maven-dependency-plugin, are unrecognisable.

2016-12-02 Thread Gintautas Sulskus
irectory. > For this purpose, I am using maven-dependency-plugin [1]. The code to copy > a PostgreSQL artefact to project sub-dir "lib" looks as in [2]. > > The jar is copied to the specified location (./lib) as expected. However, > the jar cannot be opened and is unusable.

Artefact jars, copied by maven-dependency-plugin, are unrecognisable.

2016-12-02 Thread Gintautas Sulskus
Hi, I am trying to copy a few maven artefacts to the project's build directory. For this purpose, I am using maven-dependency-plugin [1]. The code to copy a PostgreSQL artefact to project sub-dir "lib" looks as in [2]. The jar is copied to the specified location (./lib) as expecte

Re: maven dependency plugin - build-classpath goal

2016-11-09 Thread Dagan Sandler
Hi, Can you show your pom and what's the result you're getting? I have just tested with a sample project and it looks fine: junit junit 4.11 sources org.apache.maven.plugins maven-dependency-plugin 2.10 Command line: mvn dependency:build-classpath -Dmdep.stripClass

maven dependency plugin - build-classpath goal

2016-11-03 Thread LEBOULANGER Aurélien
Hello, I’m trying to use the maven-dependency plugin (2.10) with the build-classpath goal. I want to strip the classifier but it’s not work: mvn dependency:build-classpath -Dmdep.stripClassifier=true I also add the option -Dmdep.prefix="foo" (needed regarding the documentation) bu

  1   2   3   4   5   >