
<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>
    <parent>
        <groupId>org.softsmithy</groupId>
        <artifactId>softsmithy-parent</artifactId>
        <version>2.3</version>
        <relativePath />
    </parent>
    <groupId>org.softsmithy.lib</groupId>
    <artifactId>softsmithy-lib-parent</artifactId>
    <packaging>pom</packaging>
    <version>0.4</version>
    <name>SoftSmithy Utility Library - Parent POM</name>
    <url>http://www.softsmithy.org</url>
    <description>The parent POM of the SoftSmithy Utility Library project. This SoftSmithy Utility Library Parent POM should be the parent (either directly or indirectly) of every SoftSmithy Utility Library project unless there is a good reason to do otherwise (in which case the reason should be documented).</description>
    <inceptionYear>2002</inceptionYear>

    <scm>
        <connection>${scm.parent.connection}</connection>
        <developerConnection>${scm.parent.developerConnection}</developerConnection>
        <url>${scm.parent.url}</url>
      <tag>softsmithy-lib-all-0.4</tag>
  </scm>

    <licenses>
        <license>
            <name>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0</name>
            <distribution>repo</distribution>
            <!--<url>http://java.sun.com/spl.html</url>-->
            <url>../LICENSE.txt</url>
        </license>
    </licenses>

    <distributionManagement>
        <site>
            <id>softsmithy.sourceforge.net</id>
            <name>SoftSmithy Utility Library</name>
            <url>${distributionManagement.parent.url}/${project.artifactId}/</url>
        </site>
    </distributionManagement>
    <properties>
        
        <!-- Dev Environment Defaults -->
        <scm.parent.connection>scm:hg:http://hg.code.sf.net/p/softsmithy/softsmithy-lib</scm.parent.connection>
        <scm.parent.developerConnection>scm:hg:ssh://${username}@hg.code.sf.net/p/softsmithy/softsmithy-lib</scm.parent.developerConnection>
        <scm.parent.url>http://sourceforge.net/p/softsmithy/softsmithy-lib</scm.parent.url>
        <distributionManagement.parent.url>scp://${username}@shell.sourceforge.net/home/project-web/softsmithy/htdocs/lib/${project.version}/docs/site</distributionManagement.parent.url>
        <dist.directory>${project.build.directory}/dist</dist.directory>
        <java.compiler.compilerArgument>-Xlint:all,-serial</java.compiler.compilerArgument>
        <excludePackageNames>*.internal.*:*.impl.*</excludePackageNames> <!-- used by Javadoc plugin --><!-- TODO: get this from OSGi meta data-->
        <javadoc.url>http://docs.oracle.com/javase/7/docs/api</javadoc.url> <!-- used by tutorials -->
        
        <!-- Dependency Versions Defaults -->
        <dependency.junit.version>4.10</dependency.junit.version>
        <dependency.javax-persistence.version>2.0.3</dependency.javax-persistence.version>
        <dependency.osgi.version>1.4.0</dependency.osgi.version>

    </properties>

    <!-- Not inherited!?? -->
    <prerequisites>
        <maven>${maven.version}</maven>
    </prerequisites>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>cobertura-maven-plugin</artifactId>
                    <version>2.5.1</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>taglist-maven-plugin</artifactId>
                    <version>2.4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <configuration>
                        <reportPlugins> 
                            <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-project-info-reports-plugin</artifactId>
                            </plugin>
                            <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
                                <configuration>
                                    <detectLinks>true</detectLinks>
                                    <links>
                                        <!-- javadoc link for javax.persistence -->
                                        <link>http://docs.oracle.com/javaee/6/api/</link>
                                    </links>
                                    <!--                                    <groups>
                                        <group>
                                            <title>${project.name}</title>
                                            <packages>org.softsmithy.*</packages>
                                        </group>
                                    </groups>-->
                                </configuration>
                            </plugin>
                            <!--                            <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>cobertura-maven-plugin</artifactId>
                            </plugin>-->
                            <!--                            <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>taglist-maven-plugin</artifactId>
                            </plugin>-->
                        </reportPlugins>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${dependency.junit.version}</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.persistence</groupId>
                <artifactId>javax.persistence</artifactId>
                <version>${dependency.javax-persistence.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.osgi.core</artifactId>
                <version>${dependency.osgi.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>
