geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Woods <drw_...@yahoo.com>
Subject Re: [M1] Plugin hell, help desperately needed
Date Wed, 07 Dec 2005 22:12:04 GMT
Finally got new4 goal to complete using Maven 1.1Beta2 (was always 
failing with the same error you mention below), by editing 
configs/geronimo-gbean-deployer/project.xml and removing the comments 
from around the geronimo-packaging-plugin dependency to re-enable it as 
a depend -
         <!-- dependency on deployer -->
         <dependency>
             <groupId>geronimo</groupId>
             <artifactId>geronimo-packaging-plugin</artifactId>
             <version>${geronimo_version}</version>
             <type>plugin</type>
         </dependency>

I'm running a full build now via
    maven m:clean new -Dmaven.test.skip=true -Dmaven.itest.skip=true
to verify the change works repeatably before I open a JIRA and attach 
the patch.


-Donald

Bill Stoddard wrote:
> Bill Stoddard wrote:
> 
>> David Jencks wrote:
>>
>>> In the geronimo project we are experiencing severe problems with our 
>>> build related to plugins.  Any advice on how to improve this 
>>> situation would be appreciated.
>>>
>>
>> Perhaps this is stating the obvious, but on the off chance it is 
>> useful, here goes...
>>
>> I am consistently getting this failure in new4:
>> ...
>> multiproject:install-callback:
>>     [echo] Running car:install for Geronimo Configuration for 
>> performing service deployments
>>
>> BUILD FAILED
>> File...... C:\home\apache\geronimo\maven.xml
>> Element... maven:reactor
>> Line...... 58
>> Column.... 112
>> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
>> and 
>> Settings\Administrator\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:256:30:

>> <attainGoal> No goal [car:install]
>> Total time: 9 seconds
>>
>> Goal [car:install] is implemented by the geronimo-packaging-plugin.
>>
>> After my build fails, I check the maven cache and I only see the 
>> following two plugins:
>>
>> dir c:/Documents and Settings/Administrator/.maven/cache/
>>
>>     geronimo-dependency-plugin-1.0-SNAPSHOT
>>     geronimo-deployment-plugin-1.0-SNAPSHOT
>>
>> No packaging plugin.  Do you think the plugin was removed from the 
>> cache or did it not get put in the cache in the first place?
>>
>> Going to try an experiment... run sysinternals filemon watching for 
>> file geronimo-packaging-plugin-1.0-SNAPSHOT, kick off a build and 
>> watch what happens. If the file is never created, that will be a 
>> useful clue.
>>
>> Bill
>>
>>
>>
> 
> David,
> Ran filemon while doing an offline build. File CREATE and DELETE log 
> entries here:
> 
> 11    4:19:26 PM    java.exe:1256    DELETE 
> C:\home\apache\geronimo\plugins\geronimo-packaging-plugin\target\geronimo-packaging-plugin-1.0-SNAPSHOT.jar

> SUCCESS       
> 15    4:23:07 PM    java.exe:1256    CREATE 
> C:\home\apache\geronimo\plugins\geronimo-packaging-plugin\target\geronimo-packaging-plugin-1.0-SNAPSHOT.jar

> SUCCESS    Options: OverwriteIf  Access: All
>     
> 798    4:23:07 PM    java.exe:1256    CREATE    C:\Documents and 
> Settings\Administrator\.maven\repository\geronimo\plugins\geronimo-packaging-plugin-1.0-SNAPSHOT.jar
   
> SUCCESS Options: OverwriteIf  Access: All   
> 858    4:23:07 PM    java.exe:1256    CREATE    C:\Documents and 
> Settings\Administrator\.maven\repository\geronimo\plugins\geronimo-packaging-plugin-1.0-SNAPSHOT.jar.md5

> SUCCESS    Options: OverwriteIf  Access: All   
> 888    4:23:07 PM    java.exe:1256    CREATE    C:\Documents and 
> Settings\Administrator\.maven\repository\geronimo\plugins\geronimo-packaging-plugin-1.0-SNAPSHOT.jar.sha1

> SUCCESS    Options: OverwriteIf  Access: All   
> 918    4:23:07 PM    java.exe:1256    CREATE    C:\Documents and 
> Settings\Administrator\.maven\repository\geronimo\poms\geronimo-packaging-plugin-1.0-SNAPSHOT.pom
   
> SUCCESS Options: OverwriteIf  Access: All   
> 956    4:23:07 PM    java.exe:1256    CREATE    C:\Documents and 
> Settings\Administrator\.maven\repository\geronimo\poms\geronimo-packaging-plugin-1.0-SNAPSHOT.pom.md5
   
> SUCCESS Options: OverwriteIf  Access: All   
> 986    4:23:07 PM    java.exe:1256    CREATE    C:\Documents and 
> Settings\Administrator\.maven\repository\geronimo\poms\geronimo-packaging-plugin-1.0-SNAPSHOT.pom.sha1

> SUCCESS    Options: OverwriteIf  Access: All   
> 
> I was expecting to see something showing up in the maven cache. Is this 
> what you would expect to see?
> 
> Bill
> 
> 
> 

Mime
View raw message