Configuring Apache directory listing for your Maven repository
If you have a very simple maven repository somewhere, you'll probably noticed that directory listing is not user-friendly by default. Indeed, by default, apache displays files in a directory with a fixed size column width. As a result, artifacts are not always visible, which is nasty.
If you have this problem, check the documentation for the autoindex mod and in particular the IndexOptions directive. The NameWidth parameter control the width of the file name column in directory listing.
This config will solve the issue:
CODE:
-
# IndexOptions: Controls the appearance of server-
-
# generated directory listings.
-
#
-
IndexOptions FancyIndexing VersionSort NameWidth=*
Saturday 13 Jan 2007 | Stéphane | Java