<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>net.sf.squirrel-sql</groupId>
      <artifactId>squirrel-root-pom</artifactId>
      <version>3.0.2</version>
   </parent>

   <groupId>net.sf.squirrel-sql</groupId>
   <artifactId>squirrel-sql</artifactId>
   <version>3.0.2</version>
   <packaging>jar</packaging>

   <name>SQuirreL Main Application Jar</name>
   <description>
        This is the jar that contains the main application classes which are very specific to SQuirreLSQL. 
   </description>
   <inceptionYear>2001</inceptionYear>
   <developers>
      <developer>
         <name>Gerd Wagner</name>
         <roles>
            <role>Administrator</role>
            <role>Developer</role>
         </roles>
      </developer>
      <developer>
         <name>Rob Manning</name>
         <roles>
            <role>Developer</role>
            <role>Release Manager</role>
         </roles>
      </developer>
   </developers>
   <licenses>
      <license>
         <name>GNU Lesser General Public License</name>
         <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
         <distribution>repo</distribution>
      </license>
   </licenses>
   <url>http://www.squirrelsql.org/</url>
   <scm>
      <connection>scm:svn:https://squirrel-sql.svn.sourceforge.net/svnroot/squirrel-sql/trunk/sql12/</connection>
      <developerConnection>scm:svn:http://squirrel-sql.svn.sourceforge.net/viewvc/squirrel-sql/trunk/sql12/</developerConnection>
      <url>http://squirrel-sql.svn.sourceforge.net/viewvc/squirrel-sql/trunk/sql12/</url>
   </scm>
   <issueManagement>
      <system>SourceForge Tracker</system>
      <url>http://sourceforge.net/tracker/?group_id=28383%26atid=393414</url>
   </issueManagement>     
   <ciManagement>
        <system>Hudson</system>
        <url>https://www.squirrel-sql.org/hudson/</url>
   </ciManagement>
   
   <dependencies>
      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>fw</artifactId>
         <version>${project.version}</version>
      </dependency>
      <dependency>
         <groupId>jgoodies</groupId>
         <artifactId>forms</artifactId>
         <version>1.0.5</version>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-test</artifactId>
         <version>${spring-framework-version}</version>
         <scope>test</scope>
      </dependency>
   </dependencies>
   <build>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>${compiler-plugin-version}</version>
            <configuration>
               <!-- http://maven.apache.org/plugins/maven-compiler-plugin/ -->
               <source>${javac-source-version}</source>
               <target>${javac-target-version}</target>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>${surefire-plugin-version}</version>
            <configuration>
               <redirectTestOutputToFile>true</redirectTestOutputToFile>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <version>${jar-plugin-version}</version>
            <executions>
               <execution>
                  <goals>
                     <goal>test-jar</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>${source-plugin-version}</version>
            <executions>
               <execution>
                  <id>attach-sources</id>
                  <phase>package</phase>
                  <goals>
                     <goal>jar</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
   <profiles>
      <!--
         Since generating javadoc can be time-consuming, this is not done unless a "javadoc" profile is
         activated.
      -->
      <profile>
         <id>javadoc</id>
         <build>
            <plugins>
               <plugin>
                  <groupId>org.apache.maven.plugins</groupId>               
                  <artifactId>maven-javadoc-plugin</artifactId>
                  <version>${javadoc-plugin-version}</version>
                  <executions>
                     <execution>
                        <id>attach-javadocs</id>
                        <phase>package</phase>
                        <goals>
                           <goal>jar</goal>
                        </goals>
                     </execution>
                  </executions>
               </plugin>
            </plugins>
         </build>
      </profile>      
   </profiles>

   
</project>
