<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>
        <groupId>org.modeshape</groupId>
        <artifactId>modeshape</artifactId>
        <version>2.2.0.Final</version>
        <relativePath>../../..</relativePath>
	</parent>
	<!-- The groupId and version values are inherited from parent  -->
    <modelVersion>4.0.0</modelVersion>
	<artifactId>modeshape-jbossas-service</artifactId>
	<name>ModeShape Service Deployment for JBoss AS</name>
	<description>ModeShape deployment as a service within the JBoss Application Server</description>
	<url>http://www.modeshape.org</url>

	<!--
		Define the dependencies. Note that all version and scopes default to
		those defined in the dependencyManagement section of the parent pom.
	-->
	<dependencies>
		<!-- 
            Testing (note the scope)
        -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-library</artifactId>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<scope>test</scope>
		</dependency>

		<!--
			Logging (require SLF4J API for compiling, but use Log4J and its SLF4J
			binding for testing)
		-->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
            <scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
            <scope>test</scope>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
            <scope>test</scope>
		</dependency>

        <!--
            ModeShape dependencies
        -->
        <dependency>
            <groupId>org.modeshape</groupId>
            <artifactId>modeshape-common</artifactId>
        </dependency>
        <dependency>
            <groupId>org.modeshape</groupId>
            <artifactId>modeshape-graph</artifactId>
        </dependency>
        <dependency>
            <groupId>org.modeshape</groupId>
            <artifactId>modeshape-repository</artifactId>
        </dependency>
       
        <dependency>
            <groupId>org.modeshape</groupId>
            <artifactId>modeshape-jcr</artifactId>
        </dependency>
      

        <dependency>
             <groupId>org.modeshape</groupId>
             <artifactId>modeshape-common</artifactId>
             <version>${project.version}</version>
             <type>test-jar</type>
             <scope>test</scope>
        </dependency>
        
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-classfile</artifactId>
                <version>${project.version}</version>
            </dependency>          
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-cnd</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-ddl</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-images</artifactId>
                <version>${project.version}</version>
            </dependency>                
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-java</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-jbpm-jpdl</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-mp3</artifactId>
                <version>${project.version}</version>
            </dependency>  
             <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-msoffice</artifactId>
                <version>${project.version}</version>
            </dependency>    
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-teiid</artifactId>
                <version>${project.version}</version>
            </dependency>            
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-text</artifactId>
                <version>${project.version}</version>
            </dependency>            
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-xml</artifactId>
                <version>${project.version}</version>
            </dependency>   
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-sequencer-zip</artifactId>
                <version>${project.version}</version>
            </dependency>                  
             <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-connector-filesystem</artifactId>
                <version>${project.version}</version>
            </dependency>
             <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-connector-infinispan</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-connector-jbosscache</artifactId>
                <version>${project.version}</version>
            </dependency>
             <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-connector-jcr</artifactId>
                <version>${project.version}</version>
            </dependency>
             <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-connector-jdbc-metadata</artifactId>
                <version>${project.version}</version>
            </dependency>                   
            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-connector-store-jpa</artifactId>
                <version>${project.version}</version>
            </dependency>
             <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-connector-svn</artifactId>
                <version>${project.version}</version>
            </dependency>                   

            <dependency>
                <groupId>org.modeshape</groupId>
                <artifactId>modeshape-mimetype-detector-aperture</artifactId>
                <version>${project.version}</version>
            </dependency>                   
        <!-- 
            Java Concurrency in Practice annotations
        -->
    	<dependency>
    		<groupId>net.jcip</groupId>
    		<artifactId>jcip-annotations</artifactId>
    	</dependency>
 
        <!--
            JBoss dependencies
        -->
        <dependency>
            <groupId>org.jboss.man</groupId>
            <artifactId>jboss-managed</artifactId>
            <version>2.1.0.SP1</version>
            <scope>compile</scope>
        </dependency>

         <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss-system</artifactId>
            <version>4.2.3.GA</version>
            <scope>compile</scope>
        </dependency>

         <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss-j2ee</artifactId>
            <version>4.2.3.GA</version>
            <scope>compile</scope>
        </dependency>

         <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss-jmx</artifactId>
            <version>4.2.3.GA</version>
            <scope>compile</scope>
        </dependency>

           <dependency>
                <groupId>org.jboss.man</groupId>
                <artifactId>jboss-managed</artifactId>
                <version>2.1.0.SP1</version>
   
            </dependency>        
            <dependency>
              <groupId>org.jboss.man</groupId>
              <artifactId>jboss-metatype</artifactId>
              <version>2.1.0.SP1</version>
   
            </dependency>            
            <dependency>
                <groupId>org.jboss.integration</groupId>
                <artifactId>jboss-profileservice-spi</artifactId>
                <version>5.1.0.GA</version>

            </dependency>      
            <dependency>    
                <groupId>org.jboss</groupId>
                <artifactId>jboss-vfs</artifactId>
                <version>2.2.0.GA</version>

            </dependency>
            <dependency>    
                <groupId>org.jboss.deployers</groupId>
                <artifactId>jboss-deployers-vfs-spi</artifactId>
                <version>2.0.10.GA</version>

            </dependency>      
            <dependency>    
                <groupId>org.jboss.deployers</groupId>
                <artifactId>jboss-deployers-vfs</artifactId>
                <version>2.0.10.GA</version>

            </dependency>   
            <dependency>
              <groupId>org.jboss.man</groupId>
              <artifactId>jboss-metatype</artifactId>
              <version>2.1.0.SP1</version>

            </dependency>   
            <dependency>
                <groupId>jboss</groupId>
                <artifactId>jboss-annotations-ejb3</artifactId>
                <version>4.2.3.GA</version>
                <scope>compile</scope>
            </dependency>     
  
    </dependencies>

	<build>
	   <finalName>modeshape</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
			</plugin>
		
	       <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2-beta-2</version>
                
                <configuration>
                    <descriptors>
                        <descriptor>src/assembly/kit.xml</descriptor>
                    </descriptors>
                    <outputDirectory>target/distribution</outputDirectory>
                    <workDirectory>target/assembly/work</workDirectory>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>attached</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
                 <skip>true</skip>
              </configuration>
            </plugin>
        </plugins>
    </build>
</project>
