<?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">
  <parent>
    <artifactId>opennms</artifactId>
    <groupId>org.opennms</groupId>
    <version>1.9.94-RRP-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>opennms-qosdaemon</artifactId>
  <name>OpenNMS OSS-J interface</name>
  <!--  <packaging>jar</packaging> -->
  <url>http://sourceforge.net/projects/opennms</url>
  <description>
    This project builds an OSS/J interface for OpenNMS.
  </description>
  <inceptionYear>2006</inceptionYear>
  <developers>
    <developer>
      <id>cgallen</id>
      <name>Craig Gallen</name>
      <email>cgallen at sourceforge.net</email>
      <roles>
        <role>Project Lead</role>
      </roles>
      <organization>University Of Southampton</organization>
      <timezone>-0</timezone>
    </developer>
    <developer>
      <id>dhustace</id>
      <name>David Hustace</name>
      <email>dhustace at opennms.org</email>
      <roles>
        <role>Developer- OpenNMS Alarm Handling</role>
      </roles>
      <organization>OpenNMS Inc</organization>
    </developer>
  </developers>
  <contributors>
    <contributor>
      <name>Tim Griffith</name>
      <organization>University Of Southampton</organization>
      <roles>
        <role>Developer</role>
      </roles>
    </contributor>
    <contributor>
      <name>Gavin Willingham</name>
      <organization>University Of Southampton</organization>
      <roles>
        <role>Developer</role>
      </roles>
    </contributor>
    <contributor>
      <name>Nick Dance</name>
      <organization>University Of Southampton</organization>
    </contributor>
    <contributor>
      <name>Paul Hickman</name>
      <organization>University Of Southampton</organization>
      <roles>
        <role>Developer</role>
      </roles>
    </contributor>
    <contributor>
      <name>Jeff Reeve</name>
      <organization>University Of Southampton</organization>
    </contributor>
    <contributor>
      <name>Ricky Spaven</name>
      <organization>University Of Southampton</organization>
    </contributor>
    <contributor>
      <name>Paolo Imbalzano</name>
      <organization>Invocom Plc</organization>
    </contributor>
    <contributor>
      <name>Don Keir</name>
      <organization>Sidonis Plc</organization>
    </contributor>
    <contributor>
      <name>Martin Hobbs</name>
      <organization>Sidonis Plc</organization>
    </contributor>
    <contributor>
      <name>Bob Potter</name>
      <organization>Arqiva Plc</organization>
    </contributor>
    <contributor>
      <name>Cliff C. Faurer</name>
      <organization>Automagic llc</organization>
    </contributor>
    <contributor>
      <name>Matt Brozowski</name>
      <organization>OpenNMS Inc</organization>
    </contributor>
    <contributor>
      <name>Tarus Balog</name>
      <organization>OpenNMS Inc</organization>
    </contributor>
  </contributors>
  <licenses>
    <license>
      <name>GNU General Public License</name>
      <url>http://www.fsf.org/licensing/licenses/gpl.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <!-- 
       This project builds an OSS/J interface for OpenNMS.
       It is released with OpenNMS under the GPL liscence
       It uses code contributed by the University of Southampton
       
       This project leverages the OSSbeans project.
       See http://sourceforge.net/projects/openoss
       OSSbeans are released under the Apache-2 liscence by the 
       University of Southampton
    -->
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.opennms.core.build</groupId>
        <artifactId>castor-maven-plugin</artifactId>
      </plugin>

      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptors>
            <descriptor>src/assembly/xsds.xml</descriptor>
          </descriptors>
        </configuration>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <systemPropertyVariables>
            <qosd.config.directory>${project.build.testOutputDirectory}</qosd.config.directory>
          </systemPropertyVariables>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.7</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jxr-maven-plugin</artifactId>
        <version>2.2</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.2</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>dependencies</report>
              <report>project-team</report>
              <report>mailing-list</report>
              <!--
                Continuous Integration report will be omitted
                <report>cim</report>

                Issue tracking report will be omitted
                <report>issue-tracking</report>
              -->
              <report>license</report>
              <report>scm</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      
    </plugins>
  </reporting>
  
  <dependencies>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>org.openoss</groupId>
      <artifactId>OSSbeans-xml</artifactId>
      <scope>compile</scope>
      <exclusions>
        <exclusion><groupId>org.springframework</groupId><artifactId>spring</artifactId></exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.openoss</groupId>
      <artifactId>OSSbeans-qos-ejb</artifactId>
      <exclusions>
        <exclusion><groupId>org.springframework</groupId><artifactId>spring</artifactId></exclusion>
      </exclusions>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>org.opennms.dependencies</groupId>
      <artifactId>castor-dependencies</artifactId>
      <type>pom</type>
    </dependency>

    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-dao</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-model</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms.dependencies</groupId>
      <artifactId>spring-dependencies</artifactId>
      <type>pom</type>
    </dependency>
    
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-services</artifactId>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>jbossmq-client</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>jboss-j2ee</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>jboss-client</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>jboss-common</artifactId>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>xmlbeans</groupId>
      <artifactId>xbean</artifactId>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>stax</groupId>
      <artifactId>stax-api</artifactId>
      <scope>compile</scope>
    </dependency>
    
    <!-- 
      <dependency>
        <groupId>xmlbeans</groupId>
        <artifactId>xmlbeans-jsr173-api</artifactId>
        <scope>compile</scope>
      </dependency>
    -->
    <!-- alternative download from BEA site
      <dependency>
        <groupId>javax.xml</groupId>
        <artifactId>jsr173</artifactId>
        <scope>compile</scope>
      </dependency>
    -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-test</artifactId>
    </dependency>
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-rrd-jrobin</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms.core.test-api</groupId>
      <artifactId>org.opennms.core.test-api.http</artifactId>
    </dependency>
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-dao</artifactId>
      <type>test-jar</type>
    </dependency>
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-services</artifactId>
      <type>test-jar</type>
    </dependency>
    <dependency>
      <groupId>org.opennms.tests</groupId>
      <artifactId>org.opennms.tests.mock-elements</artifactId>
    </dependency>
    
    
  </dependencies>
  
  <dependencyManagement>
    <dependencies>
      <!--  external dependencies -->
      <!--  PLEASE KEEP THESE IN ALPHABETICAL ORDER -->
      
      <dependency>
        <groupId>jboss</groupId>
        <artifactId>jbossmq-client</artifactId>
        <version>4.0.2</version>
      </dependency>
      <dependency>
        <groupId>jboss</groupId>
        <artifactId>jboss-j2ee</artifactId>
        <version>4.0.2</version>
      </dependency>
      <dependency>
        <groupId>jboss</groupId>
        <artifactId>jboss-client</artifactId>
        <version>4.0.2</version>
      </dependency>
      <dependency>
        <groupId>jboss</groupId>
        <artifactId>jboss-common</artifactId>
        <version>4.0.2</version>
      </dependency>
      
      <dependency>
        <groupId>org.openoss</groupId>
        <artifactId>OSSbeans-qos-ejb</artifactId>
        <version>2.1.0</version>
      </dependency>
      <dependency>
        <groupId>org.openoss</groupId>
        <artifactId>OSSbeans-xml</artifactId>
        <version>2.1.0</version>
      </dependency>
      
      <!-- recommended to try stax api instead of jsr173 
           see: http://www.mail-archive.com/dev@xmlbeans.apache.org/msg00926.html -->
      <dependency>
        <groupId>stax</groupId>
        <artifactId>stax-api</artifactId>
        <version>1.0.1</version>
      </dependency>
      
      <dependency>
        <groupId>xmlbeans</groupId>
        <artifactId>xbean</artifactId>
        <version>2.1.0</version>
      </dependency>
      
      
      <!-- needs downloaded manually from bea site 
           <dependency>
             <groupId>javax.xml</groupId>
             <artifactId>jsr173</artifactId>
             <version>1.0</version>
           </dependency>
           -->
      
      <!-- needs downloaded manually from xmlbeans site 
           <dependency>
             <groupId>xmlbeans</groupId>
             <artifactId>xmlbeans-jsr173-api</artifactId>
             <version>1.0</version>
           </dependency>
           -->
      
    </dependencies>
    
  </dependencyManagement>
  
  <repositories>
    <repository>
      <snapshots><enabled>false</enabled><updatePolicy>${updatePolicy}</updatePolicy></snapshots>
      <releases><enabled>true</enabled><updatePolicy>${updatePolicy}</updatePolicy></releases>
      <id>sourceforge</id>
      <name>Sourceforge OSSbeans Release Repository</name>
      <url>http://maven.opennms.org/content/groups/openoss.sourceforge.net-release</url>
    </repository>
  </repositories>
  
</project>
