<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>
  <artifactId>overlord-rtgov-karaf-commands</artifactId> 
  <name>Overlord RTGov::Distribution::Karaf-Commands</name>

  <parent>
    <groupId>org.overlord.rtgov</groupId>
    <artifactId>distribution</artifactId>
    <version>2.0.0.Final</version>
  </parent>
  <dependencies>
    <dependency>
      <groupId>org.overlord</groupId>
      <artifactId>overlord-commons-karaf-commands</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.shell</groupId>
      <artifactId>org.apache.karaf.shell.console</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
   
  </dependencies>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.apache.karaf.shell</groupId>
        <artifactId>org.apache.karaf.shell.console</artifactId>
        <version>2.3.5</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
	<resources>
		<resource>
			<directory>src/main/resources</directory>
			<filtering>true</filtering>
		</resource>
	</resources>  
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
      </plugin>
		<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<configuration>
					<configLocation>checkstyle/checkstyle.xml</configLocation>
					<consoleOutput>false</consoleOutput>
					<suppressionsLocation>checkstyle/suppressions.xml</suppressionsLocation>
					<failsOnError>false</failsOnError>
					<useFile />
				</configuration>
				<dependencies>
					<dependency>
						<groupId>org.overlord</groupId>
						<artifactId>overlord-commons-build</artifactId>
						<version>${version.org.overlord.overlord-commons}</version>
					</dependency>
				</dependencies>
			<executions>
			<execution>
				<id>check-style</id>
				<phase>site</phase>
				<goals>
					<goal>checkstyle</goal>
				</goals>
			</execution>
		</executions>
	  </plugin>        
    </plugins>
  </build>
</project>
