| <!-- 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/maven-v4_0_0.xsd" |
| > |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>2.1</version> |
| <relativePath></relativePath> |
| </parent> |
| |
| <artifactId>org.apache.felix.threaddump</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| |
| <name>Apache Felix Thread Dump</name> |
| <description>Thread Dump classes for OSGi.</description> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/threaddump</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/threaddump</developerConnection> |
| <url>http://svn.apache.org/repos/asf/felix/threaddump</url> |
| </scm> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.inventory</artifactId> |
| <version>1.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Activator> |
| org.apache.felix.threaddump.internal.ThreadDumpActivator |
| </Bundle-Activator> |
| </instructions> |
| </configuration> |
| </plugin> |
| |
| <!-- |
| Check API compliance for Java 1.4, 5, and 6. |
| Unfortunately the <ignores> sections do not seem to |
| properly work, so the sniffer is disabled by default. |
| |
| It is recommended to regularly and manually run the |
| sniffer and check for the following rules: |
| |
| * Classes in the ..internal package must be compliant |
| with Java 1.4 |
| * Classes in the ..internal.jdk5 package must be compliant |
| with Java 5 |
| * Classes in the ..internal.jdk6 package must be compliant |
| with Java 6 |
| --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer-maven-plugin</artifactId> |
| <version>1.8</version> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| <executions> |
| <execution> |
| <id>test-1.4</id> |
| <phase>test</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <signature> |
| <groupId>org.codehaus.mojo.signature</groupId> |
| <artifactId>java14</artifactId> |
| <version>1.0</version> |
| </signature> |
| <ignores> |
| <ignore>org.apache.felix.threaddump.internal.jdk5.*</ignore> |
| <ignore>org.apache.felix.threaddump.internal.jdk6.*</ignore> |
| </ignores> |
| </configuration> |
| </execution> |
| <execution> |
| <id>test-1.5</id> |
| <phase>test</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <signature> |
| <groupId>org.codehaus.mojo.signature</groupId> |
| <artifactId>java15</artifactId> |
| <version>1.0</version> |
| </signature> |
| <skip>true</skip> |
| <ignores> |
| <ignore>org.apache.felix.threaddump.internal.jdk6.*</ignore> |
| </ignores> |
| </configuration> |
| </execution> |
| <execution> |
| <id>test-1.6</id> |
| <phase>test</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <signature> |
| <groupId>org.codehaus.mojo.signature</groupId> |
| <artifactId>java16</artifactId> |
| <version>1.0</version> |
| </signature> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |