<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">

	<parent>
		<groupId>ch.qos.logback</groupId>
		<artifactId>logback</artifactId>
	  <version>0.2.5</version>
	</parent>

	<modelVersion>4.0.0</modelVersion>

	<groupId>ch.qos.logback</groupId>
	<artifactId>logback-access</artifactId>
	<version>${parent.version}</version>
	<packaging>jar</packaging>
	<name>Logback Access Module</name>

	<url>http://logback.qos.ch/access</url>
	<description>
		<!-- 
			Never _never_ let Eclipse's auto format function add
			a line return in the description.
			The generated jar will contain a corrupt MANIFEST file.
		-->
		Logback: the generic, reliable, fast and flexible logging library for Java.
	</description>
	<licenses>
		<license>
			<name> GNU Lesser General Public License</name>
      		<url>http://www.gnu.org/licenses/lgpl.html</url>			
		</license>
	</licenses>	
	
	<dependencies>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-core</artifactId>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>tomcat</groupId>
			<artifactId>catalina</artifactId>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>org.mortbay.jetty</groupId>
			<artifactId>jetty</artifactId>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>com.caucho</groupId>
			<artifactId>resin</artifactId>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>org.mortbay.jetty</groupId>
			<artifactId>servlet-api-2.5</artifactId>
			<scope>compile</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>

			<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-surefire-plugin</artifactId>
				<configuration>
				<forkMode>once</forkMode>
				<reportFormat>plain</reportFormat>
				<trimStackTrace>false</trimStackTrace>
				<excludes>
				<exclude>**/AllTest.java</exclude>
				<exclude>**/PackageTest.java</exclude>
				</excludes>
				</configuration>
				</plugin>

		
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.1</version>
				<configuration>
					<descriptors>
						<descriptor>
							src/main/assembly/source.xml
						</descriptor>
					</descriptors>
					<finalName>
						logback-access-${project.version}
					</finalName>
					<appendAssemblyId>false</appendAssemblyId>
					<outputDirectory>target/site/dist/</outputDirectory>
				</configuration>
			</plugin>
			 -->
		</plugins>
		
		<!--
		<resources>
			<resource>
				<directory>src/site/xdocTemplates</directory>
				
					We're saving filtered xdocs in a temporary folder
					and telling the site plug in to get the xdocs there.
				
				<targetPath>generated-site</targetPath>
				<filtering>true</filtering>
			</resource>
		</resources> -->		
		
	</build>
	
	<!--
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<configuration>
					<xdocDirectory>
						${project.build.outputDirectory}/generated-site
					</xdocDirectory>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>
					maven-project-info-reports-plugin
				</artifactId>
				<reportSets>
					<reportSet>
						<reports>
							<report>index</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<links>
						<link>
							http://java.sun.com/j2se/1.5.0/docs/api
						</link>
					</links>
				</configuration>
			</plugin>
		</plugins>
	</reporting>
	-->

	<!-- LOGBack Access Repository ================================================ -->

	<scm>
		<connection>
			http://svn.qos.ch/repos/logback/access/trunk/
		</connection>
		<developerConnection>
			https://svn.qos.ch/repos/logback/access/trunk/
		</developerConnection>
		<url>http://svn.qos.ch/viewcvs/logback/access/trunk/</url>
	</scm>

	<!--
	<distributionManagement>
		<site>
			<id>pixie</id>
			<url>scp://pixie/var/www/logback.qos.ch/htdocs/access</url>
		</site>
	</distributionManagement> -->

</project>