blob: f906ce5149735897bd6ce67c2012fb9ceae50276 [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. -->
Valentin Valchevbbe5fb52012-04-05 11:48:46 +000012<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Felix Meschbergerc50f1372012-06-01 15:25:23 +000013 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 +000014
Felix Meschbergerc50f1372012-06-01 15:25:23 +000015 <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 Meschberger9d86a262010-03-18 21:35:20 +000022
Felix Meschbergerc50f1372012-06-01 15:25:23 +000023 <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
24 <packaging>bundle</packaging>
25 <version>1.0.3-SNAPSHOT</version>
Felix Meschberger9d86a262010-03-18 21:35:20 +000026
Felix Meschbergerc50f1372012-06-01 15:25:23 +000027 <name>Apache Felix Web Console Memory Usage Plugin</name>
28 <description>
Felix Meschberger9d86a262010-03-18 21:35:20 +000029 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 Meschbergerc50f1372012-06-01 15:25:23 +000033 <scm>
34 <connection>
Felix Meschberger96726482010-08-11 08:35:50 +000035 scm:svn:http://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/memoryusage
Felix Meschberger9d86a262010-03-18 21:35:20 +000036 </connection>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000037 <developerConnection>
Felix Meschberger96726482010-08-11 08:35:50 +000038 scm:svn:https://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/memoryusage
Felix Meschberger9d86a262010-03-18 21:35:20 +000039 </developerConnection>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000040 <url>
Felix Meschberger96726482010-08-11 08:35:50 +000041 http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/memoryusage
Felix Meschberger9d86a262010-03-18 21:35:20 +000042 </url>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000043 </scm>
Felix Meschberger9d86a262010-03-18 21:35:20 +000044
Felix Meschbergerc50f1372012-06-01 15:25:23 +000045 <build>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +000046
Felix Meschbergerc50f1372012-06-01 15:25:23 +000047 <!-- 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 Valchevbbe5fb52012-04-05 11:48:46 +000060
Felix Meschbergerc50f1372012-06-01 15:25:23 +000061 <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 Valchevbbe5fb52012-04-05 11:48:46 +000070
Felix Meschbergerc50f1372012-06-01 15:25:23 +000071 <!-- 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 Valchevbbe5fb52012-04-05 11:48:46 +000087
88
Felix Meschbergerc50f1372012-06-01 15:25:23 +000089 <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 Meschbergere1b7ef82010-04-08 10:37:44 +000098 </Bundle-SymbolicName>
Felix Meschbergerc50f1372012-06-01 15:25:23 +000099 <Import-Package>
100 javax.management.*,
101 org.osgi.framework
Felix Meschbergerb69b26f2010-04-08 10:39:22 +0000102 </Import-Package>
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000103 <DynamicImport-Package>
104 <!-- logging -->
105 org.osgi.service.log;version="[1.3,2)",
Felix Meschbergere1b7ef82010-04-08 10:37:44 +0000106
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000107 <!-- configuration -->
108 org.osgi.service.cm;version="[1.2,2)",
109 org.osgi.service.metatype;version="[1.1,2)",
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000110
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000111 <!-- plug into the web console -->
112 javax.servlet;
113 javax.servlet.http;version="[2.3,3)",
114 org.apache.felix.webconsole;version="[3.0,3.2)",
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000115
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000116 <!-- 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 Meschberger9d86a262010-03-18 21:35:20 +0000121 </Private-Package>
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000122 <Bundle-Activator>
123 org.apache.felix.webconsole.plugins.memoryusage.internal.Activator
Felix Meschberger9d86a262010-03-18 21:35:20 +0000124 </Bundle-Activator>
Felix Meschbergerc50f1372012-06-01 15:25:23 +0000125 </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 Meschberger9d86a262010-03-18 21:35:20 +0000175</project>