Mojo lifecycle?

2017-10-31 Thread Laird Nelson
I know vaguely that under the covers Maven uses JSR-330 (@Inject). Are mojos treated as singletons, or per-execution objects? Is there a preDestroy()-like method that gets invoked when a mojo is destroyed? *Is* a mojo ever destroyed? Thanks, Best, Laird -- https://about.me/lairdnelson

Re: Unrecognised tag: 'testResources'

2017-10-31 Thread Robert Scholte
On Mon, 30 Oct 2017 11:07:53 +0100, Ernst Reissner wrote: Hi all, When I run mvn resources:testResources i obtain |Non-parseable POM /home/ernst/Software/pom.xml:Unrecognisedtag:'testResources'| This is not the complete line. It must tell you what Maven expected and on which line/column

Re: Package failed

2017-10-31 Thread Mark Prins
2017-10-31 10:27 GMT+01:00 Oleg Lempert : > Hi > I running project with option / -Dmaven.test.skip=true > this hint is just for the compiler/surefire/failsafe plugin, but does not mean that dependency resolution will not happen for this artifact because in fact it will (and fail) perhaps you coul

Package failed

2017-10-31 Thread Oleg Lempert
Hi I running project with option / -Dmaven.test.skip=true /after clean all my jars from repository. I have dependency : project *Auth *depend on *persistence* from auth pom.xml: ${groupId} persistence ${project.version} ${g

Re: Unrecognised tag: 'testResources'

2017-10-31 Thread Ernst Reissner
Hi Karl Heinz, Hi all > >> >> The problem seems >> >> |${resourceDir}trueoctave/octavercoctave/java.opts >> > ${tstResourcesDir}true*.rml| > >> > > Just try a mvn clean > > and see the output... I cannot even execute mvn clean, because the pom is not parseable if i include testRersources. Withou