maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <>
Subject Re: Upload arbitrary directories to maven repositories
Date Mon, 21 Jan 2013 22:19:10 GMT
On 21 January 2013 22:58, burkhard kuehlert
<> wrote:
> Hi,
> thanks for your quick responses.
> I want to state some topics:
> 1. It could have been documented, that directories cannot be uploaded.

This is assumed knowledge of how maven works.
Maven Repositories hold single artifacts - a directory is not such a
thing (unless you wanted an empty directory)

The console output should clearly indicate that a directory assembly
will not be uploaded to the repository.
Think of the directory assembly as a shortcut for you so that you do
not need to un-archive the artifact before using it locally after a
build has completed.

> 4. The archiving of the directory could have be done under the hood like
> with javadoc

There are other assembly types for this purpose.

> 5. I am not happy with large poms and if you add zip/unzip commands the pom
> grows.

I can find no suggestion of zip/unzip in this email thread.
What exactly is your problem?
As the pom size does not grow in any substantial way.  You write
everything for assembly in the assembly descriptor.

> 6. The suggestion of using the wagon-plugin may help. I will try it.
> But if I know that there is no other way, I can live with it.
> Many thanks again for your quick and valuable responses.

p.s. you have not answered my question:

Why do you want to upload an arbitrary directory?

You are being given without knowing what you are attempting to do and
there may be a simpler option.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message