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

<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>net.sf.formlayoutmaker</groupId>
  <artifactId>formlayoutmakerx</artifactId>
  <packaging>jar</packaging>

  <name>FormLayoutMaker</name>
  <version>rc7</version>
  <description>FormLayoutMaker is a WYSIWYG tool that enables you to easily build Java Swing layouts
   using the JGoodies FormLayout layout manager. Perfect for those that hate IDE form builders
   but need powerful layouts fast.</description>

  <url>http://formlayoutmaker.sf.net/</url>
  <inceptionYear>2004</inceptionYear>
  <developers>
    <developer>
      <id>mlconnor</id>
      <name>Michael Connor</name>
      <email>mlconnor@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>tekra</id>
      <name>Kevin Routley</name>
      <email>tekra@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>hboutemy</id>
      <name>Hervé Boutemy</name>
      <email>hboutemy@users.sourceforge.net</email>
      <timezone>+1</timezone>
    </developer>
  </developers>
  <scm>
    <connection>scm:cvs:pserver:anonymous@formlayoutmaker.cvs.sourceforge.net:/cvsroot/formlayoutmaker:formlayoutmaker</connection>
    <developerConnection>scm:cvs:ext:${maven.username}@formlayoutmaker.cvs.sourceforge.net:/cvsroot/formlayoutmaker:formlayoutmaker</developerConnection>
    <url>http://formlayoutmaker.cvs.sourceforge.net/formlayoutmaker/formlayoutmaker</url>
  </scm>
  <licenses>
    <license>
      <name>BSD</name>
      <url>http://www.opensource.org/licenses/bsd-license.php</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <issueManagement>
    <system>SF Bug Tracker</system>
    <url>http://sourceforge.net/tracker/?atid=640546&amp;group_id=105202</url>
  </issueManagement>

  <build>
    <sourceDirectory>src</sourceDirectory>
    <resources>
      <resource>
        <directory>${basedir}/src/</directory>
        <includes>
          <include>components.xml</include>
          <include>org/mlc/swing/layout/*.gif</include>
          <include>org/mlc/swing/layout/*LayoutConstraints.xml</include>
        </includes>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>buildnumber-maven-plugin</artifactId>
        <version>1.0-beta-1</version>
        <configuration>
          <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
          <items>
            <item>timestamp</item>
          </items>
        </configuration>
        <executions>
          <execution>
            <phase>validate</phase>
            <goals>
              <goal>create</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <archive>
            <index>true</index>
            <manifest>
              <addClasspath>true</addClasspath>
              <classpathPrefix>lib</classpathPrefix>
              <mainClass>org.mlc.swing.layout.LayoutFrame</mainClass>
            </manifest>
            <manifestEntries>
              <Built-By>${maven.username}</Built-By>
              <Specification-Title>${project.name}</Specification-Title>
              <Specification-Version>${project.version}</Specification-Version>
              <Implementation-Title>${project.groupId}</Implementation-Title>
              <Implementation-Version>${project.version} ${buildNumber}</Implementation-Version>
              <Implementation-Version>${project.version}</Implementation-Version>
              <Implementation-Vendor>${project.url}</Implementation-Vendor>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>retrotranslator-maven-plugin</artifactId>
        <version>1.0-alpha-2</version>
        <executions>
          <execution>
            <goals>
              <goal>translate-project</goal>
            </goals>
            <configuration>
              <classifier>jdk14</classifier>
              <attach>true</attach>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>jgoodies</groupId>
      <artifactId>forms</artifactId>
      <version>1.0.5</version>
    </dependency>
    <dependency>
      <groupId>org.beanshell</groupId>
      <artifactId>bsh</artifactId>
      <version>2.0b4</version>
    </dependency>
  </dependencies>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.0-beta-5</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.0.1</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <linksource>true</linksource>
          <links>
            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
          </links>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <targetJdk>1.5</targetJdk>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jxr-maven-plugin</artifactId>
        <version>2.1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jdepend-maven-plugin</artifactId>
        <version>2.0-beta-1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>1.1.1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>javancss-maven-plugin</artifactId>
        <version>2.0-beta-2</version>
      </plugin>
    </plugins>
  </reporting>


  <profiles>
    <profile>
      <id>full</id>
      <reporting>
        <plugins>
          <plugin>
            <groupId>statcvs</groupId>
            <artifactId>maven-statcvs-plugin</artifactId>
            <version>3.0</version>
            <configuration>
              <history>true</history>
              <fork>true</fork>
              <webUrlType>viewcvs</webUrlType>
              <excludes>
                <exclude>docs/*</exclude>
                <exclude>sample/logs/**/*</exclude>
                <exclude>**/tmp/*</exclude>
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </reporting>
    </profile>
  </profiles>

  <distributionManagement>
    <site>
      <id>sourceforge</id>
      <url>scp://formlayoutmaker.sourceforge.net/home/groups/f/fo/formlayoutmaker/htdocs/maven</url>
    </site>
    <repository>
      <id>sourceforge</id>
      <url>scp://dtddoc.sourceforge.net/home/groups/f/fo/formlayoutmaker/htdocs/m2repo/releases</url>
    </repository>
    <snapshotRepository>
      <id>sourceforge</id>
      <url>scp://dtddoc.sourceforge.net/home/groups/f/fo/formlayoutmaker/htdocs/m2repo/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
</project>