blob: 6518facbd3e7efa9c48cdc01b2e55caa9dba968d [file] [log] [blame]
Felix Meschberger9d86a262010-03-18 21:35:20 +00001<?xml version="1.0" encoding="ISO-8859-1"?>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +00002<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
Felix Meschbergerc50f1372012-06-01 15:25:23 +00003 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 Meschberger6237d8c2012-06-01 15:32:31 +000012<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 Meschberger9d86a262010-03-18 21:35:20 +000013
Felix Meschbergerc50f1372012-06-01 15:25:23 +000014 <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 Meschberger9d86a262010-03-18 21:35:20 +000021
Felix Meschbergerc50f1372012-06-01 15:25:23 +000022 <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
23 <packaging>bundle</packaging>
Felix Meschberger87b353d2012-06-01 15:32:49 +000024 <version>1.0.5-SNAPSHOT</version>
Felix Meschberger9d86a262010-03-18 21:35:20 +000025
Felix Meschbergerc50f1372012-06-01 15:25:23 +000026 <name>Apache Felix Web Console Memory Usage Plugin</name>
27 <description>
Felix Meschberger9d86a262010-03-18 21:35:20 +000028 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 Meschbergerc50f1372012-06-01 15:25:23 +000032 <scm>
33 <connection>
Felix Meschberger87b353d2012-06-01 15:32:49 +000034 scm:svn:http://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/memoryusage
Felix Meschberger9d86a262010-03-18 21:35:20 +000035 </connection>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000036 <developerConnection>
Felix Meschberger87b353d2012-06-01 15:32:49 +000037 scm:svn:https://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/memoryusage
Felix Meschberger9d86a262010-03-18 21:35:20 +000038 </developerConnection>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000039 <url>
Felix Meschberger87b353d2012-06-01 15:32:49 +000040 http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/memoryusage
Felix Meschberger9d86a262010-03-18 21:35:20 +000041 </url>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000042 </scm>
Felix Meschberger9d86a262010-03-18 21:35:20 +000043
Felix Meschbergerc50f1372012-06-01 15:25:23 +000044 <build>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +000045
Felix Meschbergerc50f1372012-06-01 15:25:23 +000046 <!-- 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 Valchevbbe5fb52012-04-05 11:48:46 +000059
Felix Meschbergerc50f1372012-06-01 15:25:23 +000060 <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 Valchevbbe5fb52012-04-05 11:48:46 +000069
Felix Meschbergerc50f1372012-06-01 15:25:23 +000070 <!-- 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 Valchevbbe5fb52012-04-05 11:48:46 +000086
87
Felix Meschbergerc50f1372012-06-01 15:25:23 +000088 <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 Meschbergere1b7ef82010-04-08 10:37:44 +000097 </Bundle-SymbolicName>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000098 <Import-Package>
99 javax.management.*,
100 org.osgi.framework
Felix Meschbergerb69b26f2010-04-08 10:39:22 +0000101 </Import-Package>
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000102 <DynamicImport-Package>
103 <!-- logging -->
104 org.osgi.service.log;version="[1.3,2)",
Felix Meschbergere1b7ef82010-04-08 10:37:44 +0000105
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000106 <!-- configuration -->
107 org.osgi.service.cm;version="[1.2,2)",
108 org.osgi.service.metatype;version="[1.1,2)",
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000109
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000110 <!-- plug into the web console -->
111 javax.servlet;
Felix Meschbergerb6a918c2012-06-01 15:30:58 +0000112 javax.servlet.http;version="[2.3,4)",
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000113 org.apache.felix.webconsole;version="[3.0,3.2)",
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000114
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000115 <!-- 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 Meschberger9d86a262010-03-18 21:35:20 +0000120 </Private-Package>
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000121 <Bundle-Activator>
122 org.apache.felix.webconsole.plugins.memoryusage.internal.Activator
Felix Meschberger9d86a262010-03-18 21:35:20 +0000123 </Bundle-Activator>
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000124 </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 Meschberger9d86a262010-03-18 21:35:20 +0000174</project>