Carsten Ziegeler | b61fe0e | 2008-01-03 09:24:12 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 19 | <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"> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 20 | <parent> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix</artifactId> |
Carsten Ziegeler | 646b9f1 | 2008-01-16 07:44:32 +0000 | [diff] [blame] | 23 | <version>1.0.2</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>bundle</packaging> |
| 28 | <name>JMood JMX Management Agent</name> |
| 29 | <version>0.9.0-SNAPSHOT</version> |
| 30 | <artifactId>${groupId}.jmood</artifactId> |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>${pom.groupId}</groupId> |
| 34 | <artifactId>org.apache.felix.framework</artifactId> |
| 35 | <version>1.0.0</version> |
| 36 | <scope>provided</scope> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>${pom.groupId}</groupId> |
| 40 | <artifactId>org.osgi.core</artifactId> |
| 41 | <version>1.0.0</version> |
| 42 | <scope>provided</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>${pom.groupId}</groupId> |
| 46 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | c340ecf | 2008-01-28 07:21:59 +0000 | [diff] [blame] | 47 | <version>1.0.0</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 48 | <scope>provided</scope> |
| 49 | </dependency> |
| 50 | |
| 51 | <!-- Building on Java prior to Java 5 requires these --> |
| 52 | <dependency> |
| 53 | <groupId>mx4j</groupId> |
| 54 | <artifactId>mx4j</artifactId> |
| 55 | <version>3.0.1</version> |
| 56 | <scope>provided</scope> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>mx4j</groupId> |
| 60 | <artifactId>mx4j-remote</artifactId> |
| 61 | <version>3.0.1</version> |
| 62 | <scope>provided</scope> |
| 63 | </dependency> |
| 64 | |
| 65 | <dependency> |
| 66 | <groupId>junit</groupId> |
| 67 | <artifactId>junit</artifactId> |
| 68 | <version>3.8.1</version> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | </dependencies> |
| 72 | <build> |
| 73 | <resources> |
| 74 | <resource> |
| 75 | <directory>src/main/resources</directory> |
| 76 | <filtering>true</filtering> |
| 77 | </resource> |
| 78 | </resources> |
| 79 | <plugins> |
| 80 | <plugin> |
| 81 | <groupId>org.apache.felix</groupId> |
| 82 | <artifactId>maven-bundle-plugin</artifactId> |
Stuart McCulloch | cb8192f | 2008-02-18 07:37:05 +0000 | [diff] [blame^] | 83 | <version>1.2.1</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 84 | <extensions>true</extensions> |
| 85 | <configuration> |
| 86 | <instructions> |
| 87 | <Bundle-Activator> |
| 88 | org.apache.felix.jmood.Activator |
| 89 | </Bundle-Activator> |
| 90 | <Private-Package> |
| 91 | org.apache.felix.jmood.* |
| 92 | </Private-Package> |
| 93 | </instructions> |
| 94 | </configuration> |
| 95 | </plugin> |
| 96 | <plugin> |
| 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-surefire-plugin</artifactId> |
| 99 | <configuration> |
| 100 | <!-- |
| 101 | Current tests are (unfinished) integration tests, and need |
| 102 | to have the bundle available, so there's a chicken-egg problem there. Temporal workaround: omit tests in pom |
| 103 | --> |
| 104 | |
| 105 | <skip>true</skip> |
| 106 | </configuration> |
| 107 | </plugin> |
| 108 | |
| 109 | </plugins> |
| 110 | </build> |
| 111 | <reporting> |
| 112 | <plugins> |
| 113 | <plugin> |
| 114 | <groupId>org.apache.maven.plugins</groupId> |
| 115 | <artifactId> |
| 116 | maven-project-info-reports-plugin |
| 117 | </artifactId> |
| 118 | </plugin> |
| 119 | </plugins> |
| 120 | </reporting> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 121 | </project> |