<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ Copyright 2006-2009 WorldWide Conferencing, LLC
  ~
  ~ Licensed 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 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>

  <!--
  Shared parent. Define the settings common to all projects at Lift.

  This includes a standard release profile that all projects can use.
  If the profile is not appropriate for your project, define your own release profile
  and change the release plugin configuration parameter <arguments> </arguments> to
  activate your profile instead of the "release" profile.

  Dependencies and plugins are also pre-configured with standard settings,
  these may be overridden by individual projects as well.
  -->

  <!--
    ~ The Basics
  -->
  <groupId>net.liftweb</groupId>
  <artifactId>lift</artifactId>
  <version>1.1-M8</version>
  <packaging>pom</packaging>

  <properties>
    <!-- Common plugin settings -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.5</maven.compiler.source>
    <maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
    <!-- Necessary until we move to maven-compiler-plugin-2.1 (MCOMPILER-70) -->
    <maven.compiler.encoding>${project.build.sourceEncoding}</maven.compiler.encoding>
    <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
    <!-- TODO: for lift-build_date.
         http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Available_Variables -->
    <!--<maven.build.timestamp.format/>-->

    <!--<scala.version>[2.7.5,2.7.6),(2.7.6,2.7.7]</scala.version>-->
    <scala.version>2.7.7</scala.version>
    <slf4j.version>[1.5.6,)</slf4j.version>

    <!-- vscaladoc settings -->
    <maven.scaladoc.vscaladocVersion>1.2-SNAPSHOT</maven.scaladoc.vscaladocVersion>
    <vscaladoc.links.liftweb.baseurl>http://scala-tools.org/mvnsites-snapshots/liftweb</vscaladoc.links.liftweb.baseurl>
  </properties>

  <!--
    ~ More Project Information
  -->
  <name>Lift Web Framework</name>
  <description>
    Lift is an expressive and elegant framework for writing web applications.
    Lift stresses the importance of security, maintainability, scalability
    and performance while allowing for high levels of developer productivity.
    Lift is a Scala web framework.
  </description>
  <url>http://dev.liftweb.net</url>
  <inceptionYear>2006</inceptionYear>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>Lift open source software is licensed under an Apache 2.0 license.</comments>
    </license>
  </licenses>
  <organization>
    <name>WorldWide Conferencing, LLC</name>
    <url>http://www.liftweb.net</url>
  </organization>
  <developers>
    <developer>
      <id>dpp</id>
      <name>David Pollak</name>
      <timezone>-8</timezone>
      <email>dpp [at] liftweb.net</email>
      <roles>
        <role>BDFL</role>
        <role>Feeder of the Bears</role>
      </roles>
    </developer>
    <developer>
      <id>Burak.Emir</id>
      <name>Burak Emir</name>
    </developer>
    <developer>
      <id>philipp.schmidt</id>
      <name>philipp.schmidt</name>
    </developer>
    <developer>
      <id>cwilkes</id>
      <name>cwilkes</name>
    </developer>
    <developer>
      <id>julien.wetterwald</id>
      <name>julien.wetterwald</name>
    </developer>
    <developer>
      <id>leppoc</id>
      <name>leppoc</name>
    </developer>
    <developer>
      <id>stepan.koltsov</id>
      <name>stepan.koltsov</name>
    </developer>
    <developer>
      <id>jorge.ortiz</id>
      <name>Jorge Ortiz</name>
      <timezone>-8</timezone>
      <email>jorge [at] liftweb.net</email>
    </developer>
    <developer>
      <id>stevej</id>
      <name>Steve Jenson</name>
    </developer>
    <developer>
      <id>alex.boisvert</id>
      <name>Alex Boisvert</name>
    </developer>
    <developer>
      <name>OctoberDan</name>
    </developer>
    <developer>
      <id>viktor.klang</id>
      <name>Viktor Klang a.k.a. Sevikkla</name>
      <timezone>+1</timezone>
      <roles>
        <role>Enhancement specialist</role>
        <role>Funny guy</role>
      </roles>
    </developer>
    <developer>
      <id>david.bernard.31</id>
      <name>David Bernard</name>
      <email>dwayne [at] liftweb.net</email>
      <timezone>+1</timezone>
      <roles>
        <role>maven support</role>
      </roles>
    </developer>
    <developer>
      <id>mstarzyk</id>
      <name>Maciek Starzyk</name>
    </developer>
    <developer>
      <id>etorreborre</id>
      <name>Eric Torreborre</name>
      <timezone>+9</timezone>
    </developer>
    <developer>
      <id>marius.danciu</id>
      <name>Marius Danciu</name>
      <timezone>+2</timezone>
    </developer>
    <developer>
      <id>tyler.weir</id>
      <name>Tyler Weir</name>
      <timezone>-5</timezone>
    </developer>
    <developer>
      <id>timperrett</id>
      <name>Tim Perrett</name>
      <email>hello [at] timperrett.com</email>
      <timezone>0</timezone>
      <roles>
        <role>Installation and Deployment</role>
        <role>Advanced Localization</role>
      </roles>
    </developer>
    <developer>
      <id>dchenbecker</id>
      <name>Derek Chen-Becker</name>
      <email>java [at] chen-becker.org</email>
      <timezone>-7</timezone>
    </developer>
    <developer>
      <id>jboner</id>
      <name>Jonas Bon&#233;r</name>
      <email>jonas [at] jonasboner [dot] com</email>
      <timezone>+1</timezone>
    </developer>
    <developer>
      <id>heiko.seeberger</id>
      <name>Heiko Seeberger</name>
      <email>heiko [dot] seeberger [at] googlemail [dot] com</email>
      <timezone>+1</timezone>
      <roles>
        <role>OSGi expert and Scala enthusiast</role>
      </roles>
    </developer>
    <developer>
      <id>indrajitr</id>
      <name>Indrajit Raychaudhuri</name>
      <email>irc [at] indrajit [dot] com</email>
      <timezone>+5.5</timezone>
    </developer>
  </developers>

  <!--
    ~ Environment Settings
  -->
  <issueManagement>
    <system>github</system>
    <url>http://github.com/dpp/liftweb/issues/</url>
  </issueManagement>
  <ciManagement>
    <system>hudson</system>
    <url>http://hudson.scala-tools.org/job/Lift/</url>
    <notifiers>
      <!-- TODO: Configure-->
      <notifier/>
    </notifiers>
  </ciManagement>
  <mailingLists>
    <mailingList>
      <name>User and Developer Discussion List</name>
      <archive>http://groups.google.com/group/liftweb</archive>
      <post>liftweb@googlegroups.com</post>
      <subscribe>liftweb+subscribe@googlegroups.com</subscribe>
      <unsubscribe>liftweb+unsubscribe@googlegroups.com</unsubscribe>
    </mailingList>
    <mailingList>
      <name>Committer Discussion List</name>
      <archive>http://groups.google.com/group/lift-committers</archive>
      <!-- <post>lift-committers@googlegroups.com</post> -->
      <!-- <subscribe>lift-committers+subscribe@googlegroups.com</subscribe> -->
      <!-- <unsubscribe>lift-committers+unsubscribe@googlegroups.com</unsubscribe> -->
    </mailingList>
    <mailingList>
      <name>Announcement List</name>
      <archive>http://groups.google.com/group/lift-announce</archive>
      <!-- <post>lift-announce@googlegroups.com</post> -->
      <subscribe>lift-announce+subscribe@googlegroups.com</subscribe>
      <unsubscribe>lift-announce+unsubscribe@googlegroups.com</unsubscribe>
    </mailingList>
  </mailingLists>
  <scm>
    <connection>scm:git:git://github.com/dpp/liftweb.git</connection>
    <developerConnection>scm:git:git@github.com:dpp/liftweb.git</developerConnection>
    <url>http://github.com/dpp/liftweb/tree/master</url>
  </scm>
  <repositories>
    <repository>
      <id>scala-tools.release</id>
      <name>Scala-Tools Release Repository</name>
      <url>http://scala-tools.org/repo-releases</url>
    </repository>
    <repository>
      <id>scala-tools.snapshot</id>
      <name>Scala-Tools Snapshot Repository</name>
      <url>http://scala-tools.org/repo-snapshots</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>scala-tools.release</id>
      <name>Scala-Tools Release Repository</name>
      <url>http://scala-tools.org/repo-releases</url>
    </pluginRepository>
    <pluginRepository>
      <id>scala-tools.snapshot</id>
      <name>Scala-Tools Snapshot Repository</name>
      <url>http://scala-tools.org/repo-snapshots</url>
    </pluginRepository>
  </pluginRepositories>
  <distributionManagement>
    <snapshotRepository>
      <id>nexus.scala-tools.org</id>
      <name>Scala-Tools Snapshot Distribution Repository</name>
      <url>http://nexus.scala-tools.org/content/repositories/snapshots</url>
      <uniqueVersion>false</uniqueVersion>
    </snapshotRepository>
    <!-- Site omitted, each project/profile must provide their own -->
    <!--<site />-->
  </distributionManagement>

  <!--
    ~ Dependency Settings
  -->
  <dependencyManagement>
    <dependencies>
      <!--
      Compile scope: available in all classpath, transitive
      -->
      <dependency>
        <groupId>org.scala-lang</groupId>
        <artifactId>scala-library</artifactId>
        <version>${scala.version}</version>
      </dependency>
      <dependency>
        <groupId>org.scala-libs</groupId>
        <artifactId>scalajpa</artifactId>
        <version>1.1</version>
      </dependency>
      <dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>[1.4,1.4.3)</version>
      </dependency>
      <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <!--<version>[1.3,1.4]</version>-->
        <version>1.3</version>
      </dependency>
      <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>3.2.1</version>
      </dependency>
      <dependency>
        <groupId>commons-fileupload</groupId>
        <artifactId>commons-fileupload</artifactId>
        <version>1.2.1</version>
      </dependency>
      <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.1</version>
      </dependency>
      <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <!--<version>[1.2.14,1.2.15]</version>-->
        <version>1.2.14</version>
      </dependency>
      <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>${slf4j.version}</version>
        <!--<optional>true</optional>-->
      </dependency>
      <!--
      Provided scope: provided by container, available only in compile and test classpath, non-transitive
      -->
      <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>2.5</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>javax.persistence</groupId>
        <artifactId>persistence-api</artifactId>
        <version>1.0</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.osgi.compendium</artifactId>
        <version>1.2.0</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.scalamodules</groupId>
        <artifactId>scalamodules-core</artifactId>
        <version>1.1-SNAPSHOT</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.ops4j.pax.web</groupId>
        <artifactId>pax-web-bundle</artifactId>
        <version>0.6.0</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.ops4j.pax.swissbox</groupId>
        <artifactId>pax-swissbox-extender</artifactId>
        <version>0.2.0</version>
        <scope>provided</scope>
      </dependency>
      <!--
      Runtime scope: provided in runtime, available only in runtime and test classpath, not compile classpath
      -->
      <!--<dependency/>-->
      <!--
      Test scope: available only in test classpath
      -->
      <dependency>
        <groupId>org.scala-tools.testing</groupId>
        <artifactId>specs</artifactId>
        <!--<version>[1.4.4,1.6.0]</version>-->
        <version>1.6.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.scala-tools.testing</groupId>
        <artifactId>scalacheck</artifactId>
        <version>1.6</version>
        <scope>test</scope>
      </dependency>

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <!--TODO: push version to 4.7-->
        <version>4.5</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-simple</artifactId>
        <version>${slf4j.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>jetty</artifactId>
        <version>[6.1.6,7.0)</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>net.sourceforge.jwebunit</groupId>
        <artifactId>jwebunit-htmlunit-plugin</artifactId>
        <version>2.2</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <!-- Dependencies omitted, each project must provide their own -->
  <!--<dependencies />-->

  <!--
    ~ Modules Setting
  -->
  <modules>
    <module>lift-base</module>
    <module>lift-persistence</module>
    <module>lift-modules</module>
    <module>lift-archetypes</module>
    <module>lift-examples</module>

    <!-- the 'meta' module -->
    <module>lift-core</module>
  </modules>

  <!--
    ~ Build Settings
  -->
  <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-webdav</artifactId>
        <version>1.0-beta-2</version>
      </extension>
    </extensions>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>1.0-beta-1</version>
          <configuration>
            <rules>
              <requireMavenVersion>
                <version>[2.1.0,3.0)</version>
              </requireMavenVersion>
            </rules>
          </configuration>
          <executions>
            <execution>
              <id>default-enforce</id>
              <goals>
                <goal>enforce</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.scala-tools</groupId>
          <artifactId>maven-scala-plugin</artifactId>
          <version>2.12.2</version>
          <configuration>
            <charset>${project.build.sourceEncoding}</charset>
            <!--<bottom>Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.</bottom>-->
            <jvmArgs>
              <jvmArg>-Xmx1024m</jvmArg>
              <jvmArg>-DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties</jvmArg>
            </jvmArgs>
            <args>
              <arg>-Xno-varargs-conversion</arg>
            </args>
          </configuration>
          <executions>
            <execution>
              <id>scala-compile</id>
              <phase>process-resources</phase>
              <goals>
                <goal>compile</goal>
              </goals>
            </execution>
            <execution>
              <id>scala-testCompile</id>
              <phase>process-test-resources</phase>
              <goals>
                <goal>testCompile</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <archive>
              <manifest>
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              </manifest>
              <manifestEntries>
                <!-- TODO: Deprecate and use Default Implementation Entries (Implementation-Version) -->
                <lift_version>${pom.version}</lift_version>
                <lift_build_date>${maven.build.timestamp}</lift_build_date>
              </manifestEntries>
            </archive>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.1.1</version>
          <executions>
            <execution>
              <goals>
                <goal>jar-no-fork</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.4.1</version>
          <executions>
            <execution>
              <id>default-copy-resources</id>
              <phase>pre-site</phase>
              <goals>
                <goal>copy-resources</goal>
              </goals>
              <configuration>
                <overwrite>true</overwrite>
                <outputDirectory>${project.build.directory}</outputDirectory>
                <resources>
                  <resource>
                    <directory>${project.basedir}/src</directory>
                    <includes>
                      <include>packageLinkDefs.properties</include>
                    </includes>
                    <filtering>true</filtering>
                  </resource>
                </resources>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.6.1</version>
          <configuration>
            <detectLinks>true</detectLinks>
            <linksource>true</linksource>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>2.0.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-changes-plugin</artifactId>
          <version>2.1</version>
          <configuration>
            <issueLinkTemplatePerSystem>
              <github>%URL%/%ISSUE%/find</github>
            </issueLinkTemplatePerSystem>
          </configuration>
          <executions>
            <execution>
              <id>default-changes-validate</id>
              <phase>verify</phase>
              <goals>
                <goal>changes-validate</goal>
              </goals>
              <configuration>
                <failOnError>true</failOnError>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <version>2.0.1</version>
          <extensions>true</extensions>
          <configuration>
            <instructions>
              <Bundle-RequiredExecutionEnvironment>J2SE-1.5,JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
              <_versionpolicy>[$(@),$(version;=+;$(@)))</_versionpolicy>
              <DynamicImport-Package>*</DynamicImport-Package>
            </instructions>
          </configuration>
          <executions>
            <execution>
              <id>default-bundle</id>
              <phase>package</phase>
              <goals>
                <goal>bundle</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>net.sf.alchim</groupId>
          <artifactId>yuicompressor-maven-plugin</artifactId>
          <version>0.7.1</version>
          <executions>
            <execution>
              <goals>
                <goal>compress</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.rat</groupId>
          <artifactId>apache-rat-plugin</artifactId>
          <version>0.6</version>
          <configuration>
            <excludes>
              <exclude>*.log</exclude>
              <exclude>packageLinkDefs.properties</exclude>
            </excludes>
          </configuration>
          <executions>
            <execution>
              <phase>verify</phase>
              <goals>
                <goal>check</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-idea-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <downloadSources>true</downloadSources>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-eclipse-plugin</artifactId>
          <version>2.7</version>
          <configuration>
            <downloadSources>true</downloadSources>
            <additionalProjectnatures>
              <projectnature>ch.epfl.lamp.sdt.core.scalanature</projectnature>
            </additionalProjectnatures>
            <additionalBuildcommands>
              <buildcommand>ch.epfl.lamp.sdt.core.scalabuilder</buildcommand>
            </additionalBuildcommands>
            <classpathContainers>
              <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer>
              <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
            </classpathContainers>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.scala-tools</groupId>
        <artifactId>maven-scala-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
      </plugin>
    </plugins>
  </build>

  <!--
    ~ Reporting Settings
  -->
  <reporting>
    <excludeDefaults>true</excludeDefaults>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.1.2</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>cim</report>
              <report>dependencies</report>
              <report>dependency-convergence</report>
              <!--<report>dependency-management</report>-->
              <report>index</report>
              <report>issue-tracking</report>
              <report>license</report>
              <report>mailing-list</report>
              <!--<report>plugin-management</report>-->
              <report>plugins</report>
              <report>project-team</report>
              <report>scm</report>
              <report>summary</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.scala-tools</groupId>
        <artifactId>maven-scala-plugin</artifactId>
        <version>2.12.2</version>
        <configuration>
          <charset>${project.build.sourceEncoding}</charset>
          <!--<bottom>Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.</bottom>-->
          <jvmArgs>
            <jvmArg>-Xmx1024m</jvmArg>
            <jvmArg>-DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties</jvmArg>
          </jvmArgs>
          <args>
            <arg>-Xno-varargs-conversion</arg>
          </args>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.6.1</version>
        <configuration>
          <detectLinks>true</detectLinks>
          <linksource>true</linksource>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
              <!--<report>aggregate</report>-->
              <report>test-javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
          <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.1</version>
        <inherited>false</inherited>
        <configuration>
          <issueLinkTemplatePerSystem>
            <github>%URL%/%ISSUE%/find</github>
          </issueLinkTemplatePerSystem>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.4.3</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>report-only</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

  <!--
    ~ Profile Settings
  -->
  <profiles>
    <profile>
      <id>detail</id>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.scala-tools</groupId>
              <artifactId>maven-scala-plugin</artifactId>
              <configuration>
                <args>
                  <arg>-unchecked</arg>
                  <arg>-deprecation</arg>
                </args>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>release</id>
      <properties>
        <vscaladoc.links.liftweb.baseurl>http://scala-tools.org/mvnsites/liftweb</vscaladoc.links.liftweb.baseurl>
      </properties>
      <!--
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.rat</groupId>
            <artifactId>apache-rat-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <configuration>
              <descriptorRefs>
                <descriptorRef>project</descriptorRef>
              </descriptorRefs>
              <tarLongFileMode>gnu</tarLongFileMode>
            </configuration>
            <executions>
              <execution>
                <id>make-assembly</id>
                <phase>package</phase>
                <goals>
                  <goal>attached</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      -->
      <distributionManagement>
        <repository>
          <id>nexus.scala-tools.org</id>
          <name>Scala-Tools Release Distribution Repository</name>
          <url>http://nexus.scala-tools.org/content/repositories/releases</url>
        </repository>
        <site>
          <id>scala-tools.dist.site</id>
          <!-- dav protocol isn't optimized for site-deploy (very long for api) -->
          <!--url>dav:http://dav.scala-tools.org/mvnsites/liftweb</url-->
          <url>file://${user.home}/.m2/mvnsites/liftweb</url>
        </site>
      </distributionManagement>
    </profile>
    <profile>
      <id>hudson</id>
      <distributionManagement>
        <!--
        <repository>
          <id>nexus.scala-tools.org</id>
          <url>http://nexus.scala-tools.org/content/repositories/releases</url>
        </repository>
        -->
        <snapshotRepository>
          <id>nexus.scala-tools.org</id>
          <url>http://nexus.scala-tools.org/content/repositories/snapshots</url>
          <uniqueVersion>false</uniqueVersion>
        </snapshotRepository>
        <site>
          <id>nexus.scala-tools.org</id>
          <url>file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb</url>
        </site>
      </distributionManagement>
    </profile>
  </profiles>

</project>
