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