commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Commented: (IO-103) commons-io cannot be deployed with Maven 2
Date Wed, 06 Dec 2006 09:08:28 GMT
    [ ] 
Henri Yandell commented on IO-103:

Looks like beanutils, cli, dbutils, digester, fileupload, lang, logging and scxml all have
references to NOTICE.txt (and presumably LICENSE.txt). If the parent is doing it, sounds like
they all could go. Sound plausible?

> commons-io cannot be deployed with Maven 2
> ------------------------------------------
>                 Key: IO-103
>                 URL:
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Jochen Wiedmann
>         Attachments: commons-io-resources.patch
> The commons-io POM contains a resource section, which specifies that the NOTICE.txt and
LICENSE.txt files are being added to the jar files META-INF directory. Unfortunately, this
triggers MSOURCES-6, a well known bug in the maven-sources-plugin, which attempts to include
the base directory into the source jar file. The base directory includes the sources jar itself,
which is growing while it is being included into itself, which is growing while it is included
into itself, ...
> In other words, the maven-sources-plugin is creating a jar file endleseely.
> When deploying the commons-io with
>     mvn -Prc commons-io deploy
> or
>    mvn -Prelease commons-io deploy
> then the maven-sources-plugin is invoked by the commons-parent POM. In other words, the
commons-io jar file cannot be deployed.
> The attached patch removes the resources section from the commons-parent POM: This can
easily be done, because the commons-parent POM is already addressing this by invoking the
antrun plugin.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message