<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.

 This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
 and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<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">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.opendaylight.odlparent</groupId>
    <artifactId>odlparent-lite</artifactId>
    <version>3.1.0</version>
    <relativePath/>
  </parent>

  <groupId>org.opendaylight.controller</groupId>
  <artifactId>sal-clustering-config</artifactId>
  <version>1.7.2</version>
  <packaging>jar</packaging>
  <description>Configuration files for md-sal clustering</description>

  <build>
    <plugins>
      <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>build-helper-maven-plugin</artifactId>
      <executions>
        <execution>
          <id>attach-artifacts</id>
          <goals>
            <goal>attach-artifact</goal>
          </goals>
          <phase>package</phase>
          <configuration>
            <artifacts>
              <artifact>
                <file>${project.build.directory}/classes/initial/05-clustering.xml.conf</file>
                <type>xml</type>
                <classifier>config</classifier>
              </artifact>
              <artifact>
                <file>${project.build.directory}/classes/initial/06-clustered-entity-ownership.xml.conf</file>
                <type>xml</type>
                <classifier>entityownershipconfig</classifier>
              </artifact>
              <artifact>
                <file>${project.build.directory}/classes/initial/akka.conf</file>
                <type>xml</type>
                <classifier>akkaconf</classifier>
              </artifact>
              <artifact>
                <file>${project.build.directory}/classes/initial/factory-akka.conf</file>
                <type>xml</type>
                <classifier>factoryakkaconf</classifier>
              </artifact>
              <artifact>
                <file>${project.build.directory}/classes/initial/module-shards.conf</file>
                <type>xml</type>
                <classifier>moduleshardconf</classifier>
              </artifact>
              <artifact>
                <file>${project.build.directory}/classes/initial/modules.conf</file>
                <type>xml</type>
                <classifier>moduleconf</classifier>
              </artifact>
              <artifact>
                <file>${project.build.directory}/classes/initial/datastore.cfg</file>
                <type>cfg</type>
                <classifier>datastore</classifier>
              </artifact>
            </artifacts>
          </configuration>
        </execution>
      </executions>
      </plugin>
    </plugins>
  </build>
</project>
