<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/xsd/maven-4.0.0.xsd">


	<!-- ================================================================== -->
	<!-- PROJECT                                                            -->
	<!-- ================================================================== -->

	<groupId>net.sf.snmpadaptor4j</groupId>
	<artifactId>snmpAdaptor4j</artifactId>
	<packaging>pom</packaging>
	<version>1.1</version>
	<modelVersion>4.0.0</modelVersion>


	<!-- ================================================================== -->
	<!-- PARENT                                                             -->
	<!-- ================================================================== -->

	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>


	<!-- ================================================================== -->
	<!-- PROJECT INFORMATIONS                                               -->
	<!-- ================================================================== -->

	<name>snmpAdaptor4j</name>
	<description>
	  snmpAdaptor4j is an adaptor for Java Management eXtensions (JMX) 
	  providing a simple access to MBeans via the SNMP protocol. Thus, this 
	  adapter you allow to connect most monitoring tools (like Nagios and 
	  Cacti) to your Java applications.
	  For each MBean, an XML mapping file allows to establish the 
	  relationships between attributes and the MIB of the SNMP adapter. No 
	  additional code is necessary to integrate the MBeans in the SNMP 
	  protocol.
	  This adapter can work in a multi-applications environment (such as 
	  application servers).
	</description>
	<url>http://snmpadaptor4j.sourceforge.net</url>
	<inceptionYear>2012</inceptionYear>
	<licenses>
		<license>
			<name>GNU Lesser General Public License v3.0</name>
			<url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
		</license>
	</licenses>
	<issueManagement>
		<system>SourceForge</system>
		<url>http://sourceforge.net/p/snmpadaptor4j/tickets/</url>
	</issueManagement>
	<prerequisites>
		<maven>2.0</maven>
	</prerequisites>
	<scm>
		<connection>scm:svn:svn://svn.code.sf.net/p/snmpadaptor4j/code/tags/v1.1</connection>
		<developerConnection>scm:svn:https://svn.code.sf.net/p/snmpadaptor4j/code/tags/v1.1</developerConnection>
		<url>scm:svn:http://svn.code.sf.net/p/snmpadaptor4j/code/tags/v1.1</url>
	</scm>
	<ciManagement>
		<system>continuum</system>
		<url />
		<notifiers>
			<notifier>
				<type>mail</type>
				<address>jp@minetti.org</address>
				<sendOnError>true</sendOnError>
				<sendOnFailure>true</sendOnFailure>
				<sendOnWarning>true</sendOnWarning>
			</notifier>
		</notifiers>
	</ciManagement>
	<mailingLists>
		<mailingList>
			<name>General public informations</name>
			<subscribe>https://lists.sourceforge.net/lists/listinfo/snmpadaptor4j-public</subscribe>
			<unsubscribe>https://lists.sourceforge.net/lists/listinfo/snmpadaptor4j-public</unsubscribe>
			<post>snmpadaptor4j-public@lists.sourceforge.net</post>
			<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=snmpadaptor4j-public</archive>
		</mailingList>
	</mailingLists>


	<!-- ================================================================== -->
	<!-- ORGANIZATION INFORMATIONS                                          -->
	<!-- ================================================================== -->

	<organization>
		<name>snmpAdaptor4j</name>
		<url>http://snmpadaptor4j.sourceforge.net</url>
	</organization>
	<developers>
		<developer>
			<id>jpm34</id>
			<name>Jean-Philippe MINETTI</name>
			<email>jp@minetti.org</email>
			<url>http://jpm34.users.sourceforge.net/</url>
			<roles>
				<role>Administrator</role>
				<role>Project manager</role>
				<role>Architect</role>
				<role>Developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
	</developers>


	<!-- ================================================================== -->
	<!-- PROPERTIES                                                         -->
	<!-- ================================================================== -->

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>


	<!-- ================================================================== -->
	<!-- BUILD                                                              -->
	<!-- ================================================================== -->
  
	<build>

		<testResources>
			<testResource>
				<directory>${basedir}/src/test/java</directory>
				<includes>
					<include>**/*.snmp.xml</include>
				</includes>
			</testResource>
			<testResource>
				<directory>${basedir}/src/test/resources</directory>
				<includes>
					<include>**/*</include>
				</includes>
			</testResource>
		</testResources>	

		<resources>
			<resource>
				<directory>${basedir}/src/main/java</directory>
				<includes>
					<include>**/*.snmp.xml</include>
				</includes>
			</resource>
			<resource>
				<directory>${basedir}/src/main/resources</directory>
				<includes>
					<include>**/*</include>
				</includes>
			</resource>
		</resources>	

		<pluginManagement>
			<plugins>

				<!-- JavaDoc generator -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-javadoc-plugin</artifactId>
					<version>2.7</version>
				</plugin>

				<!-- Deployment -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-deploy-plugin</artifactId>
					<version>2.7</version>
				</plugin>

				<!-- Java compilator -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>2.3.2</version>
				</plugin>

				<!-- Web site generation and deployment -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-site-plugin</artifactId>
					<version>3.0</version>
				</plugin>

				<!-- Source creation -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-source-plugin</artifactId>
					<version>2.1.2</version>
				</plugin>

				<!-- JAR file generator -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jar-plugin</artifactId>
					<version>2.3.1</version>
				</plugin>

				<!-- Application compressing -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
					<version>2.2.1</version>
				</plugin>

				<!-- Cleaning -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-clean-plugin</artifactId>
					<version>2.4.1</version>
				</plugin>

				<!-- Dependencies managing -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-dependency-plugin</artifactId>
					<version>2.1</version>
				</plugin>

				<!-- Installation -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-install-plugin</artifactId>
					<version>2.3.1</version>
				</plugin>

				<!-- Resources -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-resources-plugin</artifactId>
					<version>2.5</version>
				</plugin>

				<!-- Unit test executor -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>2.12</version>
				</plugin>

				<!-- Test coverage report generator -->
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>cobertura-maven-plugin</artifactId>
					<version>2.5.1</version>
				</plugin>

				<!-- Application assembling -->
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>appassembler-maven-plugin</artifactId>
					<version>1.2</version>
				</plugin>

			</plugins>
		</pluginManagement>

		<plugins>
    
			<!-- Java compilation -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<debug>false</debug>
				</configuration>
			</plugin>

			<!-- Surefire report generator -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<testFailureIgnore>true</testFailureIgnore>
					<excludes>
						<exclude>**/AllTests.java</exclude>
					</excludes>
				</configuration>
			</plugin>

			<!-- Binary JAR file generator -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>
						<manifest>
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
							<addClasspath>true</addClasspath>
						</manifest>
						<manifestEntries>
							<Built-By>${manifest.builtby}</Built-By>
							<url>http://snmpadaptor4j.sourceforge.net/</url>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>

			<!-- Source & test JAR file generator -->
 			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<configuration>
					<outputDirectory>${project.build.directory}</outputDirectory>
					<finalName>${project.build.finalName}</finalName>
				</configuration>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
							<goal>test-jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			
			<!-- Web site generation and deployment -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<dependencies>
					<dependency>
						<groupId>org.apache.maven.wagon</groupId>
						<artifactId>wagon-ssh</artifactId>
						<version>1.0-beta-7</version>
					</dependency>
				</dependencies>
			</plugin>

			<!-- Deployment to Maven repository -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<dependencies>
					<dependency>
						<groupId>org.apache.maven.wagon</groupId>
						<artifactId>wagon-ssh</artifactId>
						<version>1.0-beta-7</version>
					</dependency>
				</dependencies>
			</plugin>

			<!-- Cobertura test coverage report generator -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>clean</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<!-- JavaDoc generator -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
			</plugin>

			<!-- Releasing -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
			</plugin>

		</plugins>

	</build>


	<!-- ================================================================== -->
	<!-- PROFILES                                                           -->
	<!-- ================================================================== -->

	<profiles>

		<!-- Profile for release:perform -->
		<profile>
			<id>release-sign-artifacts</id>
			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>

					<!-- GPG -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
								<configuration>
									<passphrase>${gpg.passphrase}</passphrase>
								</configuration>
							</execution>
						</executions>
					</plugin>

				</plugins>
			</build>
		</profile>		
	</profiles>


	<!-- ================================================================== -->
	<!-- REPORT GENERATIONS                                                 -->
	<!-- ================================================================== -->

	<reporting>
	
		<plugins>

			<!-- Distribution Management	-->
			<!-- About						-->
			<!-- Dependencies				-->
			<!-- Issue Tracking				-->
			<!-- Project Plugins			-->
			<!-- Continuous Integration		-->
			<!-- Project License			-->
			<!-- Dependency Management		-->
			<!-- Mailing Lists				-->
			<!-- Project Team				-->
			<!-- Dependency Convergence		-->
			<!-- Source Repository			-->
			<!-- Plugin Management			-->
			<!-- Project Modules			-->
			<!-- Project Summary			-->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.4</version>
			</plugin>

			<!-- Surefire report (unit test result) -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
				<version>2.12</version>
			</plugin>

			<!-- Cobertura test coverage report -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<formats>
						<format>html</format>
						<format>xml</format>
					</formats>
				</configuration>
			</plugin>

			<!-- JDepend report -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jdepend-maven-plugin</artifactId>
				<version>2.0-beta-2</version>
			</plugin>

			<!-- JavaDocs -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.7</version>
				<reportSets>
					<reportSet>
						<id>html</id>
						<reports>
							<report>javadoc</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>

			<!-- Source Xref report -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jxr-plugin</artifactId>			
				<version>2.3</version>
			</plugin>

			<!-- Taglist report -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>taglist-maven-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<tagListOptions>
						<tagClasses>
							<tagClass>
								<displayName>Todo tags</displayName>
								<tags>
									<tag>
										<matchString>todo</matchString>
										<matchType>ignoreCase</matchType>
									</tag>
								</tags>
							</tagClass>
							<tagClass>
								<displayName>Fix tags</displayName>
								<tags>
									<tag>
										<matchString>FIXME</matchString>
                    					<matchType>exact</matchType>
									</tag>
								</tags>
							</tagClass>
							<tagClass>
								<displayName>Deprecated tags</displayName>
								<tags>
									<tag>
										<matchString>@deprecated</matchString>
										<matchType>exact</matchType>
									</tag>
								</tags>
							</tagClass>
						</tagClasses>
					</tagListOptions>
				</configuration>
			</plugin>

		</plugins>

	</reporting>


	<!-- ================================================================== -->
	<!-- DISTRIBUTION MANAGEMENT                                            -->
	<!-- ================================================================== -->
  
	<distributionManagement>
  
		<!-- Access for deployment to the project website (sourceforge.net) 	-->
		<!-- For this to work, you must type the command: 						-->
		<!--    ssh -t <username>,snmpadaptor4j@shell.sourceforge.net create	-->
		<site>
			<id>snmpadaptor4j.sourceforge.net</id>
			<name>http://snmpadaptor4j.sourceforge.net/maven/</name>
			<url>scp://shell.sourceforge.net/home/project-web/snmpadaptor4j/htdocs/maven</url>
		</site>

		<!-- Download URL -->
		<downloadUrl>https://sourceforge.net/projects/snmpadaptor4j/files/latest/download</downloadUrl>
    
	</distributionManagement>


	<!-- ================================================================== -->
	<!-- DEPENDENCY MANAGEMENT                                              -->
	<!-- ================================================================== -->

	<dependencyManagement>
		<dependencies>

			<!-- Log4J -->
			<dependency>
				<groupId>log4j</groupId>
				<artifactId>log4j</artifactId>
				<version>1.2.16</version>
			</dependency>

			<!-- joesnmp -->
			<dependency>
				<groupId>net.sf.joesnmp</groupId>
				<artifactId>joesnmp</artifactId>
				<version>0.3.4</version>
			</dependency>

		</dependencies>
	</dependencyManagement>


	<!-- ================================================================== -->
	<!-- DEPENDENCIES                                                       -->
	<!-- ================================================================== -->

	<dependencies>

		<!-- JUnit -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.4</version>
			<scope>test</scope>
		</dependency>

		<!-- EasyMock -->
		<dependency>
			<groupId>org.easymock</groupId>
			<artifactId>easymock</artifactId>
			<version>3.1</version>
			<scope>test</scope>
		</dependency>

	</dependencies>


	<!-- ================================================================== -->
	<!-- MODULES                                                            -->
	<!-- ================================================================== -->

	<modules>

		<!-- Library -->
		<module>snmpAdaptor4j-jmx</module>

		<!-- Example -->
		<module>snmpAdaptor4j-example</module>

	</modules>


</project>