<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <parent>
      <artifactId>webbeans-parent</artifactId>
      <groupId>org.jboss.webbeans</groupId>
      <version>1.0.0.PREVIEW4.SP1</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.jboss.webbeans</groupId>
   <artifactId>webbeans-core</artifactId>
   <version>1.0.0.PREVIEW4.SP1</version>
   <name>Web Beans Core</name>
   <dependencies>

      <dependency>
         <groupId>org.jboss.webbeans</groupId>
         <artifactId>jsr299-api</artifactId>
      </dependency>
      
      <dependency>
         <groupId>org.jboss.webbeans</groupId>
         <artifactId>webbeans-api</artifactId>
      </dependency>
      
      <dependency>
         <groupId>org.jboss.webbeans</groupId>
         <artifactId>webbeans-spi</artifactId>
      </dependency>

      <dependency>
         <groupId>org.jboss.webbeans</groupId>
         <artifactId>webbeans-logging</artifactId>
      </dependency>
      
      <dependency>
         <groupId>org.jboss.ejb3</groupId>
         <artifactId>jboss-ejb3-api</artifactId>
         <optional>true</optional>
         <exclusions>
            <exclusion>
               <artifactId>jboss-jaxrpc</artifactId>
               <groupId>jbossws</groupId>
            </exclusion>
            <exclusion>
               <artifactId>jboss-transaction-api</artifactId>
               <groupId>org.jboss.javaee</groupId>
            </exclusion>
            <exclusion>
               <artifactId>jboss-jaxrpc</artifactId>
               <groupId>jboss.jbossws</groupId>
            </exclusion>
         </exclusions>
      </dependency>

      <dependency>
         <groupId>javax.servlet</groupId>
         <artifactId>servlet-api</artifactId>
         <optional>true</optional>
      </dependency>
      
      <dependency>
         <groupId>javax.servlet.jsp</groupId>
         <artifactId>jsp-api</artifactId>
         <optional>true</optional>
      </dependency>

      <dependency>
         <groupId>javax.transaction</groupId>
         <artifactId>jta</artifactId>
         <optional>true</optional>
      </dependency>
      
      <dependency>
         <groupId>javax.annotation</groupId>
         <artifactId>jsr250-api</artifactId>
         <optional>true</optional>
      </dependency>
      
      <dependency>
         <groupId>javax.validation</groupId>
         <artifactId>validation-api</artifactId>
         <optional>true</optional>
      </dependency>
      
      <dependency>
         <groupId>javax.persistence</groupId>
         <artifactId>persistence-api</artifactId>
         <optional>true</optional>
      </dependency>

      <dependency>
         <groupId>javassist</groupId>
         <artifactId>javassist</artifactId>
      </dependency>
 
      <dependency>
         <groupId>com.google.collections</groupId>
         <artifactId>google-collections</artifactId>
      </dependency>
      
      <dependency>
         <groupId>javax.jms</groupId>
         <artifactId>jms</artifactId>
         <optional>true</optional>
      </dependency>
      
      <dependency>
         <groupId>javax.el</groupId>
         <artifactId>el-api</artifactId>
         <optional>true</optional>
      </dependency>
      
      <dependency>
         <groupId>javax.faces</groupId>
         <artifactId>jsf-api</artifactId>
         <optional>true</optional>
      </dependency>
      
   </dependencies>

   <build>
   	<defaultGoal>install</defaultGoal>
   </build>
   
   <profiles>
   	<profile>
      <id>javax.xml.ws</id>
      <activation>
      	<jdk>1.5</jdk>
      </activation>
      <dependencies>
      	<dependency>
      		<groupId>javax.xml.ws</groupId>
      		<artifactId>jaxws-api</artifactId>
    		</dependency>
      </dependencies>
    </profile>
   </profiles>
</project>
