geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject M2 : Assemblies [was Re: svn commit: r489358 - in /geronimo/server/trunk: configs/pom.xml pom.xml]
Date Wed, 03 Jan 2007 04:11:54 GMT
   Numerous  problems have been reported with building 'assemblies' and

with the server resulting from these assemblies. Here are some of them:
Oct 19 -
http://www.nabble.com/Assembly-is-caching-old-junk-p6907158.html 
Oct 31 -
http://www.nabble.com/More-car-maven-plugin-changes...-p7107517.html
Nov17 - 
http://www.nabble.com/build-problems---GBeanInfo-serialVersionUID-tf2656539.html#a7410086
Nov 28 - 
http://www.nabble.com/-jira--Created%3A-%28GERONIMO-2603%29-Building-1.2-if-there-are-2.0-artifacts-in-the-repo-results-in-mostly-2.0-artifacts-in-the-server.-tf2721824.html#a7590723
Dec 14 - http://issues.apache.org/jira/browse/GERONIMO-2663
Dec 15 - 
http://www.nabble.com/Trunk-runtime-error-GBeanInstanceState--deserializing-GBeanState-tf2829126.html#a7948415
Dec 20 - http://www.nabble.com/boilerplate-j2ee-Assembly-p7994691.html

After each report an attempt was made to fix the car plugin! These
fixes tried to treat the symptoms and not the root cause of the
problem.
   
I believe the following change I have made is the only thing needed to 
fix all of the above problems. These were all caused because the 
version for the car plugin was left unspecified. It was left upto maven
to pick an *available* version for the car plugin and use it to install
the configs during assemblies! For details see:
https://issues.apache.org/jira/browse/GERONIMO-2675

Thanks
Anita

--- akulshreshtha@apache.org wrote:

> Author: akulshreshtha
> Date: Thu Dec 21 06:03:56 2006
> New Revision: 489358
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=489358
> Log:
> GERONIMO-2675 Move car-maven-plugin to top level pluginManagement
> section. This will allow assemblies to inherit
> the version used by the configs
> 
> Modified:
>     geronimo/server/trunk/configs/pom.xml
>     geronimo/server/trunk/pom.xml
> 
> Modified: geronimo/server/trunk/configs/pom.xml
> URL:
>
http://svn.apache.org/viewvc/geronimo/server/trunk/configs/pom.xml?view=diff&rev=489358&r1=489357&r2=489358
>
==============================================================================
> --- geronimo/server/trunk/configs/pom.xml (original)
> +++ geronimo/server/trunk/configs/pom.xml Thu Dec 21 06:03:56 2006
> @@ -85,17 +85,6 @@
>          </extensions>
>          -->
>  
> -        <pluginManagement>
> -            <plugins>
> -                <plugin>
> -                    <groupId>org.apache.geronimo.plugins</groupId>
> -                    <artifactId>car-maven-plugin</artifactId>
> -                    <version>${version}</version>
> -                    <extensions>true</extensions>
> -                </plugin>
> -            </plugins>
> -        </pluginManagement>
> -
>          <plugins>
>              <plugin>
>                  <groupId>org.apache.geronimo.plugins</groupId>
> 
> Modified: geronimo/server/trunk/pom.xml
> URL:
>
http://svn.apache.org/viewvc/geronimo/server/trunk/pom.xml?view=diff&rev=489358&r1=489357&r2=489358
>
==============================================================================
> --- geronimo/server/trunk/pom.xml (original)
> +++ geronimo/server/trunk/pom.xml Thu Dec 21 06:03:56 2006
> @@ -1246,6 +1246,13 @@
>          <pluginManagement>
>              <plugins>
>                  <plugin>
> +                    <groupId>org.apache.geronimo.plugins</groupId>
> +                    <artifactId>car-maven-plugin</artifactId>
> +                    <version>${version}</version>
> +                    <extensions>true</extensions>
> +                </plugin>
> +
> +                <plugin>
>                      <groupId>org.codehaus.mojo</groupId>
>                      <artifactId>xmlbeans-maven-plugin</artifactId>
>                      <version>2.0.1-SNAPSHOT</version>
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message