<?xml version="1.0" encoding="ISO-8859-1"?>
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
	<modelVersion>4.0.0</modelVersion>
	<groupId>net.sf</groupId>
	<artifactId>microlog</artifactId>
	<version>1.1.1</version>
	<packaging>pom</packaging>

	<modules>
		<module>microlog-logger</module>
		<module>microlog-javase-tests</module>
		<module>microlog-instrument</module>
		<module>microlog-instrument-example</module>
		<module>microlog-logger-examples</module>
		<module>microlog-servers</module>
	</modules>

	<description>
		Microlog is a small logging library for Java ME (J2ME) like
		Log4j. It has support for logging to console, file, RecordStore,
		Canvas, Form, Bluetooth, a serial port (Bluetooth, IR, USB),
		Socket(incl SSL), UDP, Syslog, MMS, SMS, e-mail or to Amazon S3.
	</description>
	<url>http://microlog.sourceforge.net</url>
	<name>Microlog</name>

	<organization>
		<name>SourceForge.net Microlog</name>
		<url>http://microlog.sourceforge.net</url>
	</organization>

	<issueManagement>
		<system>SourceForge</system>
		<url>http://sourceforge.net/tracker/?group_id=138008</url>
	</issueManagement>
	<contributors>
		<contributor>
			<name>Ricardo Amores Hernández</name>
			<roles>
				<role>Contributed the CanvasAppender</role>
			</roles>
		</contributor>
		<contributor>
			<name>Marius de Beer</name>
			<roles>
				<role>
					Contributed the GPRSAppender, which is now the
					DatagramAppender.
				</role>
			</roles>
		</contributor>
		<contributor>
			<name>Diego Tognola</name>
			<roles>
				<role>Contributed with a lot of useful feedback.</role>
				<role>Some bug reports</role>
			</roles>
		</contributor>
		<contributor>
			<name>Mark Kranz</name>
			<roles>
				<role>Contributed with the Microlog4SPOT code.</role>
			</roles>
		</contributor>
		<contributor>
			<name>Jimisola Laursen</name>
			<roles>
				<role>
					Contributed with feedback and feature requests.
				</role>
			</roles>
		</contributor>
	</contributors>

	<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>

	<mailingLists>
		<mailingList>
			<name>Microlog-develop</name>
			<post>microlog-develop@lists.sourceforge.net</post>
			<subscribe>https://lists.sourceforge.net/lists/listinfo/microlog-develop</subscribe>
			<unsubscribe>https://lists.sourceforge.net/lists/listinfo/microlog-develop</unsubscribe>
			<archive>https://sourceforge.net/mailarchive/forum.php?forum_name=microlog-develop</archive>
		</mailingList>
		<mailingList>
			<name>Microlog Help Forum</name>
			<post>https://sourceforge.net/forum/forum.php?forum_id=464717</post>
		</mailingList>
		<mailingList>
			<name>Microlog Developer Forum</name>
			<post>https://sourceforge.net/forum/forum.php?forum_id=464718</post>
		</mailingList>
		<mailingList>
			<name>Microlog Open Discussion Forum</name>
			<post>https://sourceforge.net/forum/forum.php?forum_id=464716</post>
		</mailingList>
	</mailingLists>

	<scm>
		<developerConnection>
			scm:svn:https://microlog.svn.sourceforge.net/svnroot/microlog/trunk/
		</developerConnection>
	</scm>

	<developers>
		<developer>
			<name>Johan Karlsson</name>
			<id>jaywayjohan</id>
			<email>jaywayjohan@users.sourceforge.net</email>
			<organization>Jayway</organization>
			<organizationUrl>http://www.jayway.com/</organizationUrl>
			<timezone>1</timezone>
			<roles>
				<role>Founder</role>
				<role>Developer</role>
				<role>Project Admin</role>
			</roles>
		</developer>
		<developer>
			<name>Darius Katz</name>
			<id>dariuskatz</id>
			<email>dariuskatz@users.sourceforge.net</email>
			<organization>Jayway</organization>
			<organizationUrl>http://www.jayway.com/</organizationUrl>
			<timezone>1</timezone>
			<roles>
				<role>Developer</role>
				<role>Project Admin</role>
				<role>Graphical artist</role>
			</roles>
		</developer>
		<developer>
			<name>Karsten Ohme</name>
			<id>k_o_</id>
			<email>k_o_@users.sourceforge.net</email>
			<timezone>1</timezone>
			<roles>
				<role>Developer</role>
				<role>Maven specialist</role>
			</roles>
		</developer>
		<developer>
			<name>Henrik Larne</name>
			<id>henriklarne</id>
			<email>henriklarne@users.sourceforge.net</email>
			<organization>Jayway</organization>
			<organizationUrl>http://www.jayway.com/</organizationUrl>
			<timezone>1</timezone>
			<roles>
				<role>Developer</role>
			</roles>
		</developer>
	</developers>

	<repositories>
		<repository>
			<id>microlog.sourceforge.repo</id>
			<url>
				http://microlog.sourceforge.net/repo/m2-repository
			</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</repository>
		<repository>
			<id>pyx4me-web-snapshot</id>
			<url>http://www.pyx4me.com/maven2-snapshot</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</repository>
	</repositories>

	<pluginRepositories>
		<pluginRepository>
			<id>pyx4me-web</id>
			<url>http://www.pyx4me.com/maven2</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</pluginRepository>
		<pluginRepository>
			<id>maven-central</id>
			<url>repo1.maven.org/maven2</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</pluginRepository>
		<pluginRepository>
			<id>snapshot-codehouse</id>
			<url>http://snapshots.repository.codehaus.org</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<releases>
				<enabled>false</enabled>
			</releases>
		</pluginRepository>
	</pluginRepositories>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.microemu</groupId>
				<artifactId>microemulator</artifactId>
				<version>2.0.3-SNAPSHOT</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.microemu</groupId>
				<artifactId>microemu-javase-swing</artifactId>
				<version>2.0.3-SNAPSHOT</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.microemu</groupId>
				<artifactId>microemu-cldc</artifactId>
				<version>2.0.3-SNAPSHOT</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.microemu</groupId>
				<artifactId>microemu-midp</artifactId>
				<version>2.0.3-SNAPSHOT</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>net.sf.bluecove</groupId>
				<artifactId>bluecove</artifactId>
				<version>2.0.3</version>
				<scope>provided</scope>
			</dependency>

			<!-- JSR 211 -->
			<dependency>
				<groupId>com.sun.wtk</groupId>
				<artifactId>jsr211</artifactId>
				<version>2.2</version>
				<scope>system</scope>
				<systemPath>${wtk.home}/lib/jsr211.jar</systemPath>
			</dependency>

			<dependency>
				<groupId>com.sun.wtk</groupId>
				<artifactId>jsr082</artifactId>
				<version>2.2</version>
				<scope>system</scope>
				<systemPath>${wtk.home}/lib/jsr082.jar</systemPath>
			</dependency>

			<dependency>
				<groupId>org.microemu</groupId>
				<artifactId>microemu-jsr-135</artifactId>
				<version>2.0.3-SNAPSHOT</version>
				<scope>provided</scope>
			</dependency>

			<!-- FileConnection API -->
			<dependency>
				<groupId>com.sun.wtk</groupId>
				<artifactId>jsr75</artifactId>
				<version>2.2</version>
				<scope>system</scope>
				<systemPath>${wtk.home}/lib/jsr75.jar</systemPath>
			</dependency>

			<!-- WMA 2.0 API -->
			<dependency>
				<groupId>com.sun.wtk</groupId>
				<artifactId>wma20</artifactId>
				<version>2.2</version>
				<scope>system</scope>
				<systemPath>${wtk.home}/lib/wma20.jar</systemPath>
			</dependency>

			<!-- S3 -->
			<dependency>
				<groupId>com.amazonaws</groupId>
				<artifactId>S3</artifactId>
				<version>0.1</version>
			</dependency>

			<dependency>
				<groupId>com.pyx4me</groupId>
				<artifactId>cldcunit-instrument</artifactId>
				<version>2.0.3-SNAPSHOT</version>
			</dependency>

			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>4.5</version>
				<scope>test</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<distributionManagement>
		<repository>
			<id>microlog.sourceforge.repo</id>
			<name>MicroLog SourceForge Repo</name>
			<url>
				scp://shell.sourceforge.net/home/groups/m/mi/microlog/htdocs/repo/m2-repository
			</url>
		</repository>
		<snapshotRepository>
			<id>microlog.sourceforge.snapshot.repo</id>
			<name>MicroLog SourceForge Snapshot Repo</name>
			<url>
				scp://shell.sourceforge.net/home/groups/m/mi/microlog/htdocs/repo/m2-snapshot-repository
			</url>
		</snapshotRepository>
		<site>
			<id>microlog.sourceforge.site</id>
			<name>MicroLog SourceForge Site</name>
			<url>
				scp://shell.sourceforge.net/home/groups/m/mi/microlog/htdocs/snapshot
			</url>
		</site>
	</distributionManagement>

	<!-- Properties -->
	<properties>
		<!--me-version-->
		<me2Version>2.0.3-SNAPSHOT</me2Version>
		<wtk.home>${env.WTK_HOME}</wtk.home>
		<j2me.midlet.vendor>
			${project.organization.name}
		</j2me.midlet.vendor>
		<j2me.midlet.name>${project.name}</j2me.midlet.name>
		<j2me.midlet.version>${project.version}</j2me.midlet.version>
		<j2me.midlet.configuration>CLDC-1.1</j2me.midlet.configuration>
		<j2me.midlet.profile>MIDP-2.0</j2me.midlet.profile>

		<wtk.bluetooth.enabled>true</wtk.bluetooth.enabled>
		<wtk.wma.enabled>true</wtk.wma.enabled>
		<wtk.wma.version>2.0</wtk.wma.version>
		<wtk.locationservices.enabled>
			true
		</wtk.locationservices.enabled>
		<wtk.optionalpda.enabled>true</wtk.optionalpda.enabled>
	</properties>

	<!-- Build plugins -->
	<build>
		<!-- For SSH distribution -->
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ssh</artifactId>
				<version>1.0-beta-2</version>
			</extension>
		</extensions>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
				<version>2.0-SNAPSHOT</version>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>

			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<!-- replaces useful information  -->
					<execution>
						<id>site-process-version</id>
						<phase>site</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<tasks>
								<echo message="Replacing information in HTML" />
								<!-- Set build number -->
								<replace dir="${project.build.directory}/site">
									<include name="*.html"></include>
									<replacefilter token="#version#" value="${version}" />
								</replace>
							</tasks>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<!--
				Installs the jar on the phone, see
				http://pyx4me.com/snapshot/pyx4me/pyx4me-maven-plugins/obex-maven-plugin/
			-->
			<plugin>
				<groupId>com.pyx4me</groupId>
				<artifactId>obex-maven-plugin</artifactId>
				<configuration>
					<jarfile>${artifactId}-${version}-test.jar</jarfile>
				</configuration>
			</plugin>

			<!-- Specifies test settings -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
			</plugin>
			<!-- build java doc artifact -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<executions>
					<execution>
						<id>create-javadocjar</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<!-- build java sources artifact -->
			<plugin>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>create-sourcejar</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-site-plugin</artifactId>
				<version>2.0-beta-7</version>
			</plugin>
			<plugin>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.0-beta-8</version>
				<configuration>
					<!--
						During release:perform, enable the "release" profile
					-->
					<autoVersionSubmodules>true</autoVersionSubmodules>
					<preparationGoals>clean install</preparationGoals>
					<releaseProfiles>release</releaseProfiles>
					<goals>deploy</goals>
					<tag>release-${version}</tag>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<!-- JavaDoc -->
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
				<version>2.0-SNAPSHOT</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<quiet>true</quiet>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jxr-maven-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
			</plugin>
		</plugins>
	</reporting>


	<!-- Build without running tests -->
	<profiles>
		<!-- profile to release the site to the release site -->
		<profile>
			<id>release</id>
			<distributionManagement>
				<site>
					<id>microlog.sourceforge.site</id>
					<name>MicroLog SourceForge Site</name>
					<url>
						scp://shell.sourceforge.net/home/groups/m/mi/microlog/htdocs/site
					</url>
				</site>
			</distributionManagement>
		</profile>
		<profile>
			<id>notest</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-surefire-plugin</artifactId>
						<configuration>
							<skip>true</skip>
						</configuration>
					</plugin>
				</plugins>
			</build>
			<properties>
				<maven.test.skip>true</maven.test.skip>
			</properties>
		</profile>
	</profiles>
</project>

