RE: Inclusion of Failsafe plugin by default

2023-12-09 Thread mark.yagnatinsky
It would need to be added to the super pom, I suppose...
https://maven.apache.org/ref/3.9.6/maven-model-builder/super-pom.html
Note that based on the comment on line 50, I suspect they are not likely to 
want to do this

-Original Message-
From: Damiano Albani  
Sent: Saturday, December 9, 2023 5:28 PM
To: users@maven.apache.org
Subject: Inclusion of Failsafe plugin by default


CAUTION: This email originated from outside our organisation - 
damiano.alb...@gmail.com Do not click on links, open attachments, or respond 
unless you recognize the sender and can validate the content is safe.
Hello,

I'm a long-time Maven user but I've just recently discovered that, unless I'm 
mistaken, the Failsafe plugin isn't part of the default set of plugins which 
are configured "out of the box".
Is this correct?

If so, I find this quite strange given that Failsafe is mentioned on 
https://clicktime.symantec.com/15t5ejWR7ZXQJ7SejrESU?h=Qd-1cRIUr7dtc-zYyImHm56sVUcbukg2-o2L3nNyhvA==https://maven.apache.org/plugins/index.html
 as a "core plugin", just like its sibling Surefire, the latter being indeed 
included.

In order to change that, would it simply be a matter of adding Failsafe to 
https://clicktime.symantec.com/15t5ZuK8ewqotAcjCHqHr?h=-VNU9pFgfbgyo-3dqUgSPtAvthtlLSzDQLuUFwCOv04==https://github.com/apache/maven/blob/maven-3.9.6/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml
?
Or are there locations in the Maven codebase that would need to be changed?

Regards,

--
Damiano Albani

This message is for information purposes only. It is not a recommendation, 
advice, offer or solicitation to buy or sell a product or service, nor an 
official confirmation of any transaction. It is directed at persons who are 
professionals and is intended for the recipient(s) only. It is not directed at 
retail customers. This message is subject to the terms at: 
https://www.cib.barclays/disclosures/web-and-email-disclaimer.html. 

For important disclosures, please see: 
https://www.cib.barclays/disclosures/sales-and-trading-disclaimer.html 
regarding marketing commentary from Barclays Sales and/or Trading desks, who 
are active market participants; 
https://www.cib.barclays/disclosures/barclays-global-markets-disclosures.html 
regarding our standard terms for Barclays Corporate and Investment Bank where 
we trade with you in principal-to-principal wholesale markets transactions; and 
in respect to Barclays Research, including disclosures relating to specific 
issuers, see: http://publicresearch.barclays.com.
__
 
If you are incorporated or operating in Australia, read these important 
disclosures: 
https://www.cib.barclays/disclosures/important-disclosures-asia-pacific.html.
__
For more details about how we use personal information, see our privacy notice: 
https://www.cib.barclays/disclosures/personal-information-use.html. 
__


Inclusion of Failsafe plugin by default

2023-12-09 Thread Damiano Albani
Hello,

I'm a long-time Maven user but I've just recently discovered that, unless
I'm mistaken, the Failsafe plugin isn't part of the default set of plugins
which are configured "out of the box".
Is this correct?

If so, I find this quite strange given that Failsafe is mentioned on
https://maven.apache.org/plugins/index.html as a "core plugin", just like
its sibling Surefire, the latter being indeed included.

In order to change that, would it simply be a matter of adding Failsafe to
https://github.com/apache/maven/blob/maven-3.9.6/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml
?
Or are there locations in the Maven codebase that would need to be changed?

Regards,

-- 
Damiano Albani


Re: creating a source directory on the fly

2023-12-09 Thread Dave Dyer


That was my first thought too, but unfortunately my build includes
a custom build plugin (which I don't control) which does its own
ad-hoc parsing of the project structure.  So it only works if the
project is actually structured in a certain way.

At 12:32 PM 12/9/2023, Michael Osipov wrote:
>On 2023/12/06 03:34:58 Dave Dyer wrote:
>> 
>> I'm trying to tune up my maven build, which requires that I construct
>> a source directory on the fly by copying from the canonical location.
>> 
>> The best advice I've found is to use mavin-resources-plugin, but
>> that's a bit inelegant because it copies everything, not just the
>> sources.
>
>That the wrong approach.
>
>> Is there a better approach?
>
>The right approach: 
>https://www.mojohaus.org/build-helper-maven-plugin/add-source-mojo.html



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: creating a source directory on the fly

2023-12-09 Thread Michael Osipov
On 2023/12/06 03:34:58 Dave Dyer wrote:
> 
> I'm trying to tune up my maven build, which requires that I construct
> a source directory on the fly by copying from the canonical location.
> 
> The best advice I've found is to use mavin-resources-plugin, but
> that's a bit inelegant because it copies everything, not just the
> sources.

That the wrong approach.

> Is there a better approach?

The right approach: 
https://www.mojohaus.org/build-helper-maven-plugin/add-source-mojo.html

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org