Felix Meschberger | 9808ed8 | 2013-06-20 12:47:35 +0000 | [diff] [blame] | 1 | <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor |
| 2 | license agreements. See the NOTICE file distributed with this work for additional |
| 3 | information regarding copyright ownership. The ASF licenses this file to |
| 4 | you under the Apache License, Version 2.0 (the "License"); you may not use |
| 5 | this file except in compliance with the License. You may obtain a copy of |
| 6 | the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 7 | by applicable law or agreed to in writing, software distributed under the |
| 8 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 9 | OF ANY KIND, either express or implied. See the License for the specific |
| 10 | language governing permissions and limitations under the License. --> |
A. J. David Bosschaert | cc2699c | 2015-08-25 15:28:49 +0000 | [diff] [blame^] | 11 | <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"> |
Felix Meschberger | 9808ed8 | 2013-06-20 12:47:35 +0000 | [diff] [blame] | 12 | <modelVersion>4.0.0</modelVersion> |
| 13 | |
| 14 | <parent> |
| 15 | <groupId>org.apache.felix</groupId> |
| 16 | <artifactId>felix-parent</artifactId> |
| 17 | <version>2.1</version> |
A. J. David Bosschaert | cc2699c | 2015-08-25 15:28:49 +0000 | [diff] [blame^] | 18 | <relativePath /> |
Felix Meschberger | 9808ed8 | 2013-06-20 12:47:35 +0000 | [diff] [blame] | 19 | </parent> |
| 20 | |
| 21 | <artifactId>org.apache.felix.threaddump</artifactId> |
A. J. David Bosschaert | cc2699c | 2015-08-25 15:28:49 +0000 | [diff] [blame^] | 22 | <version>1.0.0</version> |
Felix Meschberger | 9808ed8 | 2013-06-20 12:47:35 +0000 | [diff] [blame] | 23 | <packaging>bundle</packaging> |
| 24 | |
| 25 | <name>Apache Felix Thread Dump</name> |
| 26 | <description>Thread Dump classes for OSGi.</description> |
| 27 | |
| 28 | <scm> |
A. J. David Bosschaert | cc2699c | 2015-08-25 15:28:49 +0000 | [diff] [blame^] | 29 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.threaddump-1.0.0</connection> |
| 30 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.threaddump-1.0.0</developerConnection> |
| 31 | <url>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.threaddump-1.0.0</url> |
Felix Meschberger | 9808ed8 | 2013-06-20 12:47:35 +0000 | [diff] [blame] | 32 | </scm> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.osgi</groupId> |
| 37 | <artifactId>org.osgi.core</artifactId> |
| 38 | <version>4.1.0</version> |
| 39 | <scope>provided</scope> |
| 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>org.apache.felix</groupId> |
| 43 | <artifactId>org.apache.felix.inventory</artifactId> |
| 44 | <version>1.0.0</version> |
| 45 | <scope>provided</scope> |
| 46 | </dependency> |
| 47 | </dependencies> |
| 48 | |
| 49 | <build> |
| 50 | <plugins> |
| 51 | <plugin> |
| 52 | <groupId>org.apache.felix</groupId> |
| 53 | <artifactId>maven-bundle-plugin</artifactId> |
| 54 | <version>2.3.7</version> |
| 55 | <extensions>true</extensions> |
| 56 | <configuration> |
| 57 | <instructions> |
| 58 | <Bundle-Activator> |
| 59 | org.apache.felix.threaddump.internal.ThreadDumpActivator |
| 60 | </Bundle-Activator> |
| 61 | </instructions> |
| 62 | </configuration> |
| 63 | </plugin> |
| 64 | |
| 65 | <!-- |
| 66 | Check API compliance for Java 1.4, 5, and 6. |
| 67 | Unfortunately the <ignores> sections do not seem to |
| 68 | properly work, so the sniffer is disabled by default. |
| 69 | |
| 70 | It is recommended to regularly and manually run the |
| 71 | sniffer and check for the following rules: |
| 72 | |
| 73 | * Classes in the ..internal package must be compliant |
| 74 | with Java 1.4 |
| 75 | * Classes in the ..internal.jdk5 package must be compliant |
| 76 | with Java 5 |
| 77 | * Classes in the ..internal.jdk6 package must be compliant |
| 78 | with Java 6 |
| 79 | --> |
| 80 | <plugin> |
| 81 | <groupId>org.codehaus.mojo</groupId> |
| 82 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 83 | <version>1.8</version> |
| 84 | <configuration> |
| 85 | <skip>true</skip> |
| 86 | </configuration> |
| 87 | <executions> |
| 88 | <execution> |
| 89 | <id>test-1.4</id> |
| 90 | <phase>test</phase> |
| 91 | <goals> |
| 92 | <goal>check</goal> |
| 93 | </goals> |
| 94 | <configuration> |
| 95 | <signature> |
| 96 | <groupId>org.codehaus.mojo.signature</groupId> |
| 97 | <artifactId>java14</artifactId> |
| 98 | <version>1.0</version> |
| 99 | </signature> |
| 100 | <ignores> |
| 101 | <ignore>org.apache.felix.threaddump.internal.jdk5.*</ignore> |
| 102 | <ignore>org.apache.felix.threaddump.internal.jdk6.*</ignore> |
| 103 | </ignores> |
| 104 | </configuration> |
| 105 | </execution> |
| 106 | <execution> |
| 107 | <id>test-1.5</id> |
| 108 | <phase>test</phase> |
| 109 | <goals> |
| 110 | <goal>check</goal> |
| 111 | </goals> |
| 112 | <configuration> |
| 113 | <signature> |
| 114 | <groupId>org.codehaus.mojo.signature</groupId> |
| 115 | <artifactId>java15</artifactId> |
| 116 | <version>1.0</version> |
| 117 | </signature> |
| 118 | <skip>true</skip> |
| 119 | <ignores> |
| 120 | <ignore>org.apache.felix.threaddump.internal.jdk6.*</ignore> |
| 121 | </ignores> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | <execution> |
| 125 | <id>test-1.6</id> |
| 126 | <phase>test</phase> |
| 127 | <goals> |
| 128 | <goal>check</goal> |
| 129 | </goals> |
| 130 | <configuration> |
| 131 | <signature> |
| 132 | <groupId>org.codehaus.mojo.signature</groupId> |
| 133 | <artifactId>java16</artifactId> |
| 134 | <version>1.0</version> |
| 135 | </signature> |
| 136 | </configuration> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | |
| 141 | </plugins> |
| 142 | </build> |
| 143 | |
| 144 | </project> |