<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">
 <!-- -Dmaven.test.skip=true -->
  <modelVersion>4.0.0</modelVersion>
  <groupId>net.sourceforge</groupId>
  <artifactId>jwbf</artifactId>
  <packaging>jar</packaging>
  <name>JWBF</name>
  <version>1.3.3</version>
  <description>Java Wiki Bot Framework - A Wiki helper</description>
  <url>http://jwbf.sourceforge.net/</url>
  <issueManagement>
  	<system>Sourceforge</system>
  	<url>http://sourceforge.net/tracker/?group_id=192186</url>
  </issueManagement>
  <developers>
  </developers>
  <scm>
  	<connection>scm:svn:https://jwbf.svn.sourceforge.net/svnroot/jwbf/tags/jwbf-1.3.3</connection>
  	<tag>HEAD</tag>
  	<url>http://jwbf.svn.sourceforge.net/viewvc/jwbf/tags/jwbf-1.3.3</url>
  </scm>
  <licenses>
  <license>
    <name>Apache 2</name>
    <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    <distribution>repo</distribution>
    <comments>A business-friendly OSS license</comments>
  </license>
</licenses>
  <build>
  	<sourceDirectory>src</sourceDirectory>
  	<testSourceDirectory>test</testSourceDirectory>
  	<outputDirectory>bin</outputDirectory>
  	<resources>
  	</resources>
 
  	<plugins>
	<plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-site-plugin</artifactId>
		<version>2.0-beta-7</version>
		<configuration>
          <templateFile>${basedir}/util/resources/default-site.vm</templateFile>
        </configuration>
	</plugin>
	<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.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>

				<configuration>
					<archive>
						<addMavenDescriptor>false</addMavenDescriptor>
            			<manifestFile>${project.build.directory}/MANIFEST.MF</manifestFile>
         	 		</archive>
				</configuration>

				<executions>
					<execution>
						<id>core</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
						<configuration>
							<classesDirectory>
								${project.build.outputDirectory}
							</classesDirectory>
							<classifier>core</classifier>
							<archive>
								<addMavenDescriptor>false</addMavenDescriptor>
            					<manifestFile>${project.build.directory}/MANIFEST.MF</manifestFile>
         	 				</archive>
							<includes>
								<include>net/sourceforge/jwbf/JWBF*</include>
								<include>net/sourceforge/jwbf/core/**</include>
							</includes>
						</configuration>
					</execution>
					<execution>
						<id>mediawiki</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
						<configuration>
							<classesDirectory>
								${project.build.outputDirectory}
							</classesDirectory>
							<classifier>mediawiki</classifier>
							<archive>
								<addMavenDescriptor>false</addMavenDescriptor>
            					<manifestFile>${project.build.directory}/MANIFEST.MF</manifestFile>
         	 				</archive>
							<includes>
								<include>net/sourceforge/jwbf/JWBF*</include>
								<include>net/sourceforge/jwbf/core/**</include>
								<include>net/sourceforge/jwbf/mediawiki/**</include>
							</includes>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<inherited>true</inherited>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
			  <inherited>true</inherited>
			  <groupId>org.apache.maven.plugins</groupId>
			  <artifactId>maven-javadoc-plugin</artifactId>
			  <executions>
			    <execution>
			      <id>attach-javadocs</id>
			      <goals>
			        <goal>jar</goal>
			      </goals>
			    </execution>
			  </executions>
			</plugin>
  		<plugin>
  		
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-antrun-plugin</artifactId>
		<version>1.3</version>
		<executions>
			<execution>
				<id>antexternal</id>
				<phase>package</phase>
				<goals>
					<goal>run</goal>
				</goals>
            <configuration>
              <tasks>
                <echo>Build Dir: ${project.build.directory}</echo>
                <echo>${java.home}</echo>

                <property name="classpath.compile" refid="maven.compile.classpath" />
                <property name="runtime_classpath" refid="maven.runtime.classpath" />
                <property name="classpath.test" refid="maven.test.classpath" />
                <property name="plugin_classpath" refid="maven.plugin.classpath" />
				<property name="target" value="${project.build.directory}" />
				<property name="version" value="${project.version}" />
				<property name="artifactId" value="${project.artifactId}" />

              <ant antfile="${basedir}/build-mvn.xml" inheritRefs="true">
                  <target name="package" />
                </ant>
              
              </tasks>
            </configuration>
				
			</execution>
			<execution>
				<id>antmanifest</id>
				<phase>compile</phase>
				<goals>
					<goal>run</goal>
				</goals>
				<configuration>
              <tasks>
                <echo>Build Dir: ${project.build.directory}</echo>
                <echo>${java.home}</echo>

                <property name="classpath.compile" refid="maven.compile.classpath" />
                <property name="runtime_classpath" refid="maven.runtime.classpath" />
                <property name="classpath.test" refid="maven.test.classpath" />
                <property name="plugin_classpath" refid="maven.plugin.classpath" />
				<property name="target" value="${project.build.directory}" />
				<property name="version" value="${project.version}" />
				<property name="artifactId" value="${project.artifactId}" />

              <ant antfile="${basedir}/build-mvn.xml" inheritRefs="true">
                  <target name="manifest" />
                </ant>
              
              </tasks>
            </configuration>
			</execution>
		</executions>
		
		<dependencies>
                <dependency>
                 <groupId>sun.jdk</groupId>
                 <artifactId>tools</artifactId>
                 <version>1.5</version>
                 <scope>system</scope>
                 <systemPath>${java.home}/../lib/tools.jar</systemPath>
         </dependency>

                <dependency>
                 <groupId>org.apache.ant</groupId>
                 <artifactId>ant-apache-oro</artifactId>
                 <version>1.7.1</version>
                 <scope>compile</scope>
         </dependency>
         </dependencies>
	</plugin>
  	</plugins>
  	<extensions>
  	</extensions>

  	
  </build>
  <profiles>
  </profiles>
  <dependencies>
  	 	<dependency>
  		<groupId>junit</groupId>
  		<artifactId>junit</artifactId>
  		<version>4.7</version>
  		<type>jar</type>
  		<scope>test</scope>
  	</dependency>
  	 	<dependency>
  		<groupId>org.jdom</groupId>
  		<artifactId>jdom</artifactId>
  		<version>1.1</version>
  		<type>jar</type>
  		<scope>compile</scope>
  	</dependency>
  	 	<dependency>
  		<groupId>log4j</groupId>
  		<artifactId>log4j</artifactId>
  		<version>1.2.14</version>
  		<type>jar</type>
  		<scope>compile</scope>
  	</dependency>
  	 	<dependency>
  	 		<groupId>org.apache.httpcomponents</groupId>
  	 		<artifactId>httpclient</artifactId>
  	 		<version>4.0</version>
  	 		<type>jar</type>
  	 		<scope>compile</scope>
  	 	</dependency>
  	 	<dependency>
  	 		<groupId>org.apache.httpcomponents</groupId>
  	 		<artifactId>httpmime</artifactId>
  	 		<version>4.0</version>
  	 		<type>jar</type>
  	 		<scope>compile</scope>
  	 	</dependency>
  </dependencies>
  <reporting>
  	<plugins>
  		<plugin>
  			<groupId>org.apache.maven.plugins</groupId>
  			<artifactId>maven-javadoc-plugin</artifactId>
  		</plugin>
  		<plugin>
  			<groupId>org.apache.maven.plugins</groupId>
  			<artifactId>maven-surefire-report-plugin</artifactId>

  		</plugin>
  		<plugin>
  			<groupId>org.codehaus.mojo</groupId>
  			<artifactId>taglist-maven-plugin</artifactId>
  			<configuration>
                       <tags>
                           <tag>TODO</tag>
                           <tag>FIXME</tag>
                           <tag>REFACTOR</tag>
                           <tag>@deprecated</tag>
                       </tags>
                  </configuration>

  		</plugin>
  	</plugins>
  </reporting>
  <distributionManagement>
  	<repository>
  	 <id>sourceforge.net</id>
      <url>sftp://web.sourceforge.net/home/groups/j/jw/jwbf/m2repo-release</url>
  	
  	</repository>
  	<snapshotRepository>
  		<id>sourceforge.net</id>
  		<url>sftp://web.sourceforge.net/home/groups/j/jw/jwbf/m2repo-snapshot</url>
  		<uniqueVersion>true</uniqueVersion>
  	</snapshotRepository>
  </distributionManagement>
</project>
