<!--
 ~ 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
   <parent>
       <groupId>org.apache.felix</groupId>
       <artifactId>felix-parent</artifactId>
       <version>8</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <packaging>bundle</packaging>
   <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
   <version>1.13.0</version>
   <name>Apache Felix iPOJO Manipulator</name>

   <description>
       iPOJO bytecode manipulator. This manipulator is used to instrument java classes in order to be managed by iPOJO.
   </description>

   <properties>
       <ipojo.import.packages>[1.12.1,2.0.0)</ipojo.import.packages>
       <asm.version>9.6</asm.version>
   </properties>

   <dependencies>
       <dependency>
           <groupId>org.ow2.asm</groupId>
           <artifactId>asm</artifactId>
           <version>${asm.version}</version>
       </dependency>
       <dependency>
           <groupId>org.ow2.asm</groupId>
           <artifactId>asm-tree</artifactId>
           <version>${asm.version}</version>
       </dependency>
       <dependency>
           <groupId>org.ow2.asm</groupId>
           <artifactId>asm-commons</artifactId>
           <version>${asm.version}</version>
       </dependency>
       <dependency>
           <groupId>org.ow2.asm</groupId>
           <artifactId>asm-util</artifactId>
           <version>${asm.version}</version>
       </dependency>
       <dependency>
           <groupId>org.apache.felix</groupId>
           <artifactId>org.apache.felix.ipojo.metadata</artifactId>
           <version>1.6.0</version>
       </dependency>
       <dependency>
           <groupId>org.apache.felix</groupId>
           <artifactId>org.apache.felix.ipojo.annotations</artifactId>
           <version>${project.version}</version>
       </dependency>
       <dependency>
           <groupId>org.mockito</groupId>
           <artifactId>mockito-all</artifactId>
           <version>1.9.5</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.core</artifactId>
           <version>4.2.0</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>commons-io</groupId>
           <artifactId>commons-io</artifactId>
           <version>2.7</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.easytesting</groupId>
           <artifactId>fest-assert</artifactId>
           <version>1.4</version>
           <scope>test</scope>
       </dependency>

       <dependency>
           <!-- used in some tests -->
           <groupId>commons-codec</groupId>
           <artifactId>commons-codec</artifactId>
           <version>1.13</version>
           <scope>test</scope>
       </dependency>

       <dependency>
           <groupId>junit</groupId>
           <artifactId>junit</artifactId>
           <version>4.13.2</version>
           <scope>test</scope>
       </dependency>
   </dependencies>
   <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>
               <version>5.1.9</version>
               <extensions>true</extensions>
               <configuration>
                   <instructions>
                       <Bundle-Name>iPOJO Manipulator</Bundle-Name>
                       <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                       <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
                       <Bundle-Description>iPOJO Manipulator</Bundle-Description>
                       <Export-Package>org.apache.felix.ipojo.manipulator.*
                       </Export-Package>
                       <Private-Package>org.apache.felix.ipojo.manipulation,
                           org.apache.felix.ipojo.xml.parser, org.objectweb.asm,
                           org.objectweb.asm.commons, org.objectweb.asm.tree
                       </Private-Package>
                   </instructions>
                   <obrRepository>NONE</obrRepository>
               </configuration>
           </plugin>

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-checkstyle-plugin</artifactId>
               <configuration>
                   <enableRulesSummary>false</enableRulesSummary>
                   <violationSeverity>warning</violationSeverity>
                   <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
               </configuration>
           </plugin>

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-compiler-plugin</artifactId>
               <configuration>
                   <source>8</source>
                   <target>8</target>
               </configuration>
           </plugin>

           <plugin>
               <groupId>org.apache.rat</groupId>
               <artifactId>apache-rat-plugin</artifactId>
               <executions>
                   <execution>
                       <phase>verify</phase>
                       <goals>
                           <goal>check</goal>
                       </goals>
                   </execution>
               </executions>
               <configuration>
                   <!-- check src only (except remote resources additions) -->
                   <includes>
                       <include>src/**</include>
                   </includes>
                   <excludes>
                       <exclude>src/main/appended-resources/**</exclude>
                       <exclude>src/main/resources/META-INF/services/org.apache.felix.ipojo.manipulator.spi.Module
                       </exclude>
                       <exclude>src/test/resources/MANIFEST.MF</exclude>
                   </excludes>
               </configuration>
           </plugin>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-dependency-plugin</artifactId>
           </plugin>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-javadoc-plugin</artifactId>
               <configuration>
                   <additionalJOption>-Xdoclint:none</additionalJOption>
               </configuration>
           </plugin>
       </plugins>
   </build>

 <scm>
   <tag>org.apache.felix.ipojo.manipulator-project-1.13.0</tag>
 </scm>
</project>