geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <>
Subject [jira] Commented: (GERONIMO-234) Build fails when maven/plugins is not writable
Date Fri, 05 Nov 2004 17:05:33 GMT
     [ ]
Aaron Mulder commented on GERONIMO-234:

We could write a little Java test that would fail with a helpful message if the Maven directory
wasn't writeable.  Something like:

ERROR: The build cannot complete successfully if it can't install plugins to your Maven plugins
directory.  It seems that the directory (wherever)/maven/plugins is not writeable.  Please
fix that and try again.

Of course, we'd need to be able to run that test before actually attempting to install the
plugins, which I guess would mean we'd need a little "sanity check" module or something. 
Or perhaps we could just put it in as a unit test for each plugin, if that would run before
Maven tries to install the plugin.

> Build fails when maven/plugins is not writable
> ----------------------------------------------
>          Key: GERONIMO-234
>          URL:
>      Project: Apache Geronimo
>         Type: Improvement
>   Components: buildsystem
>     Versions: 1.0-M1
>  Environment: Linux [Debian | SuSE ], Maven RC1, Geronimo HEAD
>     Reporter: Bernd Fondermann
>     Assignee: Dain Sundstrom
>     Priority: Minor

> When building by invoking 'maven' the build fails with the following error message when
the maven plugin directory is not writable:
> +----------------------------------------
> | Executing (default): Geronimo :: Deployment
> | Memory: 34M/43M
> +----------------------------------------
> Attempting to download geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-common-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
> File...... file:/home/username/apache/incubator-geronimo/
> Element... maven:reactor
> Line...... 180
> Column.... 27
> /usr/local/maven-1.0-rc1/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar (Permission
> The immediate fix is to make plugins folder writable.
> I don't like any project modifying their sibbling projects... couldn't this also lead
to unexpected results in a multi-user environment where maven is shared among users?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message