Sure, here's my war and ear pom (not all of them, but some of the
dependencies)...

war/pom.xml
   <dependency>
     <groupId>geronimo-spec</groupId>
     <artifactId>geronimo-spec-jms</artifactId>
     <version>1.1-rc4</version>
     <scope>provided</scope>
   </dependency>
   <dependency>
     <groupId>geronimo-spec</groupId>
     <artifactId>geronimo-spec-ejb</artifactId>
     <version>2.1-rc4</version>
     <scope>provided</scope>
   </dependency>
   <dependency>
     <groupId>javax.servlet</groupId>
     <artifactId>servlet-api</artifactId>
     <version>2.3</version>
     <scope>provided</scope>
   </dependency>
   <dependency>
     <groupId>taglibs</groupId>
     <artifactId>standard</artifactId>
     <version>1.1.2</version>
     <scope>compile</scope>
     <exclusions>
       <exclusion>
         <artifactId>taglibs</artifactId>
         <groupId>standard</groupId>
       </exclusion>
     </exclusions>
     <optional>true</optional>
   </dependency>
   <dependency>
     <groupId>javax.servlet</groupId>
     <artifactId>jstl</artifactId>
     <version>1.1.2</version>
     <scope>compile</scope>
     <exclusions>
       <exclusion>
         <artifactId>javax.servlet</artifactId>
         <groupId>jstl</groupId>
       </exclusion>
     </exclusions>
     <optional>true</optional>
   </dependency>
   <dependency>
     <groupId>log4j</groupId>
     <artifactId>log4j</artifactId>
     <version>1.2.12</version>
     <scope>compile</scope>
     <exclusions>
       <exclusion>
         <artifactId>log4j</artifactId>
         <groupId>log4j</groupId>
       </exclusion>
     </exclusions>
     <optional>true</optional>
   </dependency>
   <dependency>
     <groupId>quartz</groupId>
     <artifactId>quartz</artifactId>
     <version>1.5.1</version>
     <scope>compile</scope>
     <exclusions>
       <exclusion>
         <artifactId>quartz</artifactId>
         <groupId>quartz</groupId>
       </exclusion>
     </exclusions>
     <optional>true</optional>
   </dependency>


ear/pom.xml
   <dependency>
     <groupId>geronimo-spec</groupId>
     <artifactId>geronimo-spec-jms</artifactId>
     <version>1.1-rc4</version>
     <scope>provided</scope>
   </dependency>
   <dependency>
     <groupId>geronimo-spec</groupId>
     <artifactId>geronimo-spec-ejb</artifactId>
     <version>2.1-rc4</version>
     <scope>provided</scope>
   </dependency>
   <dependency>
     <groupId>javax.servlet</groupId>
     <artifactId>servlet-api</artifactId>
     <version>2.3</version>
     <scope>provided</scope>
   </dependency>
   <dependency>
     <groupId>taglibs</groupId>
     <artifactId>standard</artifactId>
     <version>1.1.2</version>
     <scope>compile</scope>
   </dependency>
   <dependency>
     <groupId>javax.servlet</groupId>
     <artifactId>jstl</artifactId>
     <version>1.1.2</version>
     <scope>compile</scope>
   </dependency>
   <dependency>
     <groupId>log4j</groupId>
     <artifactId>log4j</artifactId>
     <version>1.2.12</version>
     <scope>compile</scope>
   </dependency>
   <dependency>
     <groupId>quartz</groupId>
     <artifactId>quartz</artifactId>
     <version>1.5.1</version>
     <scope>compile</scope>
   </dependency>


HTH.
Wayne

On 10/11/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
Can I see your war pom.xml to see how you excluded everything?



On 10/11/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> I generally only allow my JARs to be placed in my EAR lib to reduce
> the overall size of my EAR and eliminate duplication of code (I'm
> using Oracle OAS 10.1.2 right now). But you'll need to check your
> container's documentation and perhaps the J2EE Specs to see what works
> for you.
>
> Currently this requires me to declare and then simultaneously exclude
> most every dependency in my WAR pom, and also declare them in the EAR.
> So not a lot of fun from a "managing your poms" perspective.
>
> Wayne
>
> On 10/11/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > I have many LIB's that are in both my war and my ear. Is this correct or
> > should they just be in the ear?
> >
> > --
> >
> > Thanks
> >
> > DJ MICK
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to