blob: e64b7189d69997185a52b960fce4b19a7afd2bfc [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
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. -->
12<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13 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
Valentin Valchevbbe5fb52012-04-05 11:48:46 +000015 <modelVersion>4.0.0</modelVersion>
16 <parent>
17 <groupId>org.apache.felix</groupId>
18 <artifactId>felix-parent</artifactId>
19 <version>1.2.0</version>
20 <relativePath>../../../pom/pom.xml</relativePath>
21 </parent>
Felix Meschberger9d86a262010-03-18 21:35:20 +000022
Valentin Valchevbbe5fb52012-04-05 11:48:46 +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
Valentin Valchevbbe5fb52012-04-05 11:48:46 +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
Valentin Valchevbbe5fb52012-04-05 11:48:46 +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>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +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>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +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>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +000043 </scm>
Felix Meschberger9d86a262010-03-18 21:35:20 +000044
Valentin Valchevbbe5fb52012-04-05 11:48:46 +000045 <build>
46
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>
60
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>
70
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>
87
88
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 Meschbergere1b7ef82010-04-08 10:37:44 +000098 </Bundle-SymbolicName>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +000099 <Import-Package>
100 javax.management.*,
101 org.osgi.framework
Felix Meschbergerb69b26f2010-04-08 10:39:22 +0000102 </Import-Package>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000103 <DynamicImport-Package>
104 <!-- logging -->
105 org.osgi.service.log;version="[1.3,2)",
Felix Meschbergere1b7ef82010-04-08 10:37:44 +0000106
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000107 <!-- configuration -->
108 org.osgi.service.cm;version="[1.2,2)",
109 org.osgi.service.metatype;version="[1.1,2)",
110
111 <!-- 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)",
115
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 Meschberger9d86a262010-03-18 21:35:20 +0000121 </Private-Package>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000122 <Bundle-Activator>
123 org.apache.felix.webconsole.plugins.memoryusage.internal.Activator
Felix Meschberger9d86a262010-03-18 21:35:20 +0000124 </Bundle-Activator>
Valentin Valchevbbe5fb52012-04-05 11:48:46 +0000125 </instructions>
126 </configuration>
127 </plugin>
128 </plugins>
129 </build>
130 <dependencies>
131 <dependency>
132 <groupId>org.osgi</groupId>
133 <artifactId>org.osgi.core</artifactId>
134 <version>4.0.0</version>
135 <scope>provided</scope>
136 </dependency>
137 <dependency>
138 <groupId>org.osgi</groupId>
139 <artifactId>org.osgi.compendium</artifactId>
140 <version>4.0.0</version>
141 <scope>provided</scope>
142 </dependency>
143 <dependency>
144 <groupId>org.apache.felix</groupId>
145 <artifactId>org.apache.felix.shell</artifactId>
146 <version>1.0.0</version>
147 <scope>provided</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.apache.felix</groupId>
151 <artifactId>org.apache.felix.webconsole</artifactId>
152 <version>3.0.0</version>
153 <scope>provided</scope>
154 </dependency>
155 <dependency>
156 <groupId>javax.servlet</groupId>
157 <artifactId>servlet-api</artifactId>
158 <version>2.3</version>
159 <scope>provided</scope>
160 </dependency>
161 </dependencies>
Felix Meschberger9d86a262010-03-18 21:35:20 +0000162</project>