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"> |
| 20 | <parent> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +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> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <name>Management Interactive Shell</name> |
| 28 | <packaging>osgi-bundle</packaging> |
| 29 | <artifactId>${groupId}.mishell</artifactId> |
Karl Pauls | 0a3858c | 2007-07-13 22:03:31 +0000 | [diff] [blame] | 30 | <version>0.9.0-SNAPSHOT</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>junit</groupId> |
| 34 | <artifactId>junit</artifactId> |
| 35 | <version>3.8.1</version> |
| 36 | <scope>test</scope> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>${pom.groupId}</groupId> |
| 40 | <artifactId>${groupId}.jmxintrospector</artifactId> |
Karl Pauls | 0a3858c | 2007-07-13 22:03:31 +0000 | [diff] [blame] | 41 | <version>0.9.0-SNAPSHOT</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>${pom.groupId}</groupId> |
| 45 | <artifactId>org.osgi.core</artifactId> |
Karl Pauls | 0a3858c | 2007-07-13 22:03:31 +0000 | [diff] [blame] | 46 | <version>1.1.0-SNAPSHOT</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 47 | <scope>provided</scope> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>${pom.groupId}</groupId> |
| 51 | <artifactId>org.osgi.compendium</artifactId> |
Karl Pauls | 0a3858c | 2007-07-13 22:03:31 +0000 | [diff] [blame] | 52 | <version>0.9.0-SNAPSHOT</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 53 | <scope>provided</scope> |
| 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
| 57 | <groupId>${pom.groupId}</groupId> |
| 58 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | 0a3858c | 2007-07-13 22:03:31 +0000 | [diff] [blame] | 59 | <version>0.9.0-SNAPSHOT</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 60 | <scope>provided</scope> |
| 61 | </dependency> |
| 62 | |
| 63 | </dependencies> |
| 64 | <build> |
| 65 | <resources> |
| 66 | <resource> |
| 67 | <directory>src/main/resources</directory> |
| 68 | <filtering>true</filtering> |
| 69 | </resource> |
| 70 | </resources> |
| 71 | <plugins> |
| 72 | <plugin> |
| 73 | <groupId>org.apache.felix.plugins</groupId> |
| 74 | <artifactId>maven-osgi-plugin</artifactId> |
Karl Pauls | 0a3858c | 2007-07-13 22:03:31 +0000 | [diff] [blame] | 75 | <version>0.9.0-SNAPSHOT</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 76 | <extensions>true</extensions> |
| 77 | <configuration> |
| 78 | <!-- |
| 79 | We're inlining a lot here. This is nasty for a bundle, nice for an executable jar. |
| 80 | It should be simple to change afterwards |
| 81 | --> |
| 82 | <inlinedArtifacts> |
| 83 | <inlinedArtifact>org.apache.felix.jmxintrospector</inlinedArtifact> |
| 84 | </inlinedArtifacts> |
| 85 | <osgiManifest> |
| 86 | <bundleActivator>${artifactId}.Activator</bundleActivator> |
| 87 | <bundleName>${name}</bundleName> |
| 88 | <bundleDescription>Management Interactive Shell</bundleDescription> |
| 89 | <bundleSymbolicName>${artifactId}</bundleSymbolicName> |
| 90 | <dynamicImportPackage> |
| 91 | * |
| 92 | </dynamicImportPackage> |
| 93 | <importPackage> |
| 94 | <!--Note that we explicitly do not import jmood classes as they we use |
| 95 | dynamically generated interfaces and proxies instead--> |
| 96 | org.osgi.framework, javax.management, javax.management.remote, javax.script |
| 97 | </importPackage> |
| 98 | |
| 99 | </osgiManifest> |
| 100 | </configuration> |
| 101 | </plugin> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-compiler-plugin</artifactId> |
| 105 | <configuration> |
| 106 | <source>1.6</source><!--should fail if not java6--> |
| 107 | <target>1.6</target> |
| 108 | </configuration> |
| 109 | </plugin> |
| 110 | </plugins> |
| 111 | </build> |
| 112 | </project> |