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