<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.    
-->
<project>
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.tuscany.sca</groupId>
        <artifactId>tuscany-sca</artifactId>
        <version>1.6.2</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
    <artifactId>tuscany-modules</artifactId>
    <packaging>pom</packaging>
    <name>Apache Tuscany SCA Implementation Modules</name>

    <properties>
        <tuscany.version>${pom.version}</tuscany.version>
    </properties>

    <profiles>
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
                <module>assembly</module>
                <module>assembly-xml</module>
                <module>assembly-xsd</module>
                <module>binding-corba</module>
                <module>binding-corba-runtime</module>
                <module>binding-dwr</module>
                <module>binding-ejb</module>
                <module>binding-ejb-runtime</module>
                <module>binding-erlang</module>
                <module>binding-erlang-runtime</module>
                <module>binding-atom</module>
                <module>binding-atom-js</module>
                <module>binding-atom-js-dojo</module>
                <module>binding-atom-abdera</module>
                <module>binding-gdata</module>
                <module>binding-gdata-runtime</module>
                <module>binding-http</module>
                <module>binding-http-runtime</module>
                <module>binding-http-jsonrpc</module>
                <module>binding-http-jsonrpc-runtime</module>
                <module>binding-jms</module>
                <module>binding-jms-runtime</module>
                <module>binding-jms-policy</module>
                <module>binding-jsonrpc</module>
                <module>binding-jsonrpc-js</module>
                <module>binding-jsonrpc-js-dojo</module>
                <module>binding-jsonrpc-runtime</module>
                <module>binding-notification</module>
                <module>binding-rmi</module>
                <module>binding-rmi-runtime</module>
                <module>binding-rss</module>
                <module>binding-rss-rome</module>
                <module>binding-sca</module>
                <module>binding-sca-axis2</module>
                <module>binding-sca-corba</module>
                <module>binding-sca-xml</module>
                <module>binding-ws</module>
                <module>binding-ws-axis2</module>
                <module>binding-ws-axis2-policy</module>
                <module>binding-ws-wsdlgen</module>
                <module>binding-ws-xml</module>
                <module>contribution</module>
                <module>contribution-groovy</module>
                <module>contribution-namespace</module>
                <module>contribution-java</module>
                <module>contribution-impl</module>
                <module>contribution-osgi</module>
                <module>contribution-resource</module>
                <module>contribution-xml</module>
                <module>contribution-jee</module>
                <module>core</module>
                <module>core-databinding</module>
                <module>core-spi</module>
                <module>data-api</module>
                <module>databinding</module>
                <module>databinding-axiom</module>
                <module>databinding-jaxb</module>
                <module>databinding-jaxb-axiom</module>
                <module>databinding-sdo</module>
                <module>databinding-sdo-axiom</module>
                <module>databinding-json</module>
                <module>databinding-saxon</module>
                <module>databinding-xmlbeans</module>
                <module>definitions</module>
                <module>definitions-xml</module>
                <module>domain-manager</module>
                <module>domain-search</module>                
                <module>endpoint</module>
                <module>extensibility</module>
                <module>extensibility-osgi</module>
                <module>extension-helper</module>
                <module>host-corba</module>
                <module>host-corba-jee</module>
                <module>host-corba-jse</module>
                <module>host-corba-jse-tns</module>
                <module>host-embedded</module>
                <module>host-http</module>
                <module>host-jetty</module>
                <module>host-jms</module>
                <module>host-jms-asf</module>
                <module>host-rmi</module>
                <module>host-tomcat</module>
                <module>host-webapp</module>
                <module>interface</module>
                <module>interface-java</module>
                <module>interface-java-jaxws</module>
                <module>interface-java-xml</module>
                <module>interface-wsdl</module>
                <module>interface-wsdl-xml</module>
                <module>implementation-bpel</module>
                <module>implementation-bpel-ode</module>
                <module>implementation-ejb</module>
                <module>implementation-java</module>
                <module>implementation-java-xml</module>
                <module>implementation-java-runtime</module>
                <module>implementation-jee</module>
                <module>implementation-node</module>
                <module>implementation-node-runtime</module>
                <module>implementation-notification</module>
                <module>implementation-osgi</module>
                <module>implementation-resource</module>
                <module>implementation-resource-runtime</module>
                <module>implementation-script</module>
                <module>implementation-spring</module>
                <module>implementation-spring-runtime</module>
                <module>implementation-web</module>
                <module>implementation-web-runtime</module>
                <module>implementation-widget</module>
                <module>implementation-widget-runtime</module>
                <module>implementation-widget-runtime-tuscany</module>
                <module>implementation-widget-runtime-dojo</module>
                <module>implementation-xquery</module>
                <module>monitor</module>
                <module>node-api</module>
                <module>node-impl</module>
                <module>node-launcher</module>
                <module>node-launcher-osgi</module>
                <module>node-manager</module>
                <module>osgi-runtime</module>
                <module>policy</module>
                <module>policy-xml</module>
                <module>policy-xml-ws</module>
                <module>policy-logging</module>
                <module>policy-reliability</module>
                <module>policy-security</module>
                <module>policy-security-geronimo</module>                
                <module>policy-security-http</module>
                <module>policy-security-jsr250</module>
                <module>policy-transaction</module>
                <module>sca-api</module>
                <module>sca-api-extension</module>
                <module>web-javascript</module>
                <module>web-javascript-dojo</module>
                <module>workspace</module>
                <module>workspace-impl</module>
                <module>workspace-xml</module>
                <module>xsd</module>
                <module>xsd-xml</module>
                <module>tracing-aspectj</module>
            </modules>
        </profile>

    </profiles>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.5</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>2.4</version>
            <scope>test</scope>
        </dependency>        
    </dependencies>


    <build>
        <plugins>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifestFile>
                            ${project.build.outputDirectory}/META-INF/MANIFEST.MF
                        </manifestFile>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>1.4.3</version>
                <extensions>true</extensions>
                <executions>
                    <execution>
                        <id>bundle-manifest</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>manifest</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    
</project>
