<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.squirrel-sql.thirdparty-non-maven</groupId>
   <artifactId>ostermiller-syntax</artifactId>
   <name>Ostermiller Syntax Highlighting</name>
   <version>1.1.1</version>
   <description>
        The com.Ostermiller.Syntax package is designed to add syntax coloring to web pages that 
        display source code or to add color syntax highlighting ability to any text editor written in Java.
   </description>
   <url>http://ostermiller.org/syntax/</url>
   <licenses>
      <license>
         <name>GNU General Public License</name>
         <url>http://ostermiller.org/syntax/license.html</url>
      </license>
   </licenses>
   <developers>
      <developer>
         <name>Stephen Ostermiller</name>
      </developer>
   </developers>
   <!--
      Source code repository is unavailable at this time. The author only makes the source code available as
      an archive on his website (see scm url below).
   -->
   <scm>
      <url>http://ostermiller.org/syntax/download.html</url>
   </scm>
   <dependencies>
      <dependency>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <version>2.2</version>
         <type>maven-plugin</type>
      </dependency>
      <dependency>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <version>2.0.2</version>
         <type>maven-plugin</type>
      </dependency>
      <dependency>
         <groupId>org.apache.ant</groupId>
         <artifactId>ant</artifactId>
         <version>1.7.1</version>
      </dependency>
      <dependency>
         <groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
         <artifactId>ostermiller-bte</artifactId>
         <version>1.6</version>
      </dependency>
   </dependencies>   
   <build>
      <resources>
         <resource>
            <directory>src/main/resources</directory>
            <includes>
               <include>**/*.*</include>
            </includes>
         </resource>
      </resources>
      <plugins>
         <plugin>
            <groupId>de.jflex</groupId>
            <artifactId>maven-jflex-plugin</artifactId>
            <version>1.4.3</version>
            <executions>
               <execution>
                  <goals>
                     <goal>generate</goal>
                  </goals>
                  <configuration>
                     <outputDirectory>src/main/java</outputDirectory>
                     <lexDefinitions>
                        <lexDefinition>src/main/jflex</lexDefinition>
                     </lexDefinitions>
                  </configuration>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.5</source>
               <target>1.5</target>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
               <archive>
                  <addMavenDescriptor>false</addMavenDescriptor>
               </archive>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>2.1</version>
            <executions>
               <execution>
                  <id>attach-sources</id>
                  <phase>package</phase>
                  <goals>
                     <goal>jar</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>         
      </plugins>
   </build>
   <profiles>
      <profile>
         <id>sign-jar</id>
         <build>
            <plugins>
               <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-gpg-plugin</artifactId>
                  <version>1.0-alpha-4</version>
                  <executions>
                     <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                           <goal>sign</goal>
                        </goals>
                     </execution>
                  </executions>
               </plugin>
            </plugins>
         </build>
      </profile>
   </profiles>
   <distributionManagement>
      <repository>
         <id>sonatype-squirrel-sql-releases</id>
         <name>SQuirreL-SQL Release Repository</name>
         <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
      </repository>
      <snapshotRepository>
         <id>sonatype-squirrel-sql-snapshots</id>
         <name>SQuirreL-SQL Snapshot Repository</name>
         <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots/</url>
      </snapshotRepository>
   </distributionManagement>


</project>