Re: generated resources not in target jar

2017-01-20 Thread Jörg Schaible
Give target/generated-resources a try. Gary Aitken wrote: > I'm having trouble getting resources generated post-compile into the final > jar package (packaging type jar). > > During the process-classes phase, I run a task which reads some xml files > and produces other xml files. I can't

Maven archetype plugin 2.5 release?

2017-01-20 Thread Laird Nelson
Hello; lowly Maven user here finding a need for the Groovy script functionality in maven-archetype-plugin version 2.5-SNAPSHOT (works great as far as we can tell). Is

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: generated resources not in target jar

2017-01-20 Thread Anders Hammar
Typically, a plugin that generates sources/resources during build should add that output folder to the project model. It's not something that you should do. However, if you do this the homebrewed way (e.g. antrun plugin) it's not added automatically. Your friend in that case is the build-helper

Re: generated resources not in target jar

2017-01-20 Thread Karl Heinz Marbaise
Hi, On 20/01/17 05:49, Gary Aitken wrote: I'm having trouble getting resources generated post-compile into the final jar package (packaging type jar). During the process-classes phase, I run a task which reads some xml files and produces other xml files. I can't figure out how to get the

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

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)

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 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

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
Here is some build and log messages when run in normal mode...I will get debug logs. Note it's the unpack-JMS-WS-Eventing step that is skipped below...so the expected file is not found. [00:34:49] : [Step 2/3] [INFO] [00:34:49] : [Step 2/3] [INFO]

Re: maven-dependency-plugin skips unpack goal

2017-01-20 Thread David Hoffer
With -X added to the command line it succeeded. I will try it again. That is how this problem has been going...sometimes it works but mostly it does not. At times I make a small change and it works thinking that maybe the issue is fixed but only to find that subsequent builds fail. Can you