<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/xsd/maven-4.0.0.xsd">
  
  <modelVersion>4.0.0</modelVersion>
  <groupId>me.soliveirajr</groupId>
  <artifactId>menta-container</artifactId>
  <version>0.1.1</version>
  <packaging>jar</packaging>
  
  <description>A IoC container as simple and pragmatic as it can get with programmatic configuration through a Fluent API.</description>

  <name>MentaContainer</name>
  <url>http://maven.apache.org</url>
  
  <licenses>
    <license>
      <name>GNU Lesser General Public License (LGPL), Version 2.1</name>
      <url>http://www.fsf.org/licensing/licenses/lgpl.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  
  <properties>
     <build.final.name>mentacontainer</build.final.name>
     <svn.url>svn://saoj-la.dyndns.org/mentacontainer/trunk</svn.url>
     <svn.tags>svn://saoj-la.dyndns.org/mentacontainer/tags</svn.tags>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>3</version>
  </parent>
  
  <scm>
    <developerConnection>scm:svn:svn://saoj-la.dyndns.org/mentacontainer/tags/menta-container-0.1.1</developerConnection>
    <url>svn://saoj-la.dyndns.org/mentacontainer/tags/menta-container-0.1.1</url>
	<connection>scm:svn:svn://saoj-la.dyndns.org/mentacontainer/tags/menta-container-0.1.1</connection>
  </scm>
  
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.5</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          ...
        </configuration>
      </plugin>  
    </plugins>
  </reporting>
  
  <profiles>
    <profile>
      <id>release-sign-artifacts</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  
      <!-- distributionManagement>
        <repository>
            <id>nexus-releases</id>
            <name>Nexus Release Repository</name>
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
    </distributionManagement --> 
  
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <finalName>${build.final.name}</finalName>
	  <plugins>
      	<!-- plugin>
        	<groupId>org.apache.maven.plugins</groupId>
        	<artifactId>maven-gpg-plugin</artifactId>
        	<executions>
          		<execution>
            		<id>sign-artifacts</id>
            		<phase>verify</phase>
            		<goals>
              			<goal>sign</goal>
            		</goals>
          		</execution>
        	</executions>
      	</plugin -->
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-compiler-plugin</artifactId>
			<version>2.0.2</version>
			<configuration>
				<source>1.6</source>
				<target>1.6</target>
			</configuration>
		</plugin>
		<plugin>
			<artifactId>maven-javadoc-plugin</artifactId>
			<version>2.7</version>
			<configuration />
		</plugin>
		<plugin>
			<artifactId>maven-release-plugin</artifactId>
			<version>2.0</version>
			<configuration>
				<tagBase>${svn.tags}</tagBase>
				<connectionUrl>scm:svn:${svn.url}</connectionUrl>
			</configuration>
		</plugin>
	  </plugins>
  </build>
</project>
