Re: Discuss: maven-war-plugin build war archive directly without building exploded war

2021-07-02 Thread Robert Scholte
One thing to keep in mind is filtering/interpolation of ${some-key} 
-expressions.
But I think it is possible to do it without temporary folder.

Robert
On 2-7-2021 07:18:14, Cai, Eric  wrote:

We have a large web project and there is large numbers of dependencies. When we 
run "mvn war:war", it usually takes 40s+ to build a war (~ 600MB) on a windows 
10 box and 15s + with a mac book.

By checking the war-plugin code, we know the plugin need first copy files 
necessary to a folder under project dir (exploded war), then archive the entire 
folder.
Copying the files to a new folder actually take a long time.

My question is:
Does it make sense to modify war-plugin to skip building the exploded war and 
directly create archive with original files? I think it can save quite a bit 
time.

src/main/webapp -> archive
target/classes -> archive
...

Any impacts if the exploded war is not created?

Thanks,
Eric



Re: New release of ASF Parent pom.xml

2021-07-02 Thread Konrad Windszus
Hi,
anything else blocking a release apart from 
https://issues.apache.org/jira/browse/MPOM-244?focusedCommentId=17365053&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17365053
 which should IMHO just require adjusting the minimum Maven version?

Thanks,
Konrad

On 2021/06/17 06:31:09, Hervé BOUTEMY  wrote: 
> last PRs merged and documentation updated:
> https://maven.apache.org/pom-archives/asf-LATEST/
> 
> last call for updates before doing starting the release process this WE 
> finally 
> :)
> 
> Regards,
> 
> Hervé
> 
> Le samedi 12 juin 2021, 17:15:00 CEST Hervé BOUTEMY a écrit :
> > done
> > 
> > Le vendredi 11 juin 2021, 10:14:09 CEST Konrad Windszus a écrit :
> > > Great thanks, the documentation still needs some update. It says in
> > > https://maven.apache.org/pom-archives/asf-LATEST/#
> > > 
> > > "When doing a release with maven-release-plugin, this creates files in
> > > target/checkout/target ready to be copied to projects' Apache /dist/
> > > release distribution directory:.."
> > > 
> > > while this is still true it is probably worth to mention that all those
> > > files also end up in the staging repository and Maven central.
> > > 
> > > Konrad
> > > 
> > > On 2021/06/10 07:01:36, Hervé BOUTEMY  wrote:
> > > > everything seems ok now
> > > > https://maven.apache.org/pom-archives/asf-LATEST/
> > > > 
> > > > if nobody objects, I'll start the release process this WE
> > > > 
> > > > Regards,
> > > > 
> > > > Hervé
> > > > 
> > > > Le mardi 8 juin 2021, 09:52:32 CEST Konrad Windszus a écrit :
> > > > > Hi,
> > > > > the last release of ASF Parent 23 is now more than 1.5 years old. Lots
> > > > > of
> > > > > plugins have received updates and quite some features have been added.
> > > > > Would it be possible to review the open PRs and spin a release soon?
> > > > > 
> > > > > Thanks in advance,
> > > > > Konrad
> > > > > -
> > > > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > > > For additional commands, e-mail: dev-h...@maven.apache.org
> > > > 
> > > > -
> > > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > > For additional commands, e-mail: dev-h...@maven.apache.org
> > > 
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > For additional commands, e-mail: dev-h...@maven.apache.org
> > 
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 
> 

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