<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>de.tomas-teubner</groupId>
  <artifactId>docsite</artifactId>
  <version>3.0.18</version>
  <packaging>jar</packaging>
  <name>Document Site Generator</name>
  <url>http://tsteub.selfhost.me/maven/site/tools/${project.artifactId}/${project.version}</url>
  <description>Document Site Generator</description>
  <inceptionYear>2007</inceptionYear>
  <properties>
    <currentVersion>${project.version}</currentVersion>
  </properties>
  <licenses>
  	<license>
  	  <name>tt Software License</name>
  	  <url>/LICENSE.txt</url>			
  	</license>
  </licenses>
  <organization>
    <name>Tomas Teubner</name>
    <url>http://www.tomas-teubner.de</url>
  </organization>
  <scm>
    <developerConnection>scm:svn:https://svn.tsteub.selfhost.me/repos/tomas/java/tools/docsite/tags/docsite-3.0.18</developerConnection>
    <connection>scm:svn:https://svn.tsteub.selfhost.me/repos/tomas/java/tools/docsite/tags/docsite-3.0.18</connection>
    <url>https://tsteub.selfhost.me/viewcvs/java/tools/docsite/tags/docsite-3.0.18?root=SVN+tomas</url>
  </scm>
  <issueManagement>
    <system>Bugzilla</system>
    <url>https://tsteub.selfhost.me/bugzilla</url>
  </issueManagement>
  <distributionManagement>
    <!-- use the following if you're not using a snapshot version. -->
    <repository>
      <id>tomas-ssh</id>
      <name>Repository Name</name>
      <url>scpexe://ssh.tsteub.selfhost.me/usr/export/srv/www/htdocs/maven/repository</url>
    </repository>
    <!-- use the following if you ARE using a snapshot version. -->
    <snapshotRepository>
      <id>snapshot-repo</id>
      <url>file://${settings.localRepository}</url>
    </snapshotRepository>
    <site>
      <id>tomas-ssh</id>
      <name>Maven Site</name>
      <url>scpexe://ssh.tsteub.selfhost.me/usr/export/srv/www/htdocs/maven/site/tools/${project.artifactId}/${project.version}</url>
    </site>
  </distributionManagement>
  <build>
    <extensions>
      <extension>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>wagon-maven-plugin</artifactId>
        <version>1.0-beta-3</version>
      </extension>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
	<artifactId>wagon-ssh-external</artifactId>
	<version>2.6</version>
      </extension>
    </extensions>  
    <plugins>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
          <!-- force site to be included in assembly -->
          <goals>site-deploy deploy</goals>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9.1</version>
        <configuration>
          <!-- force apidocs outside site directory -->
          <outputDirectory>target/apidocs</outputDirectory>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-interpolation</artifactId>
            <version>1.15</version>
          </dependency>
        </dependencies>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.1</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.3</version>
        <configuration>
          <locales>en</locales>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.8.1</version>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.2.1</version>
      </plugin>
      <plugin>
      	<groupId>com.akathist.maven.plugins.launch4j</groupId>
        <artifactId>launch4j-maven-plugin</artifactId>
        <version>1.5.2</version>
        <executions>
          <execution>
          	<id>l4j-console</id>
          	<phase>package</phase>
          	<goals>
          	  <goal>launch4j</goal>
          	</goals>
          	<configuration>
			  <headerType>console</headerType>
			  <jar>target/${project.artifactId}-${project.version}.jar</jar>
			  <outfile>target/${project.artifactId}.exe</outfile>
			  <errTitle>${project.name} ${project.version}</errTitle>
			  <cmdLine />
			  <chdir>.</chdir>
			  <priority>normal</priority>
			  <downloadUrl>http://java.com/download</downloadUrl>
			  <supportUrl />
			  <customProcName>true</customProcName>
			  <stayAlive>true</stayAlive>
			  <icon>src/main/resources/docsite.ico</icon>
			  <classPath>
			    <mainClass>local.tomas.docsite.Main</mainClass>
			    <addDependencies>true</addDependencies>
			    <jarLocation>lib/</jarLocation>
			  </classPath>
			  <jre>
			    <minVersion>1.6.0</minVersion>
			  </jre>
			  <versionInfo>
			    <fileVersion>3.0.14.0</fileVersion>
			    <txtFileVersion>${project.version}</txtFileVersion>
			    <fileDescription>${project.name}</fileDescription>
			    <copyright>${project.organization.name} 2007-2014</copyright>
			    <productVersion>3.0.14.0</productVersion>
			    <txtProductVersion>${project.version}</txtProductVersion>
			    <productName>${project.name}</productName>
			    <companyName>${project.organization.name}</companyName>
			    <internalName>${project.artifactId}</internalName>
			    <originalFilename>${project.artifactId}.exe</originalFilename>
			  </versionInfo>
          	</configuration>
          </execution>
          <execution>
          	<id>l4j-gui</id>
          	<phase>package</phase>
          	<goals>
          	  <goal>launch4j</goal>
          	</goals>
          	<configuration>
			  <headerType>gui</headerType>
			  <jar>target/${project.artifactId}-${project.version}.jar</jar>
			  <outfile>target/${project.artifactId}-gui.exe</outfile>
			  <errTitle>${project.name} ${project.version}</errTitle>
			  <cmdLine />
			  <chdir>.</chdir>
			  <priority>normal</priority>
			  <downloadUrl>http://java.com/download</downloadUrl>
			  <supportUrl />
			  <customProcName>true</customProcName>
			  <stayAlive>false</stayAlive>
			  <icon>src/main/resources/docsite.ico</icon>
			  <classPath>
			    <mainClass>local.tomas.docsite.ui.Main</mainClass>
			    <addDependencies>true</addDependencies>
			    <jarLocation>lib/</jarLocation>
			  </classPath>
			  <jre>
			    <minVersion>1.6.0</minVersion>
			  </jre>
			  <versionInfo>
			    <fileVersion>3.0.18.0</fileVersion>
			    <txtFileVersion>${project.version}</txtFileVersion>
			    <fileDescription>${project.name}</fileDescription>
			    <copyright>${project.organization.name} 2007</copyright>
			    <productVersion>3.0.18.0</productVersion>
			    <txtProductVersion>${project.version}</txtProductVersion>
			    <productName>${project.name}</productName>
			    <companyName>${project.organization.name}</companyName>
			    <internalName>${project.artifactId}</internalName>
			    <originalFilename>${project.artifactId}.exe</originalFilename>
			  </versionInfo>
          	</configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptors>
	        <descriptor>src/main/assembly/bin.xml</descriptor>
	      </descriptors>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-interpolation</artifactId>
            <version>1.15</version>
          </dependency>
          <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-utils</artifactId>
            <version>3.0.8</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <excludes>
          <exclude>**/*.gif</exclude>
          <exclude>**/*.ico</exclude>
        </excludes>
        <filtering>true</filtering>
      </resource>
      <resource>
        <directory>src/main/resources</directory>
        <includes>
          <include>**/*.gif</include>
          <include>**/*.ico</include>
        </includes>
        <filtering>false</filtering>
      </resource>
    </resources>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
  <dependencies>
  	<dependency>
  		<groupId>com.enterprisedt</groupId>
  		<artifactId>edtFTPj</artifactId>
  		<version>1.5.5-tt</version>
    	<type>jar</type>
  	</dependency>
    <dependency>
    	<groupId>de.tomas-teubner</groupId>
    	<artifactId>common-util</artifactId>
    	<version>2.0.0</version>
    	<type>jar</type>
    </dependency>
    <dependency>
    	<groupId>xalan</groupId>
    	<artifactId>xalan</artifactId>
    	<version>2.7.0</version>
    	<type>jar</type>
    </dependency>
    <dependency>
    	<groupId>xerces</groupId>
    	<artifactId>xercesImpl</artifactId>
    	<version>2.4.0</version>
    	<type>jar</type>
    </dependency>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.14</version>
    </dependency>
  </dependencies>
  <profiles>
    <!--  build assembly during release:perform -->
    <profile>
      <id>release-profile</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>2.1</version>
	        <dependencies>
	          <dependency>
	            <groupId>org.codehaus.plexus</groupId>
	            <artifactId>plexus-interpolation</artifactId>
	            <version>1.19</version>
	          </dependency>
	        </dependencies>
            <executions>
              <execution>
                <id>release</id>
                <phase>package</phase>
                <inherited>false</inherited>
                <goals>
                  <goal>assembly</goal>
                </goals>
                <!--  desired - but nonexistent - config support
                <configuration>
                  <attach>false</attach>
                </configuration -->
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <developers>
    <developer>
      <name>Tomas Teubner</name>
      <id>tomas</id>
      <email>tomas@tomas-teubner.de</email>
      <url>http://www.tomas-teubner.de</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
  </developers>
</project>
