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 | --> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 20 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | 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] | 22 | <parent> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 23 | <groupId>org.apache.felix</groupId> |
| 24 | <artifactId>felix</artifactId> |
Carsten Ziegeler | b61fe0e | 2008-01-03 09:24:12 +0000 | [diff] [blame] | 25 | <version>1.0.1</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 26 | <relativePath>../pom/pom.xml</relativePath> |
| 27 | </parent> |
| 28 | <modelVersion>4.0.0</modelVersion> |
| 29 | <packaging>bundle</packaging> |
| 30 | <name>JMood JMX Management Agent</name> |
| 31 | <version>0.9.0-SNAPSHOT</version> |
| 32 | <artifactId>${groupId}.jmood</artifactId> |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>${pom.groupId}</groupId> |
| 36 | <artifactId>org.apache.felix.framework</artifactId> |
| 37 | <version>1.0.0</version> |
| 38 | <scope>provided</scope> |
| 39 | </dependency> |
| 40 | <dependency> |
| 41 | <groupId>${pom.groupId}</groupId> |
| 42 | <artifactId>org.osgi.core</artifactId> |
| 43 | <version>1.0.0</version> |
| 44 | <scope>provided</scope> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>${pom.groupId}</groupId> |
| 48 | <artifactId>org.osgi.compendium</artifactId> |
| 49 | <version>0.9.0-SNAPSHOT</version> |
| 50 | <scope>provided</scope> |
| 51 | </dependency> |
| 52 | |
| 53 | <!-- Building on Java prior to Java 5 requires these --> |
| 54 | <dependency> |
| 55 | <groupId>mx4j</groupId> |
| 56 | <artifactId>mx4j</artifactId> |
| 57 | <version>3.0.1</version> |
| 58 | <scope>provided</scope> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>mx4j</groupId> |
| 62 | <artifactId>mx4j-remote</artifactId> |
| 63 | <version>3.0.1</version> |
| 64 | <scope>provided</scope> |
| 65 | </dependency> |
| 66 | |
| 67 | <dependency> |
| 68 | <groupId>junit</groupId> |
| 69 | <artifactId>junit</artifactId> |
| 70 | <version>3.8.1</version> |
| 71 | <scope>test</scope> |
| 72 | </dependency> |
| 73 | </dependencies> |
| 74 | <build> |
| 75 | <resources> |
| 76 | <resource> |
| 77 | <directory>src/main/resources</directory> |
| 78 | <filtering>true</filtering> |
| 79 | </resource> |
| 80 | </resources> |
| 81 | <plugins> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.felix</groupId> |
| 84 | <artifactId>maven-bundle-plugin</artifactId> |
Stuart McCulloch | 871e7db | 2007-12-20 17:03:43 +0000 | [diff] [blame] | 85 | <version>1.1.0-SNAPSHOT</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 86 | <extensions>true</extensions> |
| 87 | <configuration> |
| 88 | <instructions> |
| 89 | <Bundle-Activator> |
| 90 | org.apache.felix.jmood.Activator |
| 91 | </Bundle-Activator> |
| 92 | <Private-Package> |
| 93 | org.apache.felix.jmood.* |
| 94 | </Private-Package> |
| 95 | </instructions> |
| 96 | </configuration> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-surefire-plugin</artifactId> |
| 101 | <configuration> |
| 102 | <!-- |
| 103 | Current tests are (unfinished) integration tests, and need |
| 104 | to have the bundle available, so there's a chicken-egg problem there. Temporal workaround: omit tests in pom |
| 105 | --> |
| 106 | |
| 107 | <skip>true</skip> |
| 108 | </configuration> |
| 109 | </plugin> |
| 110 | |
| 111 | </plugins> |
| 112 | </build> |
| 113 | <reporting> |
| 114 | <plugins> |
| 115 | <plugin> |
| 116 | <groupId>org.apache.maven.plugins</groupId> |
| 117 | <artifactId> |
| 118 | maven-project-info-reports-plugin |
| 119 | </artifactId> |
| 120 | </plugin> |
| 121 | </plugins> |
| 122 | </reporting> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 123 | </project> |