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. --> |
| 11 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 12 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" |
| 13 | > |
| 14 | <modelVersion>4.0.0</modelVersion> |
| 15 | |
| 16 | <parent> |
| 17 | <groupId>org.apache.felix</groupId> |
| 18 | <artifactId>felix-parent</artifactId> |
| 19 | <version>2.1</version> |
| 20 | <relativePath></relativePath> |
| 21 | </parent> |
| 22 | |
| 23 | <artifactId>org.apache.felix.threaddump</artifactId> |
Felix Meschberger | e15bbb0 | 2013-06-20 12:54:54 +0000 | [diff] [blame] | 24 | <version>0.0.1-SNAPSHOT</version> |
Felix Meschberger | 9808ed8 | 2013-06-20 12:47:35 +0000 | [diff] [blame] | 25 | <packaging>bundle</packaging> |
| 26 | |
| 27 | <name>Apache Felix Thread Dump</name> |
| 28 | <description>Thread Dump classes for OSGi.</description> |
| 29 | |
| 30 | <scm> |
| 31 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/threaddump</connection> |
| 32 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/threaddump</developerConnection> |
| 33 | <url>http://svn.apache.org/repos/asf/felix/threaddump</url> |
| 34 | </scm> |
| 35 | |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>org.osgi</groupId> |
| 39 | <artifactId>org.osgi.core</artifactId> |
| 40 | <version>4.1.0</version> |
| 41 | <scope>provided</scope> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.apache.felix</groupId> |
| 45 | <artifactId>org.apache.felix.inventory</artifactId> |
| 46 | <version>1.0.0</version> |
| 47 | <scope>provided</scope> |
| 48 | </dependency> |
| 49 | </dependencies> |
| 50 | |
| 51 | <build> |
| 52 | <plugins> |
| 53 | <plugin> |
| 54 | <groupId>org.apache.felix</groupId> |
| 55 | <artifactId>maven-bundle-plugin</artifactId> |
| 56 | <version>2.3.7</version> |
| 57 | <extensions>true</extensions> |
| 58 | <configuration> |
| 59 | <instructions> |
| 60 | <Bundle-Activator> |
| 61 | org.apache.felix.threaddump.internal.ThreadDumpActivator |
| 62 | </Bundle-Activator> |
| 63 | </instructions> |
| 64 | </configuration> |
| 65 | </plugin> |
| 66 | |
| 67 | <!-- |
| 68 | Check API compliance for Java 1.4, 5, and 6. |
| 69 | Unfortunately the <ignores> sections do not seem to |
| 70 | properly work, so the sniffer is disabled by default. |
| 71 | |
| 72 | It is recommended to regularly and manually run the |
| 73 | sniffer and check for the following rules: |
| 74 | |
| 75 | * Classes in the ..internal package must be compliant |
| 76 | with Java 1.4 |
| 77 | * Classes in the ..internal.jdk5 package must be compliant |
| 78 | with Java 5 |
| 79 | * Classes in the ..internal.jdk6 package must be compliant |
| 80 | with Java 6 |
| 81 | --> |
| 82 | <plugin> |
| 83 | <groupId>org.codehaus.mojo</groupId> |
| 84 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 85 | <version>1.8</version> |
| 86 | <configuration> |
| 87 | <skip>true</skip> |
| 88 | </configuration> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <id>test-1.4</id> |
| 92 | <phase>test</phase> |
| 93 | <goals> |
| 94 | <goal>check</goal> |
| 95 | </goals> |
| 96 | <configuration> |
| 97 | <signature> |
| 98 | <groupId>org.codehaus.mojo.signature</groupId> |
| 99 | <artifactId>java14</artifactId> |
| 100 | <version>1.0</version> |
| 101 | </signature> |
| 102 | <ignores> |
| 103 | <ignore>org.apache.felix.threaddump.internal.jdk5.*</ignore> |
| 104 | <ignore>org.apache.felix.threaddump.internal.jdk6.*</ignore> |
| 105 | </ignores> |
| 106 | </configuration> |
| 107 | </execution> |
| 108 | <execution> |
| 109 | <id>test-1.5</id> |
| 110 | <phase>test</phase> |
| 111 | <goals> |
| 112 | <goal>check</goal> |
| 113 | </goals> |
| 114 | <configuration> |
| 115 | <signature> |
| 116 | <groupId>org.codehaus.mojo.signature</groupId> |
| 117 | <artifactId>java15</artifactId> |
| 118 | <version>1.0</version> |
| 119 | </signature> |
| 120 | <skip>true</skip> |
| 121 | <ignores> |
| 122 | <ignore>org.apache.felix.threaddump.internal.jdk6.*</ignore> |
| 123 | </ignores> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | <execution> |
| 127 | <id>test-1.6</id> |
| 128 | <phase>test</phase> |
| 129 | <goals> |
| 130 | <goal>check</goal> |
| 131 | </goals> |
| 132 | <configuration> |
| 133 | <signature> |
| 134 | <groupId>org.codehaus.mojo.signature</groupId> |
| 135 | <artifactId>java16</artifactId> |
| 136 | <version>1.0</version> |
| 137 | </signature> |
| 138 | </configuration> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
| 142 | |
| 143 | </plugins> |
| 144 | </build> |
| 145 | |
| 146 | </project> |