<?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>org.sarasvati.mojo</groupId>
  <artifactId>batik-maven-plugin</artifactId>
  <packaging>maven-plugin</packaging>
  <name>Batik Maven Plugin</name>
  <description>This plugin convert svg files to an image (png,jpeg,tiff), a pdf or a svg.
  This tool can produce a icon library in many size (ex:16,32,64 px) in a jar.</description>
  <version>${batik.version}</version>
  <url>${home.site.url}</url>
  <build>
  <extensions>
            <!-- Enabling the use of FTP -->
            <extension>
              <groupId>org.apache.maven.wagon</groupId>
               <artifactId>wagon-ssh-external</artifactId>
               <version>1.0</version>
            </extension>
            <extension>
  		              <groupId>org.apache.maven.wagon</groupId>
  		               <artifactId>wagon-ftp</artifactId>
  		               <version>1.0</version>
            </extension>
        </extensions>
  <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-project-info-reports-plugin</artifactId>
          <version>${site.info.version}</version>
        </plugin>

      </plugins>
    </pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <source>1.6</source>
            <target>1.6</target>
          </configuration>
        </plugin>
        <plugin>
		        <groupId>org.apache.maven.plugins</groupId>
		        <artifactId>maven-site-plugin</artifactId>
		        <version>${site.version}</version>
		        <configuration>
		         	<templateDirectory>${basedir}</templateDirectory>
				<template>site.vm</template>
				<siteDirectory>${basedir}/src/site</siteDirectory>	
				<reportPlugins>
				    <plugin>
				      <groupId>org.apache.maven.plugins</groupId>
				      <artifactId>maven-project-info-reports-plugin</artifactId>
				      <version>${site.info.version}</version>
				      <configuration>
					<dependencyDetailsEnabled>true</dependencyDetailsEnabled>
					<dependencyLocationsEnabled>true</dependencyLocationsEnabled>
				      </configuration>
				      <!-- simpler configuration without reportSets available for usual cases -->
				      <reports>
					<report>index</report>
					<report>summary</report>
					<report>project-team</report>
					<report>dependencies</report>
					<report>scm</report>
					<report>modules</report>
				      </reports>
				    </plugin>
		            </reportPlugins>
		        </configuration>
      </plugin>
     </plugins>
  </build>
  <reporting>
  <plugins>
  <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
	<version>2.9</version>
        <configuration>
       	 <extractors/>
       	  <executions>
          <execution>
            <id>generated-helpmojo</id>
            <goals>
              <goal>helpmojo</goal>
            </goals>
          </execution>
        </executions>
		</configuration>
      </plugin>
      		 	<plugin>
	  		 	<groupId>org.apache.maven.plugins</groupId>
	  		 	<artifactId>maven-project-info-reports-plugin</artifactId>
	  		 	<reportSets>
	  		 	<reportSet>
	  		 	<reports>
	  			<report>cim</report>
	  		 	<!-- <report>issue-tracking</report> -->
	  		 	<report>mailing-list</report>
	  		 	<report>license</report>
	  		 	<report>project-team</report>
	  		 	<report>surefire-report</report>
	  		 	<!-- <report>scm</report> -->
	  		 	</reports>
	  		 	</reportSet>
	  		 	</reportSets>
	  		 	</plugin>

  </plugins>
  </reporting>
  <developers>
  		<developer>
			<name>Mark Hobson</name>
			<email>markhobson@gmail.com</email>
			<roles>
				<role>Lead Developer</role>
			</roles>
			<timezone>0</timezone>
		</developer>

        <developer>
           <id>ffournier</id>
           <name>Frederic Fournier</name>
           <email>frederic.fournier.free@gmail.com</email>
           <roles>
              <role>Project Manager</role>
              <role>Architect</role>
           </roles>
           <organization>Acme.com</organization>
           <timezone>+1</timezone>
         </developer>
   </developers>
  <dependencies>
    <dependency>
	    <groupId>org.apache.maven</groupId>
	    <artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
	 </dependency>
    <dependency>
		<groupId>plexus</groupId>
		<artifactId>plexus-utils</artifactId>
			<version>1.0.3</version>
	</dependency>
    <dependency>
	  	<groupId>org.apache.xmlgraphics</groupId>
		<artifactId>batik-transcoder</artifactId>
		<version>${batik.version}</version>
	</dependency>
	<dependency>
		<groupId>org.apache.xmlgraphics</groupId>
		<artifactId>batik-codec</artifactId>
		<version>${batik.version}</version>
	</dependency>

	<dependency>
                <groupId>org.apache.maven.reporting</groupId>
                <artifactId>maven-reporting-api</artifactId>
                <version>2.0.8</version>
	</dependency>
	<dependency>
                <groupId>org.apache.maven.reporting</groupId>
                <artifactId>maven-reporting-impl</artifactId>
                <version>2.0</version>
	</dependency>
  </dependencies>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>


<distributionManagement>
        <site>
            <id>yaxsmiles</id>
            <url>ftp://ftp.tuxfamily.org/${ftp.site.url}/reports/batik-maven-plugin</url>
        </site>
        <repository>
			  <id>yaxsmiles</id>
			  <name>Repository Name</name>
			  <url>ftp://ftp.tuxfamily.org/mvnbatikplug/mvnbatikplug-repository/repo/</url>
		</repository>
</distributionManagement>
<scm>
    <connection>scm:svn:http://svn.tuxfamily.org/viewvc.cgi/mvnbatikplug_root/trunk/batik-maven-plugin</connection>
    <developerConnection>scm:svn:https://svn.tuxfamily.org/svnroot/mvnbatikplug/root/trunk/batik-maven-plugin</developerConnection>
    <url>http://svn.tuxfamily.org/viewvc.cgi/mvnbatikplug_root/trunk/batik-maven-plugin</url>
  </scm>
  <properties>
  	<batik.version>1.7</batik.version>
	<site.info.version>2.7</site.info.version>
	<site.version>3.3</site.version>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	<ftp.site.url>/mvnbatikplug/mavenbatikplugin.tuxfamily.org-web/htdocs</ftp.site.url>
	<home.site.url>http://mavenbatikplugin.tuxfamily.org/reports/batik-maven-plugin/index.html</home.site.url>
  </properties>
</project>
