Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 2 | <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 3 | license agreements. See the NOTICE file distributed with this work for additional |
| 4 | information regarding copyright ownership. The ASF licenses this file to |
| 5 | you under the Apache License, Version 2.0 (the "License"); you may not use |
| 6 | this file except in compliance with the License. You may obtain a copy of |
| 7 | the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 8 | by applicable law or agreed to in writing, software distributed under the |
| 9 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 10 | OF ANY KIND, either express or implied. See the License for the specific |
| 11 | language governing permissions and limitations under the License. --> |
Felix Meschberger | 6237d8c | 2012-06-01 15:32:31 +0000 | [diff] [blame] | 12 | <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 | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 13 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 14 | <modelVersion>4.0.0</modelVersion> |
| 15 | <parent> |
| 16 | <groupId>org.apache.felix</groupId> |
| 17 | <artifactId>felix-parent</artifactId> |
| 18 | <version>2.1</version> |
| 19 | <relativePath>../../../pom/pom.xml</relativePath> |
| 20 | </parent> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 21 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 22 | <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId> |
| 23 | <packaging>bundle</packaging> |
Felix Meschberger | 87b353d | 2012-06-01 15:32:49 +0000 | [diff] [blame] | 24 | <version>1.0.5-SNAPSHOT</version> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 25 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 26 | <name>Apache Felix Web Console Memory Usage Plugin</name> |
| 27 | <description> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 28 | Plugin providing plugins to the Felix Shell and Web Console to |
| 29 | observe the VMs memory use and cause try to get thread dumps etc. |
| 30 | </description> |
| 31 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 32 | <scm> |
| 33 | <connection> |
Felix Meschberger | 87b353d | 2012-06-01 15:32:49 +0000 | [diff] [blame] | 34 | scm:svn:http://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/memoryusage |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 35 | </connection> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 36 | <developerConnection> |
Felix Meschberger | 87b353d | 2012-06-01 15:32:49 +0000 | [diff] [blame] | 37 | scm:svn:https://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/memoryusage |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 38 | </developerConnection> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 39 | <url> |
Felix Meschberger | 87b353d | 2012-06-01 15:32:49 +0000 | [diff] [blame] | 40 | http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/memoryusage |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 41 | </url> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 42 | </scm> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 43 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 44 | <build> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 45 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 46 | <!-- add UTF-8-to-ISO translated resources --> |
| 47 | <resources> |
| 48 | <resource> |
| 49 | <directory>${basedir}/src/main/resources</directory> |
| 50 | </resource> |
| 51 | <resource> |
| 52 | <directory>target/classes</directory> |
| 53 | <includes> |
| 54 | <include>OSGI-INF/**</include> |
| 55 | </includes> |
| 56 | <filtering>false</filtering> |
| 57 | </resource> |
| 58 | </resources> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 59 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 60 | <plugins> |
| 61 | <plugin> |
| 62 | <groupId>org.apache.maven.plugins</groupId> |
| 63 | <artifactId>maven-compiler-plugin</artifactId> |
| 64 | <configuration> |
| 65 | <source>1.5</source> |
| 66 | <target>1.5</target> |
| 67 | </configuration> |
| 68 | </plugin> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 69 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 70 | <!-- translate UTF-8 encoded properties files to ISO-8859-1 --> |
| 71 | <plugin> |
| 72 | <groupId>org.codehaus.mojo</groupId> |
| 73 | <artifactId>native2ascii-maven-plugin</artifactId> |
| 74 | <version>1.0-beta-1</version> |
| 75 | <executions> |
| 76 | <execution> |
| 77 | <goals> |
| 78 | <goal>native2ascii</goal> |
| 79 | </goals> |
| 80 | <configuration> |
| 81 | <encoding>UTF-8</encoding> |
| 82 | </configuration> |
| 83 | </execution> |
| 84 | </executions> |
| 85 | </plugin> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 86 | |
| 87 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 88 | <plugin> |
| 89 | <groupId>org.apache.felix</groupId> |
| 90 | <artifactId>maven-bundle-plugin</artifactId> |
| 91 | <version>2.3.4</version> |
| 92 | <extensions>true</extensions> |
| 93 | <configuration> |
| 94 | <instructions> |
| 95 | <Bundle-SymbolicName> |
| 96 | ${project.artifactId} |
Felix Meschberger | e1b7ef8 | 2010-04-08 10:37:44 +0000 | [diff] [blame] | 97 | </Bundle-SymbolicName> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 98 | <Import-Package> |
| 99 | javax.management.*, |
| 100 | org.osgi.framework |
Felix Meschberger | b69b26f | 2010-04-08 10:39:22 +0000 | [diff] [blame] | 101 | </Import-Package> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 102 | <DynamicImport-Package> |
| 103 | <!-- logging --> |
| 104 | org.osgi.service.log;version="[1.3,2)", |
Felix Meschberger | e1b7ef8 | 2010-04-08 10:37:44 +0000 | [diff] [blame] | 105 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 106 | <!-- configuration --> |
| 107 | org.osgi.service.cm;version="[1.2,2)", |
| 108 | org.osgi.service.metatype;version="[1.1,2)", |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 109 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 110 | <!-- plug into the web console --> |
| 111 | javax.servlet; |
Felix Meschberger | b6a918c | 2012-06-01 15:30:58 +0000 | [diff] [blame] | 112 | javax.servlet.http;version="[2.3,4)", |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 113 | org.apache.felix.webconsole;version="[3.0,3.2)", |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 114 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 115 | <!-- plug into the traditional Felix shell --> |
| 116 | org.apache.felix.shell;version="[1.0,1.1)" |
| 117 | </DynamicImport-Package> |
| 118 | <Private-Package> |
| 119 | org.apache.felix.webconsole.plugins.memoryusage.* |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 120 | </Private-Package> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 121 | <Bundle-Activator> |
| 122 | org.apache.felix.webconsole.plugins.memoryusage.internal.Activator |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 123 | </Bundle-Activator> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 124 | </instructions> |
| 125 | </configuration> |
| 126 | </plugin> |
| 127 | <plugin> |
| 128 | <groupId>org.apache.rat</groupId> |
| 129 | <artifactId>apache-rat-plugin</artifactId> |
| 130 | <configuration> |
| 131 | <includes> |
| 132 | <include>src/**</include> |
| 133 | </includes> |
| 134 | <excludes> |
| 135 | <exclude>src/main/appended-resources/**</exclude> |
| 136 | <exclude>src/main/resources/templates/memoryusage.html</exclude> |
| 137 | </excludes> |
| 138 | </configuration> |
| 139 | </plugin> |
| 140 | </plugins> |
| 141 | </build> |
| 142 | <dependencies> |
| 143 | <dependency> |
| 144 | <groupId>org.osgi</groupId> |
| 145 | <artifactId>org.osgi.core</artifactId> |
| 146 | <version>4.0.0</version> |
| 147 | <scope>provided</scope> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.osgi</groupId> |
| 151 | <artifactId>org.osgi.compendium</artifactId> |
| 152 | <version>4.0.0</version> |
| 153 | <scope>provided</scope> |
| 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>org.apache.felix</groupId> |
| 157 | <artifactId>org.apache.felix.shell</artifactId> |
| 158 | <version>1.0.0</version> |
| 159 | <scope>provided</scope> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>org.apache.felix</groupId> |
| 163 | <artifactId>org.apache.felix.webconsole</artifactId> |
| 164 | <version>3.0.0</version> |
| 165 | <scope>provided</scope> |
| 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>javax.servlet</groupId> |
| 169 | <artifactId>servlet-api</artifactId> |
| 170 | <version>2.3</version> |
| 171 | <scope>provided</scope> |
| 172 | </dependency> |
| 173 | </dependencies> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 174 | </project> |