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. --> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 12 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 13 | 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] | 14 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 15 | <modelVersion>4.0.0</modelVersion> |
| 16 | <parent> |
| 17 | <groupId>org.apache.felix</groupId> |
| 18 | <artifactId>felix-parent</artifactId> |
| 19 | <version>2.1</version> |
| 20 | <relativePath>../../../pom/pom.xml</relativePath> |
| 21 | </parent> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 22 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 23 | <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId> |
| 24 | <packaging>bundle</packaging> |
| 25 | <version>1.0.3-SNAPSHOT</version> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 26 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 27 | <name>Apache Felix Web Console Memory Usage Plugin</name> |
| 28 | <description> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 29 | Plugin providing plugins to the Felix Shell and Web Console to |
| 30 | observe the VMs memory use and cause try to get thread dumps etc. |
| 31 | </description> |
| 32 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 33 | <scm> |
| 34 | <connection> |
Felix Meschberger | 9672648 | 2010-08-11 08:35:50 +0000 | [diff] [blame] | 35 | 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] | 36 | </connection> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 37 | <developerConnection> |
Felix Meschberger | 9672648 | 2010-08-11 08:35:50 +0000 | [diff] [blame] | 38 | 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] | 39 | </developerConnection> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 40 | <url> |
Felix Meschberger | 9672648 | 2010-08-11 08:35:50 +0000 | [diff] [blame] | 41 | http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/memoryusage |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 42 | </url> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 43 | </scm> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 44 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 45 | <build> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 46 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 47 | <!-- add UTF-8-to-ISO translated resources --> |
| 48 | <resources> |
| 49 | <resource> |
| 50 | <directory>${basedir}/src/main/resources</directory> |
| 51 | </resource> |
| 52 | <resource> |
| 53 | <directory>target/classes</directory> |
| 54 | <includes> |
| 55 | <include>OSGI-INF/**</include> |
| 56 | </includes> |
| 57 | <filtering>false</filtering> |
| 58 | </resource> |
| 59 | </resources> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 60 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.apache.maven.plugins</groupId> |
| 64 | <artifactId>maven-compiler-plugin</artifactId> |
| 65 | <configuration> |
| 66 | <source>1.5</source> |
| 67 | <target>1.5</target> |
| 68 | </configuration> |
| 69 | </plugin> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 70 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 71 | <!-- translate UTF-8 encoded properties files to ISO-8859-1 --> |
| 72 | <plugin> |
| 73 | <groupId>org.codehaus.mojo</groupId> |
| 74 | <artifactId>native2ascii-maven-plugin</artifactId> |
| 75 | <version>1.0-beta-1</version> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <goals> |
| 79 | <goal>native2ascii</goal> |
| 80 | </goals> |
| 81 | <configuration> |
| 82 | <encoding>UTF-8</encoding> |
| 83 | </configuration> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 87 | |
| 88 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 89 | <plugin> |
| 90 | <groupId>org.apache.felix</groupId> |
| 91 | <artifactId>maven-bundle-plugin</artifactId> |
| 92 | <version>2.3.4</version> |
| 93 | <extensions>true</extensions> |
| 94 | <configuration> |
| 95 | <instructions> |
| 96 | <Bundle-SymbolicName> |
| 97 | ${project.artifactId} |
Felix Meschberger | e1b7ef8 | 2010-04-08 10:37:44 +0000 | [diff] [blame] | 98 | </Bundle-SymbolicName> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 99 | <Import-Package> |
| 100 | javax.management.*, |
| 101 | org.osgi.framework |
Felix Meschberger | b69b26f | 2010-04-08 10:39:22 +0000 | [diff] [blame] | 102 | </Import-Package> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 103 | <DynamicImport-Package> |
| 104 | <!-- logging --> |
| 105 | org.osgi.service.log;version="[1.3,2)", |
Felix Meschberger | e1b7ef8 | 2010-04-08 10:37:44 +0000 | [diff] [blame] | 106 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 107 | <!-- configuration --> |
| 108 | org.osgi.service.cm;version="[1.2,2)", |
| 109 | org.osgi.service.metatype;version="[1.1,2)", |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 110 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 111 | <!-- plug into the web console --> |
| 112 | javax.servlet; |
Felix Meschberger | b6a918c | 2012-06-01 15:30:58 +0000 | [diff] [blame^] | 113 | javax.servlet.http;version="[2.3,4)", |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 114 | org.apache.felix.webconsole;version="[3.0,3.2)", |
Valentin Valchev | bbe5fb5 | 2012-04-05 11:48:46 +0000 | [diff] [blame] | 115 | |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 116 | <!-- plug into the traditional Felix shell --> |
| 117 | org.apache.felix.shell;version="[1.0,1.1)" |
| 118 | </DynamicImport-Package> |
| 119 | <Private-Package> |
| 120 | org.apache.felix.webconsole.plugins.memoryusage.* |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 121 | </Private-Package> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 122 | <Bundle-Activator> |
| 123 | org.apache.felix.webconsole.plugins.memoryusage.internal.Activator |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 124 | </Bundle-Activator> |
Felix Meschberger | c50f137 | 2012-06-01 15:25:23 +0000 | [diff] [blame] | 125 | </instructions> |
| 126 | </configuration> |
| 127 | </plugin> |
| 128 | <plugin> |
| 129 | <groupId>org.apache.rat</groupId> |
| 130 | <artifactId>apache-rat-plugin</artifactId> |
| 131 | <configuration> |
| 132 | <includes> |
| 133 | <include>src/**</include> |
| 134 | </includes> |
| 135 | <excludes> |
| 136 | <exclude>src/main/appended-resources/**</exclude> |
| 137 | <exclude>src/main/resources/templates/memoryusage.html</exclude> |
| 138 | </excludes> |
| 139 | </configuration> |
| 140 | </plugin> |
| 141 | </plugins> |
| 142 | </build> |
| 143 | <dependencies> |
| 144 | <dependency> |
| 145 | <groupId>org.osgi</groupId> |
| 146 | <artifactId>org.osgi.core</artifactId> |
| 147 | <version>4.0.0</version> |
| 148 | <scope>provided</scope> |
| 149 | </dependency> |
| 150 | <dependency> |
| 151 | <groupId>org.osgi</groupId> |
| 152 | <artifactId>org.osgi.compendium</artifactId> |
| 153 | <version>4.0.0</version> |
| 154 | <scope>provided</scope> |
| 155 | </dependency> |
| 156 | <dependency> |
| 157 | <groupId>org.apache.felix</groupId> |
| 158 | <artifactId>org.apache.felix.shell</artifactId> |
| 159 | <version>1.0.0</version> |
| 160 | <scope>provided</scope> |
| 161 | </dependency> |
| 162 | <dependency> |
| 163 | <groupId>org.apache.felix</groupId> |
| 164 | <artifactId>org.apache.felix.webconsole</artifactId> |
| 165 | <version>3.0.0</version> |
| 166 | <scope>provided</scope> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>javax.servlet</groupId> |
| 170 | <artifactId>servlet-api</artifactId> |
| 171 | <version>2.3</version> |
| 172 | <scope>provided</scope> |
| 173 | </dependency> |
| 174 | </dependencies> |
Felix Meschberger | 9d86a26 | 2010-03-18 21:35:20 +0000 | [diff] [blame] | 175 | </project> |