Hi;

I added the Maven <dependencyManagement></dependencyManagement> element into 
the main POM, so webbeans-api does not inherit all unnecessary jars. Just 
dependent sub-modules inherits what it depends.

Also, I have created sample application but it creates problems in old pom 
inheritance.


Gurkan



________________________________
From: Mohammad Nour El-Din <[email protected]>
To: [email protected]
Sent: Sunday, December 14, 2008 4:24:08 PM
Subject: Re: svn commit: r726419 - 
/incubator/openwebbeans/trunk/webbeans-impl/pom.xml
Hi Gurkan...

  Why did you add these dependencies here again? They are already
defined in the main pom.xml and hence inherited from there which
provides better dependency management.

On Sun, Dec 14, 2008 at 2:42 PM,  <[email protected]> wrote:
> Author: gerdogdu
> Date: Sun Dec 14 04:42:17 2008
> New Revision: 726419
>
> URL: http://svn.apache.org/viewvc?rev=726419&view=rev
> Log:
> pom update.
>
> Modified:
>    incubator/openwebbeans/trunk/webbeans-impl/pom.xml
>
> Modified: incubator/openwebbeans/trunk/webbeans-impl/pom.xml
> URL: 
> http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/pom.xml?rev=726419&r1=726418&r2=726419&view=diff
> ==============================================================================
> --- incubator/openwebbeans/trunk/webbeans-impl/pom.xml (original)
> +++ incubator/openwebbeans/trunk/webbeans-impl/pom.xml Sun Dec 14 04:42:17 
> 2008
> @@ -29,11 +29,82 @@
>        <packaging>jar</packaging>
>        <version>1.0.0-SNAPSHOT</version>
>        <description>Implementation of the Web Beans API</description>
> +
>        <dependencies>
>                <dependency>
>                        <groupId>org.apache</groupId>
>                        <artifactId>webbeans-api</artifactId>
> -                       <version>1.0.0-SNAPSHOT</version>
>                </dependency>
> +
> +               <dependency>
> +                       <groupId>log4j</groupId>
> +                       <artifactId>log4j</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.geronimo.specs</groupId>
> +                       <artifactId>geronimo-servlet_2.5_spec</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>dom4j</groupId>
> +                       <artifactId>dom4j</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.geronimo.specs </groupId>
> +                       <artifactId>geronimo-ejb_3.0_spec</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.geronimo.specs</groupId>
> +                       <artifactId>geronimo-el_1.0_spec</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.myfaces.core</groupId>
> +                       <artifactId>myfaces-api</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>javassist</groupId>
> +                       <artifactId>javassist</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>net.sf.scannotation</groupId>
> +                       <artifactId>scannotation</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>junit</groupId>
> +                       <artifactId>junit</artifactId>
> +                       <scope>test</scope>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>javax.annotation</groupId>
> +                       <artifactId>jsr250-api</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.geronimo.specs</groupId>
> +                       <artifactId>geronimo-jpa_3.0_spec</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.geronimo.specs</groupId>
> +                       <artifactId>geronimo-interceptor_3.0_spec</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.geronimo.specs</groupId>
> +                       <artifactId>geronimo-jta_1.1_spec</artifactId>
> +               </dependency>
> +
> +               <dependency>
> +                       <groupId>org.apache.geronimo.specs</groupId>
> +                       <artifactId>geronimo-jsp_2.1_spec</artifactId>
> +               </dependency>
>        </dependencies>
>  </project>
> \ No newline at end of file
>
>
>



-- 
----
Thanks
- Mohammad Nour
- LinkedIn: http://www.linkedin.com/in/mnour
----
"Life is like riding a bicycle. To keep your balance you must keep moving"
- Albert Einstein



      

Reply via email to