You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Basin Ilya <ba...@gmail.com> on 2018/03/02 15:37:25 UTC

delayed wagon

Hi.
Some people might be frustrated that deploying artifacts to scm puts each file in a separate commit. At least, I was and I created a maven extension that solves this:

	https://github.com/basinilya/wagon-delayed/

This extension overrides the default WagonProvider implementation. The difference is: if an "scm" wagon is requested, then this new provider wraps the wagon with a
DelayedWagon instance. This DelayedWagon delays all put operations until the disconnect() method is called and then it performs a single putDirectory() call.

Along the way, I fixed several bugs in the maven-scm and the maven-wagon projects without breaking backward compatibility. They're available as pull requests or in my
github forks of these two projects.

wagon-delayed depends on these fixes. Among its unit tests there's a demo test case that calls `mvn deploy` to a local test svn repo.

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