<?xml version="1.0" encoding="UTF-8"?>
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
-->

<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.apache.felix</groupId>
       <artifactId>felix-parent</artifactId>
       <version>7</version>
       <relativePath />
   </parent>
   <artifactId>atomos-parent</artifactId>
   <version>1.0.0</version>
   <packaging>pom</packaging>
   <name>atomos-parent</name>

   <properties>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <java.version>11</java.version>
       <felix.java.version>${java.version}</felix.java.version>
       <maven.compiler.release>${java.version}</maven.compiler.release>
       <maven.compiler.source>${java.version}</maven.compiler.source>
       <maven.compiler.target>${java.version}</maven.compiler.target>
       <bnd.version>5.2.0</bnd.version>
   </properties>

   <scm>
       <connection>scm:git:https://github.com/apache/felix-atomos.git</connection>
       <developerConnection>scm:git:https://github.com/apache/felix-atomos.git</developerConnection>
       <url>https://github.com/apache/felix-atomos</url>
       <tag>atomos-distribution-1.0.0</tag>
   </scm>

   <build>
       <pluginManagement>
           <plugins>
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-dependency-plugin</artifactId>
                   <version>3.1.1</version>
               </plugin>
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-jar-plugin</artifactId>
                   <version>3.2.0</version>
               </plugin>
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-compiler-plugin</artifactId>
                   <version>3.8.1</version>
                   <configuration>
                       <source>${maven.compiler.source}</source>
                       <target>${maven.compiler.target}</target>
                       <showWarnings>true</showWarnings>
                       <showDeprecation>true</showDeprecation>
                   </configuration>
               </plugin>
               <plugin>
                   <artifactId>maven-surefire-plugin</artifactId>
                   <version>2.22.2</version>
                   <dependencies>
                       <dependency>
                           <groupId>org.ow2.asm</groupId>
                           <artifactId>asm</artifactId>
                           <version>7.0</version>
                       </dependency>
                   </dependencies>
               </plugin>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <executions>
                       <execution>
                           <goals>
                               <goal>bnd-process</goal>
                           </goals>
                       </execution>
                   </executions>
               </plugin>
               <plugin>
                   <groupId>org.eclipse.m2e</groupId>
                   <artifactId>lifecycle-mapping</artifactId>
                   <version>1.0.0</version>
                   <configuration>
                       <lifecycleMappingMetadata>
                           <pluginExecutions>
                               <!-- copy-dependency plugin -->
                               <pluginExecution>
                                   <pluginExecutionFilter>
                                       <groupId>org.apache.maven.plugins</groupId>
                                       <artifactId>maven-dependency-plugin</artifactId>
                                       <versionRange>${maven-dependency-plugin.version}
                                       </versionRange>
                                       <goals>
                                           <goal>copy-dependencies</goal>
                                       </goals>
                                   </pluginExecutionFilter>
                                   <action>
                                       <ignore />
                                   </action>
                               </pluginExecution>
                               <pluginExecution>
                                   <pluginExecutionFilter>
                                       <groupId>org.apache.felix</groupId>
                                       <artifactId>atomos-maven-plugin</artifactId>
                                       <versionRange>[0,)</versionRange>
                                       <goals>
                                           <goal>atomos-native-image</goal>
                                           <goal>atomos-index</goal>
                                       </goals>
                                   </pluginExecutionFilter>
                                   <action>
                                       <ignore />
                                   </action>
                               </pluginExecution>
                           </pluginExecutions>
                       </lifecycleMappingMetadata>
                   </configuration>
               </plugin>
           </plugins>
       </pluginManagement>
   </build>
   <dependencyManagement>
       <dependencies>
           <dependency>
               <groupId>org.junit.jupiter</groupId>
               <artifactId>junit-jupiter</artifactId>
               <version>5.5.2</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>osgi.core</artifactId>
               <version>8.0.0</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>osgi.annotation</artifactId>
               <version>7.0.0</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>osgi.promise</artifactId>
               <version>7.0.1</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.component</artifactId>
               <version>1.4.0</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.component.annotations</artifactId>
               <version>1.4.0</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.eclipse.platform</groupId>
               <artifactId>org.eclipse.osgi</artifactId>
               <version>3.16.100</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.framework</artifactId>
               <version>7.0.0</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.scr</artifactId>
               <version>2.1.16</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.gogo.bom</artifactId>
               <version>1.0.2</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
               <type>pom</type>
               <scope>import</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.http.jetty</artifactId>
               <version>4.0.20</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.http.api</artifactId>
               <version>3.0.0</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.http.whiteboard</artifactId>
               <version>4.0.0</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.webconsole</artifactId>
               <version>4.5.4</version>
               <classifier>all</classifier>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.http.servlet-api</artifactId>
               <version>1.1.2</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.log</artifactId>
               <version>1.2.2</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.cm</artifactId>
               <version>1.5.0</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.event</artifactId>
               <version>1.4.0</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>javax.portlet</groupId>
               <artifactId>portlet-api</artifactId>
               <version>3.0.1</version>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
       </dependencies>
   </dependencyManagement>
</project>