<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">

    <modelVersion>4.0.0</modelVersion>
    <groupId>org.wso2.carbon</groupId>
    <artifactId>carbon-component</artifactId>
    <packaging>pom</packaging>
    <version>1.0</version>
    <name>carbon-component</name>
    <url>http://wso2.org</url>


    <modules>
        <module>service-mgt</module>
        <module>logging</module>
        <module>codegen</module>
        <module>throttling</module>
        <module>reliable-messaging</module>
        <module>security</module>        
        <module>tracer</module>
        <module>caching</module>
        <module>statistics</module> 
        <module>tryit</module> 
        <module>server-admin</module>
	<module>transport-mgt</module>
	<module>module-mgt</module>        
    </modules>

    <profiles>
	    <profile>
		    <activation>
			    <property>
				    <name>sign</name>
			    </property>
		    </activation>
		    <build>
			    <plugins>
				    <plugin>
					    <groupId>org.apache.maven.plugins</groupId>
					    <artifactId>maven-gpg-plugin</artifactId>
					    <version>1.0-alpha-3</version>
					    <executions>
						    <execution>
							    <id>sign-artifacts</id>
							    <phase>verify</phase>
							    <goals>
								    <goal>sign</goal>
							    </goals>
						    </execution>
					    </executions>
				    </plugin>
			    </plugins>
		    </build>
	    </profile>
    </profiles>  
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.0.3</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <distributionManagement>
        <repository>
            <id>wso2-maven2-repository</id>
            <name>WSO2 Maven2 Repository</name>
            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
        </repository>
        <snapshotRepository>
            <id>wso2-maven2-snapshot-repository</id>
            <name>WSO2 Maven2 Repository</name>
            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
        </snapshotRepository>
    </distributionManagement>  
</project>
