Activate profile for a goal ?

2024-04-22 Thread Thierry Lach
Is it possible to activate a profile when executing a specific goal? Specifically, I want to always activate a "coverage" profile when executing the "site" goal. -- --- *A vision without resources is just a hallucination*. *Adapted from Thomas Edison*

Re: Executing verify goal even if previous goal failed

2024-03-06 Thread Mantas Gridinas
Yep. That does the trick. Cheers On Wed, Mar 6, 2024, 12:33 Martin Höller wrote: > Hi! > > Am 06. Mär. 2024 schrieb Mantas Gridinas: > > > (Maven 3.9.4) > > > > Suppose I have failing unit tests configured via surefire plugin but I > > still want to run the integration tests configured via

Re: Executing verify goal even if previous goal failed

2024-03-06 Thread Martin Höller
Hi! Am 06. Mär. 2024 schrieb Mantas Gridinas: > (Maven 3.9.4) > > Suppose I have failing unit tests configured via surefire plugin but I > still want to run the integration tests configured via failsafe plugin. In > default case maven stops running the lifecycle/goals when one of the > previous

Executing verify goal even if previous goal failed

2024-03-06 Thread Mantas Gridinas
(Maven 3.9.4) Suppose I have failing unit tests configured via surefire plugin but I still want to run the integration tests configured via failsafe plugin. In default case maven stops running the lifecycle/goals when one of the previous ones fails. How do I prevent that? The fail at end flag

Re: How to know which plugin/goal is frozen in multithreaded build ?

2024-02-03 Thread Tamás Cservenák
Howdy, Important questions: - what maven version exactly - what java version are you using? - how exactly is "multi threaded" build invoked Also, you could tweak logging properties to show threads and trigger MT build in debug piped into file, and that file when filtered for thread name would

Re: How to know which plugin/goal is frozen in multithreaded build ?

2024-02-03 Thread Lasse Lindqvist
I would suggest maybe just attaching a profiler and/or taking a stackdump. It should show you what plugin is currently running and stuck. la 3. helmik. 2024 klo 18.48 Francois Marot (francois.ma...@gmail.com) kirjoitti: > > Hello all, > > I have a large build that completes normally in single

How to know which plugin/goal is frozen in multithreaded build ?

2024-02-03 Thread Francois Marot
Hello all, I have a large build that completes normally in single threaded build but freezes in multithreaded builds. Problem is I do not know which module and which plugin is frozen. The last logs that get displayed are the classic end log for a given module and the logs always stop there. So I

AW: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-09-11 Thread Bernhard Schuhmann
Wondering why no one mentioned https://github.com/highsource/jaxb-tools yet? Some good people have resurrected the project after the original maintainer passed away. Given the still existing need for the plug-ins, I’m thankful someone filled the void and not just created yet another fork of the

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-25 Thread Falko Modler
Delany wrote: Try here https://stackoverflow.com/a/32336886/2746335 Delany On Tue, 22 Aug 2023 at 21:16, David Hoffer wrote: 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

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-25 Thread Delany
have > > extension > > > support for: > > > > > > toString > > > defaultValue > > > > > > But does not have support for: > > > equals > > > hashCode > > > > > > And those I would really like to have.

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-24 Thread David Hoffer
Value > > > > 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

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread Delany
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 > > > >

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread David Hoffer
offer wrote: > > > 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 &

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread Delany
Try here https://stackoverflow.com/a/32336886/2746335 Delany On Tue, 22 Aug 2023 at 21:16, David Hoffer wrote: > 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 ad

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

Re: Plugin goal that will trigger "verify"

2022-03-10 Thread Thomas Broyer
it doesn’t work the other way around, > so > >> you can’t make a plugin goal execute particular phases, which seems to > be > >> what you’re asking. It should be the other way around: you can > associate a > >> plugin goal with a phase and then when you execute

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Nils Breunese
Thomas Broyer wrote: > Le mer. 9 mars 2022 à 23:48, Nils Breunese a écrit : > >> The Maven build lifecycle consists of phases [0] and you can bind plugin >> goals to phases. As far as I know it doesn’t work the other way around, so >> you can’t make a plugin goal e

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
into VSCode with my project > > > archetype. The way that the VSCode maven extension seems to prefer to > > work > > > is for users to explicitly "run" a goal from a plugin of the project. > > > > > > You can see the VSCode instru

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Thomas Broyer
Le mer. 9 mars 2022 à 23:48, Nils Breunese a écrit : > Steve Hannah wrote: > > > I'm trying to achieve better integration into VSCode with my project > > archetype. The way that the VSCode maven extension seems to prefer to > work > > is for users to explicitly

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
ications. > > The Maven build lifecycle, like the name suggests, is aimed at building > projects. While a plugin goal might let you run something there is no > specific build lifecycle phase for that. I generally let my IDE do the > running, instead of involving Maven. > > But you c

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
un" the app > and > > a separate action to "build" the app. > > I don’t generally work on desktop application projects, but I don’t think > it should be fundamentally different from working on web server > applications. > > The Maven build lifecycle, like the name

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Nils Breunese
on’t generally work on desktop application projects, but I don’t think it should be fundamentally different from working on web server applications. The Maven build lifecycle, like the name suggests, is aimed at building projects. While a plugin goal might let you run something there is no specific b

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
> > The Maven build lifecycle consists of phases [0] and you can bind plugin > goals to phases. As far as I know it doesn’t work the other way around, so > you can’t make a plugin goal execute particular phases, which seems to be > what you’re asking. It should be the other way

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Nils Breunese
Steve Hannah wrote: > I'm trying to achieve better integration into VSCode with my project > archetype. The way that the VSCode maven extension seems to prefer to work > is for users to explicitly "run" a goal from a plugin of the project. > > You can see the VSCode

Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
I'm trying to achieve better integration into VSCode with my project archetype. The way that the VSCode maven extension seems to prefer to work is for users to explicitly "run" a goal from a plugin of the project. You can see the VSCode instructions for running a JavaFX app as an ex

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

2021-04-19 Thread Alexander Kriegisch
ny circumstances? > > ***Documentation referenced*** > > https://maven.apache.org/plugins/maven-dependency-plugin/usage.html#Overwrite_Rules > https://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html > > Also asked on Stack Overflow, but I didn't get an answ

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

2021-04-19 Thread Delany
circumstances? > > ***Documentation referenced*** > > > https://maven.apache.org/plugins/maven-dependency-plugin/usage.html#Overwrite_Rules > https://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html > > Also asked on Stack Overflow, but I didn't get an answer there: > > https://stackoverflow.com/questions/67066164/maven-dependency-plugin-unpack-goal-do-not-overwrite-existing-files > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >

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

2021-04-19 Thread Amedee Van Gasse
-goal-do-not-overwrite-existing-files - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven goal for dependencies

2020-11-11 Thread Karl Heinz Marbaise
I execute SonarQube Scanner on it. The issue is that SonarQube requires my project's dependencies to be on the path in order to properly scan my code. So, I need some Maven goal which will collect all dependencies in my project and place them inside of the /lib folder. Which Maven goal should I

Re: Maven goal for dependencies

2020-11-11 Thread Oliver B. Fischer
So, I need some Maven goal which will collect all dependencies in my project and place them inside of the /lib folder. Which Maven goal should I use? Final result should be /lib folder containing apache, spring... dependencies. Thank you in advance,Milan -- N Oliver B. Fischer A Schönhauser Allee

Maven goal for dependencies

2020-11-11 Thread Milan Tomic
The issue is that SonarQube requires my project's dependencies to be on the path in order to properly scan my code. So, I need some Maven goal which will collect all dependencies in my project and place them inside of the /lib folder. Which Maven goal should I use? Final result should be /lib folder

Re: CPD goal in maven plugin does not support txt format.

2020-07-04 Thread LINUS FERNANDES
t , in my opinion, when I'm > seeking only for the text output. > > > On Sat, 4 Jul 2020, 09:40 Greg Chabala, wrote: > >> >> 'text' doesn't work. >> >> In my opinion, txt and text should both be viable options. >> >> >> >> The PMD goal r

Re: CPD goal in maven plugin does not support txt format.

2020-07-04 Thread LINUS FERNANDES
the XML as well is a side effect , in my opinion, when I'm seeking only for the text output. On Sat, 4 Jul 2020, 09:40 Greg Chabala, wrote: > >> 'text' doesn't work. > >> In my opinion, txt and text should both be viable options. > >> > >> The PMD goal

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread Greg Chabala
>> 'text' doesn't work. >> In my opinion, txt and text should both be viable options. >> >> The PMD goal rejects 'text' and only accepts 'txt'. Sorry about that. Just a guess on my part from looking at the source of TextRenderer <https://github.com/pmd/pmd/blob/master

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
src/main/java/net/sourceforge/pmd/renderers/TextRenderer.java > > Try "text" instead of "txt". > > On Fri, Jul 3, 2020 at 2:18 AM LINUS FERNANDES > wrote: > > > If this is a bug, where do I file it? > > > > On Fri, 3 Jul 2020, 11:46 LI

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
ut? I see something similar with the Spotbugs plugin. There's no >> text output either and the XML output is too verbose for my liking. >> I've already filed an issue concerning that. >> >> 'text' doesn't work. >> In my opinion, txt and text should both be viable options

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
ML output is too verbose for my liking. > I've already filed an issue concerning that. > > 'text' doesn't work. > In my opinion, txt and text should both be viable options. > > The PMD goal rejects 'text' and only accepts 'txt'. > > Since they're from the same Maven fam

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
, txt and text should both be viable options. The PMD goal rejects 'text' and only accepts 'txt'. Since they're from the same Maven family, the CPD goal must accept txt as an option as well. And the documentation is misleading when it says it supports specifying 'txt' as an input. Specifying

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread Greg Chabala
va > > Try "text" instead of "txt". > > On Fri, Jul 3, 2020 at 2:18 AM LINUS FERNANDES > wrote: > >> If this is a bug, where do I file it? >> >> On Fri, 3 Jul 2020, 11:46 LINUS FERNANDES, >> wrote: >> >> > >> > I receiv

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread Greg Chabala
t;text" instead of "txt". On Fri, Jul 3, 2020 at 2:18 AM LINUS FERNANDES wrote: > If this is a bug, where do I file it? > > On Fri, 3 Jul 2020, 11:46 LINUS FERNANDES, > wrote: > > > > > I receive the following message while using the cpd goal in the PMD

Re: CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
If this is a bug, where do I file it? On Fri, 3 Jul 2020, 11:46 LINUS FERNANDES, wrote: > > I receive the following message while using the cpd goal in the PMD maven > plugin. > > maven.plugins:maven-pmd-plugin:3.13.0:cpd (cpd) on project DSAlgos: > Exe

CPD goal in maven plugin does not support txt format.

2020-07-03 Thread LINUS FERNANDES
I receive the following message while using the cpd goal in the PMD maven plugin. maven.plugins:maven-pmd-plugin:3.13.0:cpd (cpd) on project DSAlgos: Execution cpd of goal org.apache.maven.plugins:maven-pmd-plugin:3.13.0:cpd failed: org.apache.maven.reporting.MavenReportException: Can't find CPD

Maven: verify goal does not open up a browser in Automation Testing

2019-01-17 Thread WONG, Ka Chon
I'm using eclipse to create a run configuration mvn verify and it does not open a browser. I include the maven-failsafe-plugin and maven-compiler-plugin > > org.apache.maven.plugins > maven-failsafe-plugin > 3.0.0-M3 > > > >

Re: How to undo a maven goal etc ?

2018-05-23 Thread Karen Goh
On Wed, 5/23/18, Anders Hammar <and...@hammar.net> wrote: Subject: Re: How to undo a maven goal etc ? To: "Maven Users List" <users@maven.apache.org>, karenwo...@yahoo.com Date: Wednesday, May 23, 2018, 5:13 PM Is it still

Re: How to undo a maven goal etc ?

2018-05-23 Thread Karen Goh
for the new goal?On Wed, May 23, 2018 at 10:58 AM Karen Goh <karenwo...@yahoo.com.invalid> wrote: > Hi, > > I accidentally left out a : in  spring-boot:run the first time I tried to > use Maven build to see how the application pan out. > > Then, I did a clean but to no

Re: How to undo a maven goal etc ?

2018-05-23 Thread Karen Goh
Naven to forget about the mistaken. I also ran Maven Configuration and still it shows up the one without : Spring Boot(the mistake)... What do I do to completely make it look for the new goal?On Wed, May 23, 2018 at 10:58 AM Karen Goh <karenwo...@yahoo.com.invalid> wrote: > Hi, > > I

Re: How to undo a maven goal etc ?

2018-05-23 Thread Anders Hammar
: 9.035 s > [INFO] Finished at: 2018-05-23T16:38:35+08:00 > [INFO] Final Memory: 7M/113M > [INFO] > > [ERROR] Failed to execute goal > org.codehaus.mojo:cobertura-maven-plugin:2.7:clean (default) on project > IntegratedSpringDemo: Execution default of go

How to undo a maven goal etc ?

2018-05-23 Thread Karen Goh
] [INFO] Total time: 9.035 s [INFO] Finished at: 2018-05-23T16:38:35+08:00 [INFO] Final Memory: 7M/113M [INFO] [ERROR] Failed to execute goal org.codehaus.mojo:cobertura-maven-plugin:2.7:clean (default

Why does this Maven enhance goal scan and enhance all my classes despite exclusions?

2017-06-22 Thread don rhummy
I have the below pom.xml and when I run it, all my classes go through enhancements, even the ones in the "excludes" node. Why? How do I exclude them? http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;

Re: Plugin assembly: Howto use 'single' goal as an agregator ?

2017-03-14 Thread Alix Lourme
re architect - https://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden > > > On Tue, Mar 14, 2017 at 1:06 PM, Alix Lourme <alix.lou...@gmail.com> > wrote: > > > Hello, > > > > Even if using aggregator is not a good prac

Re: Plugin assembly: Howto use 'single' goal as an agregator ?

2017-03-14 Thread Curtis Rueden
, 2017 at 1:06 PM, Alix Lourme <alix.lou...@gmail.com> wrote: > Hello, > > Even if using aggregator is not a good practice in this case ... if there > is a technical possibility to force the aggregation for a goal by pom > configuration, I'll take it. > Because after continuin

Re: Plugin assembly: Howto use 'single' goal as an agregator ?

2017-03-14 Thread Alix Lourme
Hello, Even if using aggregator is not a good practice in this case ... if there is a technical possibility to force the aggregation for a goal by pom configuration, I'll take it. Because after continuing to dig, I am in a dead-end ^^ Many thanks. Best regards 2017-03-14 10:45 GMT+01:00 Alix

Re: Plugin assembly: Howto use 'single' goal as an agregator ?

2017-03-14 Thread Alix Lourme
sembly:attached*): * Upgrading a parent (company pom) & changing a 'goal' is simple * Reviewing completely the archive generation process (new module, descriptor content) is a little bit more complicated So I hoped for a consensus to accompagn the transition (maven-assembly-plugin v3.0.0) without proje

Re: Plugin assembly: Howto use 'single' goal as an agregator ?

2017-03-11 Thread Karl Heinz Marbaise
in contradiction to your supplemental goal calling from command line (you just simply miss it?). Apart from that using fileSets is usually not the correct way cause it relies on the content which is on the file system which might sometimes not what you really like if you don't do: mvn clean before

Plugin assembly: Howto use 'single' goal as an agregator ?

2017-03-11 Thread Alix Lourme
Hello, Since maven-assembly-plugin v3.3.0, the *attached* goal has been removed ( MASSEMBLY-704 <https://issues.apache.org/jira/browse/MASSEMBLY-704>). This *attached* goal was an aggregator (v2.6 source <https://svn.apache.org/repos/asf/maven/plugins/tags/maven-assembly-plugin-2.6/src/

RE: [EXTERNAL] Re: buildnumber-maven-plugin's buildNumber property unset during deploy goal

2017-02-27 Thread Justin Georgeson
ven-plugin's buildNumber property unset during deploy goal Plain old 'mvn deploy' results in the failure [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ artifact --- Downloading: http://art.example.com/artifactory

RE: [EXTERNAL] Re: buildnumber-maven-plugin's buildNumber property unset during deploy goal

2017-02-13 Thread Justin Georgeson
-maven-plugin's buildNumber property unset during deploy goal External Sender: Use caution with links/attachments. Hi, first how are you calling Maven ? Can you show a complete call...Furthermore a full example pom ? Based on the docs..Do you have the permission to use the property ? Yo

Re: buildnumber-maven-plugin's buildNumber property unset during deploy goal

2017-02-12 Thread Karl Heinz Marbaise
..@lgc.com] Sent: Saturday, February 11, 2017 6:51 PM To: Maven Users List (users@maven.apache.org) <users@maven.apache.org> Subject: [EXTERNAL] buildnumber-maven-plugin's buildNumber property unset during deploy goal External Sender: Use caution with links/attachments. Posting here i

RE: buildnumber-maven-plugin's buildNumber property unset during deploy goal

2017-02-11 Thread Justin Georgeson
To: Maven Users List (users@maven.apache.org) <users@maven.apache.org> Subject: [EXTERNAL] buildnumber-maven-plugin's buildNumber property unset during deploy goal External Sender: Use caution with links/attachments. Posting here in case the issue is in maven-deploy-plugin rather than b

buildnumber-maven-plugin's buildNumber property unset during deploy goal

2017-02-11 Thread Justin Georgeson
while all the other property references (including the ${timestamp} property also set by buildnumber-maven-plugin) are resolving ok. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project com.example.artifact: Failed to retrieve remot

Re: maven-dependency-plugin skips unpack goal

2017-01-23 Thread David Hoffer
I have another update on this...note I can't be 100% sure of my conclusions as it's somewhat random but here goes. clean install - succeeds -PciBuild clean install - fails -X -PciBuild clean install - succeeds at least some times However if I remove the aggregate-jar goal from ciBuild profile

Re: maven-dependency-plugin skips unpack goal

2017-01-23 Thread David Hoffer
gt; ${project.build.directory} >> com.issinc.jms.layer7.deployment> oupIds> >> layer7-static-resources >> wsdl-JMS-WS-Eventing >> zip >> true >> true >> true >> true> erArtifac

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread Karl Heinz Marbaise
t pom. However since a pom type it has no source so it doesn't generate anything for itself just its children. The only exception to this is we now also do generate aggregated javadoc jar for the entire project via the maven-javadoc-plugin aggregate-jar goal so this does run at the top level. I do

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread David Hoffer
pom type it has no source so it doesn't generate anything for itself just its children. The only exception to this is we now also do generate aggregated javadoc jar for the entire project via the maven-javadoc-plugin aggregate-jar goal so this does run at the top level. I don't know of any other way

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread Karl Heinz Marbaise
ect, it also creates an uber javadoc jar using the aggregate-jar goal. As I previously mentioned it does seem that generating the sources and javadoc jars aggravates this issue so it occurs more often and right now its failing almost all the time. If I remove the source and javadoc jar gene

Re: maven-dependency-plugin skips unpack goal

2017-01-22 Thread David Hoffer
profile just turns on generating sources and javadoc jars for the > project, it also creates an uber javadoc jar using the aggregate-jar goal. > As I previously mentioned it does seem that generating the sources and > javadoc jars aggravates this issue so it occurs more often and right now > i

Re: maven-dependency-plugin skips unpack goal

2017-01-21 Thread David Hoffer
nd javadoc jars for the project, it also creates an uber javadoc jar using the aggregate-jar goal. As I previously mentioned it does seem that generating the sources and javadoc jars aggravates this issue so it occurs more often and right now its failing almost all the time. If I remove the source

Re: maven-dependency-plugin skips unpack goal

2017-01-21 Thread Karl Heinz Marbaise
lpen-jax-ws-wsimport) @ bullpen-jax-ws --- [00:34:50] :[com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [Maven Watcher] [00:34:50]E:[com.issinc.jms.jax.ws.resources:bullpen-jax-ws] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsimport (bullpen-jax-ws-wsimport) on project bull

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
Okay I finally have debug build log information. Note this is for the two unpack-dependencies. The first finds and unpacks, the second does not. Note there are no errors here as the error is later when the missing file is referenced. Let me know if any other debug log info is needed. [INFO]

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
t; Replacement run on 0 file. > [00:34:50] : [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] > [00:34:50] : [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [INFO] --- > jaxws-maven-plugin:2.3:wsimport (bullpen-jax-ws-wsimport) @ > bullpen-jax-ws --- > [00:34:50] : [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] [Ma

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
: [com.issinc.jms.jax.ws.resources:bullpen-jax-ws] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsimport (bullpen-jax-ws-wsimport) on project bullpen-jax-ws: 'F:\work\5c4a237177bf7a76\jax-ws-resources\bullpen-jax-ws\target/wsdl/JMS-WS-Eventing/NotificationService.wsdl' not found. [00:34:50

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

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
e 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. > > - > To unsubscribe, e-mai

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 <dhoff...@gmail.com>: > 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 spe

maven-dependency-plugin skips unpack goal

2017-01-20 Thread 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. I have not been able to get a handle on what is causing this failure. This has been an ongoing issue

Anyone have evidence that javadoc:aggregate-jar works as a goal in a pom file?

2017-01-16 Thread Benson Margulies
The maven javadoc plugin source tree has no IT's for the aggregate-jar goal. When I try it in a seemingly obvious way, it fails by feeding the javadoc tool no java files to process. Can someone point to a working example

Re: maven dependency plugin - build-classpath goal

2016-11-09 Thread Dagan Sandler
-Dmdep.prefix=foo Output: [INFO] Dependencies classpath: foo\junit-4.11.jar;foo\hamcrest-core-1.3.jar On Thu, Nov 3, 2016 at 10:49 AM, LEBOULANGER Aurélien < aurelien.leboulan...@3ds.com> wrote: > Hello, > > I’m trying to use the maven-dependency plugin (2.10) with the > build-c

Re: maven-install-plugin: for goal install-file is ignored

2016-11-07 Thread Roland Laun
Hello Gerrit, the 'install-file' Mojo does not support the skip parameter, only 'install' does. What is your goal? Replacing the primary JAR artifact? Best regards, Roland From: Hohl, Gerrit <g.h...@aurenz.de> Sent: Monday, November 7, 2016 12

maven-install-plugin: for goal install-file is ignored

2016-11-07 Thread Hohl, Gerrit
Hello everyone, :-) me again. A moment ago I came across the following behaviour of the maven-install-plugin (v2.5.2): If I define the following: default-install

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)

Re: testCompile goal fails periodically on Windows because it cannot find test-classes directory

2016-10-22 Thread paul
ee errors like the following: > > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile > (test-compile) on project single-application-test: Fatal error compiling: > directory not found: > C:\projects\myproject\system-tes

testCompile goal fails periodically on Windows because it cannot find test-classes directory

2016-10-22 Thread Robert Patrick
Hi, I am seeing a periodic error when running our builds on Windows. When running "mvn clean verify" I occasionally see errors like the following: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile (test-compile) on proj

About goal analyze-duplicate of maven-dependency-plugin

2016-09-05 Thread Grammer
My bom-project use importing other poms in dependencyManagement section to accumulate dependency versions in one, and it seems that analyze-duplicate goal of maven-dependency-plugin is not detect duplication, if same dependency presence in importing pom and bom pom. For reproduce lets create two

RE: custom maven goal doesn't find project artifact jar

2016-04-01 Thread ml
e assume that it should be possible to force the execution of the > "package" phase before actually executing my plugin. > > I have tried it this way: > > / > @Mojo(name="upload", > defaultPhase=LifecyclePhase.PACKAGE, > requiresDependencyResol

RE: custom maven goal doesn't find project artifact jar

2016-03-31 Thread ml
Hi, > MG>lifecycle --> executes --> phase --> executes goal --> goal execution > MG>you can however reorder your lifecycle by creating a custom-lifecycle > and custom-goal(s) via maven-lifecycle-mapping > > https://books.sonatype.com/mvnref-book/refer

Re: custom maven goal doesn't find project artifact jar

2016-03-31 Thread ml
generated. So I want to force the execution of the "package" phase before the execution of my plugins goal. How can I achieve this? Best regards Marco - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: custom maven goal doesn't find project artifact jar

2016-03-30 Thread Robert Scholte
upload the generated artifacts and dependent artifacts to a development server. If I bind the goal of this plugin to a specific lifecycle phase, it runs well: / mygroupid myplugin 1.0 ...

custom maven goal doesn't find project artifact jar

2016-03-30 Thread ml
I have create a custom maven plugin to upload the generated artifacts and dependent artifacts to a development server. If I bind the goal of this plugin to a specific lifecycle phase, it runs well: / mygroupid myplugin 1.0

Re: Maven javadoc plugin's aggregate-jar goal, multi-module project, and code generation

2016-01-13 Thread Sarath Shasikumar
le.com> To: users@maven.apache.org Date: 01/14/2016 10:24 AM Subject:Maven javadoc plugin's aggregate-jar goal, multi-module project, and code generation I am beating my head against the wall on this and surely I am just being stupid so hopefully someone will take pity on me and

RE: Maven javadoc plugin's aggregate-jar goal, multi-module project, and code generation

2016-01-13 Thread Robert Patrick
Yeah, but that won't help since the code is not all in a single module. By default, the aggregate-jar goal docs claim it is bound to the package phase and all of my source in the submodules are generated in the generate-sources phase. Now that I analyze the output more carefully, it appears

Re: Maven javadoc plugin's aggregate-jar goal, multi-module project, and code generation

2016-01-13 Thread Sarath Shasikumar
le.com> To: users@maven.apache.org Date: 01/14/2016 10:24 AM Subject:Maven javadoc plugin's aggregate-jar goal, multi-module project, and code generation I am beating my head against the wall on this and surely I am just being stupid so hopefully someone will take pity on me and

Maven javadoc plugin's aggregate-jar goal, multi-module project, and code generation

2016-01-13 Thread Robert Patrick
maven-javadoc-plugin generate-javadoc aggregate-jar Unfortunately, this runs the aggregate-jar goal first, before building the modul

Re: regex-property goal of build-helper-maven-plugin documentation is incorrect

2015-11-18 Thread Dan Tran
n-plugin/commit/cdaa047253fdcb64f94e81a6e8575191b5919ab0 >> >> The site just hasn't been regenerated and uploaded, I guess? >> >> -Curtis >> >> On Mon, Nov 16, 2015 at 5:41 PM, Steve Cohen <sco...@javactivity.org> >> wrote: >> >> Docume

Re: regex-property goal of build-helper-maven-plugin documentation is incorrect

2015-11-17 Thread Alexander Kriegisch
github.com/mojohaus/build-helper-maven-plugin/commit/cdaa047253fdcb64f94e81a6e8575191b5919ab0 > > The site just hasn't been regenerated and uploaded, I guess? > > -Curtis > >> On Mon, Nov 16, 2015 at 5:41 PM, Steve Cohen <sco...@javactivity.org> wrote: >> >> Document

Re: regex-property goal of build-helper-maven-plugin documentation is incorrect

2015-11-17 Thread Dan Tran
575191b5919ab0 > > The site just hasn't been regenerated and uploaded, I guess? > > -Curtis > > On Mon, Nov 16, 2015 at 5:41 PM, Steve Cohen <sco...@javactivity.org> > wrote: > > Documentation on the regex-property goal of build-helper-maven-plugin at > > http://ww

Re: regex-property goal of build-helper-maven-plugin documentation is incorrect

2015-11-16 Thread Curtis Rueden
aded, I guess? -Curtis On Mon, Nov 16, 2015 at 5:41 PM, Steve Cohen <sco...@javactivity.org> wrote: > Documentation on the regex-property goal of build-helper-maven-plugin at > http://www.mojohaus.org/build-helper-maven-plugin/usage.html has an > error. This error has persisted for so

regex-property goal of build-helper-maven-plugin documentation is incorrect

2015-11-16 Thread Steve Cohen
Documentation on the regex-property goal of build-helper-maven-plugin at http://www.mojohaus.org/build-helper-maven-plugin/usage.html has an error. This error has persisted for some time and has proliferated around the Internet, for example in several Stack Overflow posts. The error

own target / goal after packaging

2015-10-17 Thread Philipp Kraus
Hello, I would like to create an own goal / target, that is run after the packaging goal. At the moment my default target is package, so I get a Jar file, so I would like to create an optional call „mvn executepackage“, which can be run after package. The goal should run a defined shell command

Re: own target / goal after packaging

2015-10-17 Thread Glenn Brown
and probably attach it to the integration test phase On Sat, Oct 17, 2015, 1:26 PM Philipp Kraus <philipp.kr...@tu-clausthal.de> wrote: > Hello, > > I would like to create an own goal / target, that is run after the > packaging goal. > At the moment my default target is package, so

Re: own target / goal after packaging

2015-10-17 Thread Philipp Kraus
m a little more detailed. I build my Jar and I would like to create a goal or something else, which can be optional run, to build a complex package with the Jar. This package command is running at the moment on the command line, so I would like to integrate it within the maven lifecycle. At the mo

  1   2   3   4   5   6   7   8   9   10   >