<?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">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.coosproject</groupId>
    <artifactId>coos-parent</artifactId>
    <packaging>pom</packaging>
    <version>1.3.1</version>
    <name>Coos parent</name>
    <url>http://www.coosproject.org/</url>
    <description>
    COOS is a general purpose, modular, pluggable and
    distributable, open source middleware platform written in Java;
    designed for connecting both service and device objects that
    communicate via messages and enabling monitoring and management.
  </description>
    <licenses>
        <license>
            <name>GNU Lesser General Public License</name>
            <url>http://www.gnu.org/licenses/lgpl.html</url>
        </license>
    </licenses>
    <properties>
        <pax-runner-version>1.7.1</pax-runner-version>
        <xmlbeans-version>1.0.0</xmlbeans-version>
        <osgi-version>1.0</osgi-version>
        <coos.version>1.3.1</coos.version>
        <site.id>coos.sf.net</site.id>
        <site.url>scp://shell.sourceforge.net/home/groups/c/co/coos/htdocs/maven-site/${project.version}/
    </site.url>
        <!-- Set encoding to avoid using platform dependent encoding -->
        <project.build.sourceEncoding>
      UTF-8
    </project.build.sourceEncoding>
        <project.reporting.outputEncoding>
      UTF-8
    </project.reporting.outputEncoding>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.coosproject.api</groupId>
                <artifactId>coos-api</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject</groupId>
                <artifactId>actorframe-j2se</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject</groupId>
                <artifactId>util-j2se</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject.messaging</groupId>
                <artifactId>actorframe-container</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject.messaging</groupId>
                <artifactId>messaging-lib</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject.extender</groupId>
                <artifactId>coos-extender</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject.messaging</groupId>
                <artifactId>simpleEndpoint-impl</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject.plugins</groupId>
                <artifactId>notificationbroker-impl</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.7</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>1.5.10</version>
            </dependency>
            <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-classic</artifactId>
                <version>0.9.18</version>
            </dependency>
            <dependency>
                <groupId>org.coosproject.messaging.org.apache.xmlbeans</groupId>
                <artifactId>org.apache.xmlbeans.xmlbeans</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>org.osgi</groupId>
                <artifactId>osgi_R4_core</artifactId>
                <version>${osgi-version}</version>
            </dependency>
            <dependency>
                <groupId>org.osgi</groupId>
                <artifactId>osgi_R4_compendium</artifactId>
                <version>${osgi-version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.bundlerepository</artifactId>
            <version>1.4.2</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.5</version>
                <configuration>
                    <!--
            <aggregate>false</aggregate> true = generate one common for
            all subprojects
          -->
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>taglist-maven-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <tags>
                        <tag>TODO</tag>
                        <tag>FIXME</tag>
                        <tag>@todo</tag>
                        <tag>@deprecated</tag>
                    </tags>
                </configuration>
            </plugin>
        </plugins>
    </reporting>
    <build>
        <plugins>
            <plugin>
                <groupId>org.coosproject.build-tools.org.ops4j</groupId>
                <artifactId>maven-pax-plugin</artifactId>
                <version>1.5-coos3</version>
                <!--
          | enable improved OSGi compilation support for the bundle
          life-cycle. | to switch back to the standard bundle
          life-cycle, move this setting | down to the
          maven-bundle-plugin section
        -->
                <extensions>true</extensions>
            </plugin>
            <plugin>
                <!--
          The following instructions build a simple set of
          public/private classes into an OSGi bundle
        -->
                <groupId>org.coosproject.build-tools.org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>2.1.0-coos0</version>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${bundle.symbolicName}
            </Bundle-SymbolicName>
                        <Bundle-Version>${project.version}</Bundle-Version>
                        <!--
              Assume public classes are in the top package, and private
              classes are under ".internal"
            -->
                        <Export-Package>!${bundle.namespace}.internal.*,${bundle.namespace}.*;version="${project.version}"
            </Export-Package>
                        <Private-Package>${bundle.namespace}.internal.*
            </Private-Package>
                        <!-- Each module can override these defaults in their osgi.bnd file -->
                        <_include>-osgi.bnd</_include>
                    </instructions>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>**/itest/**</exclude>
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.0-beta-7</version>
                <configuration>
                    <preparationGoals>clean install -Pcldc</preparationGoals>
                    <!-- didn't find deps at runtime -->
                    <releaseProfiles>cldc</releaseProfiles>
                    <goals>deploy site-deploy -Pcldc</goals>
                </configuration>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.google.code.maven-license-plugin</groupId>
                    <artifactId>maven-license-plugin</artifactId>
                    <configuration>
                        <header>${basedir}/target/maven-shared-archive-resources/coos/header.txt
            </header>
                        <failIfMissing>true</failIfMissing>
                        <aggregate>true</aggregate>
                        <properties>
                            <owner>Telenor ASA and Tellu AS</owner>
                            <year>2009</year>
                        </properties>
                        <includes>
                            <include>src/**</include>
                        </includes>
                        <excludes>
                            <exclude>.git/**</exclude>
                            <exclude>*.bnd</exclude>
                            <exclude>**/src/main/xsd/**</exclude>
                            <exclude>**/src/main/resources/**</exclude>
                            <exclude>**/src/test/resources/**</exclude>
                            <exclude>**/src/test/data/**</exclude>
                            <!-- for pax:run/provision/exam -->
                            <exclude>**/runner/**</exclude>
                            <!-- for pax:eclipse  -->
                            <exclude>**/META-INF/**</exclude>
                            <exclude>**/build.properties</exclude>
                        </excludes>
                    </configuration>
                    <executions>
                        <execution>
                            <id>check-headers</id>
                            <phase>verify</phase>
                            <goals>
                                <goal>check</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <artifactId>maven-remote-resources-plugin</artifactId>
                    <version>1.1</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>process</goal>
                            </goals>
                            <configuration>
                                <resourceBundles>
                                    <resourceBundle>org.coosproject.build-tools:licenses:${coos.version}
                  </resourceBundle>
                                </resourceBundles>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <!--          <executions>
            <execution>
              <id>copy-resources</id>
              <phase>package</phase>
              <goals>
                <goal>copy-resources</goal>
              </goals>
              <configuration>
                <outputDirectory>${project.build.directory}</outputDirectory>
                <resources>
                  <resource>
                    <directory>${basedir}/src/main/ops4j</directory>
                    <filtering>true</filtering>
                  </resource>
                </resources>
              </configuration>
            </execution>
          </executions>-->
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>1.5</version>
                    <!--
          <executions>
            <execution>
              <id>attach-artifact</id>
              <phase>package</phase>
              <goals>
                <goal>attach-artifact</goal>
              </goals>
              <configuration>
                <artifacts>
                  <artifact>
                    <file>${project.build.directory}/pax-runner.composite
                    </file>
                    <type>composite</type>
                  </artifact>
                </artifacts>
              </configuration>
            </execution>
          </executions>
-->
                </plugin>
                <plugin>
                    <groupId>com.google.code.maven-license-plugin</groupId>
                    <artifactId>maven-license-plugin</artifactId>
                    <version>1.4.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>2.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.0-beta-9</version>
                    <configuration>
                        <autoVersionSubmodules>true</autoVersionSubmodules>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.coosproject.build-tools.org.ops4j</groupId>
                    <artifactId>maven-pax-plugin</artifactId>
                    <configuration>
                        <runner>${pax-runner-version}</runner>
                        <framework>equinox</framework>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                        <encoding>UTF-8</encoding>
                        <showWarnings>true</showWarnings>
                        <showDeprecation>true</showDeprecation>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <modules>
        <module>build-tools</module>
        <module>actorframe</module>
        <module>examples</module>
        <module>mavenplugins</module>
        <module>messaging</module>
        <module>plugins</module>
        <module>util</module>
        <module>wrapped-3rdparty</module>
    </modules>
    <scm>
        <connection>scm:svn:http://coos.svn.sourceforge.net/svnroot/coos/coosproject/tags/coos-1.3.1</connection>
        <developerConnection>scm:svn:https://coos.svn.sourceforge.net/svnroot/coos/coosproject/tags/coos-1.3.1</developerConnection>
        <url>http://coos.svn.sourceforge.net/viewvc/coos/coosproject/tags/coos-1.3.1</url>
    </scm>
    <distributionManagement>
        <repository>
            <id>reldar</id>
            <url>http://reldar.pats.no:8082/artifactory/libs-releases-local
      </url>
        </repository>
        <snapshotRepository>
            <uniqueVersion>false</uniqueVersion>
            <id>reldar</id>
            <url>http://reldar.pats.no:8082/artifactory/libs-snapshots-local
      </url>
        </snapshotRepository>
        <site>
            <id>${site.id}</id>
            <url>${site.url}</url>
        </site>
    </distributionManagement>
    <profiles>
        <profile>
            <id>itest</id>
            <activation>
                <property>
                    <name>itest</name>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>surefire-it</id>
                                <phase>integration-test</phase>
                                <goals>
                                    <goal>test</goal>
                                </goals>
                                <configuration>
                                    <excludes>
                                    <exclude>none</exclude>
                                    </excludes>
                                    <includes>
                                    <include>**/itest/**/Test*.java</include>
                                    <include>**/itest/**/*Test.java</include>
                                    <include>**/itest/**/TestCase.java</include>
                                    </includes>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
    <developers>
        <developer>
            <id>knuteilif</id>
            <name>Knut Eilif Husa</name>
            <email>knut.eilif.husa@tellu.no</email>
            <organization>Tellu AS</organization>
            <organizationUrl>http://www.tellu.no</organizationUrl>
            <timezone>1</timezone>
        </developer>
        <developer>
            <id>robert_bjarum</id>
            <name>Robert Bjarum</name>
            <email>robert.bjarum@tellu.no</email>
            <organization>Tellu AS</organization>
            <organizationUrl>http://www.tellu.no</organizationUrl>
            <timezone>1</timezone>
        </developer>
        <developer>
            <id>versvik</id>
            <name>Morten Versvik</name>
            <email>morten.versvik@tellu.no</email>
            <organization>Tellu AS</organization>
            <organizationUrl>http://www.tellu.no</organizationUrl>
            <timezone>1</timezone>
        </developer>
        <developer>
            <id>acidmoose</id>
            <name>Espen Nersveen</name>
            <email>espen.nersveen@telenor.com</email>
            <organization>Telenor Objects</organization>
            <organizationUrl>http://www.telenorobjects.com</organizationUrl>
            <timezone>1</timezone>
        </developer>
        <developer>
            <id>arildh</id>
            <name>Arild Herstad</name>
            <email>arild.herstad@telenor.com</email>
            <organization>Telenor Objects</organization>
            <organizationUrl>http://www.telenorobjects.com</organizationUrl>
            <timezone>1</timezone>
        </developer>
        <developer>
            <id>bushwakko</id>
            <name>Anders Storsveen</name>
            <email>anders.storsveen@telenor.com</email>
            <organization>Telenor Objects</organization>
            <organizationUrl>http://www.telenorobjects.com</organizationUrl>
            <timezone>1</timezone>
        </developer>
<developer>
            <id>haldors</id>
            <name>Haldor Samset</name>
            <email>haldor.samset@telenor.com</email>
            <organization>Telenor Objects</organization>
            <organizationUrl>http://www.telenorobjects.com</organizationUrl>
            <timezone>1</timezone>
        </developer>
    </developers>
    <issueManagement>
        <system>Jira</system>
        <url>https://telenorobjects.onjira.com/</url>
    </issueManagement>
</project>
