Karl Pauls | 4ebe508 | 2006-10-30 15:00:08 +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 | --> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 19 | <project> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 20 | <parent> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix</artifactId> |
Richard S. Hall | 8baa593 | 2006-12-06 15:53:52 +0000 | [diff] [blame] | 23 | <version>0.9.0-incubator-SNAPSHOT</version> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 24 | </parent> |
| 25 | <modelVersion>4.0.0</modelVersion> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 26 | <packaging>bundle</packaging> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 27 | <name>Apache Felix Main</name> |
| 28 | <artifactId>org.apache.felix.main</artifactId> |
| 29 | <dependencies> |
| 30 | <dependency> |
| 31 | <groupId>${pom.groupId}</groupId> |
| 32 | <artifactId>org.apache.felix.framework</artifactId> |
| 33 | <version>${pom.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 34 | <exclusions> |
| 35 | <exclusion> |
| 36 | <groupId>${pom.groupId}</groupId> |
| 37 | <artifactId>org.osgi.core</artifactId> |
| 38 | </exclusion> |
| 39 | </exclusions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 40 | </dependency> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 41 | <dependency> |
| 42 | <groupId>${pom.groupId}</groupId> |
| 43 | <artifactId>org.apache.felix.shell</artifactId> |
| 44 | <version>${pom.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 45 | <exclusions> |
| 46 | <exclusion> |
| 47 | <groupId>${pom.groupId}</groupId> |
| 48 | <artifactId>org.osgi.core</artifactId> |
| 49 | </exclusion> |
| 50 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>${pom.groupId}</groupId> |
| 54 | <artifactId>org.apache.felix.shell.tui</artifactId> |
| 55 | <version>${pom.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 56 | <exclusions> |
| 57 | <exclusion> |
| 58 | <groupId>${pom.groupId}</groupId> |
| 59 | <artifactId>org.osgi.core</artifactId> |
| 60 | </exclusion> |
| 61 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>${pom.groupId}</groupId> |
| 65 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 66 | <version>${pom.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 67 | <exclusions> |
| 68 | <exclusion> |
| 69 | <groupId>${pom.groupId}</groupId> |
| 70 | <artifactId>org.osgi.core</artifactId> |
| 71 | </exclusion> |
| 72 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 73 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 74 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 75 | <properties> |
| 76 | <property name="install.home" value="${basedir.absolutePath}"/> |
| 77 | </properties> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 78 | <build> |
| 79 | <plugins> |
| 80 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 81 | <groupId>org.apache.felix</groupId> |
| 82 | <artifactId>maven-bundle-plugin</artifactId> |
| 83 | <extensions>true</extensions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 84 | <configuration> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 85 | <instructions> |
| 86 | <Main-Class>org.apache.felix.main.Main</Main-Class> |
| 87 | <Bundle-Name>Apache Felix</Bundle-Name> |
| 88 | <Bundle-Description>OSGi R4 framework.</Bundle-Description> |
Richard S. Hall | ab94592 | 2006-11-03 15:26:48 +0000 | [diff] [blame] | 89 | <Private-Package>org.apache.felix.main.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.osgi.*</Private-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 90 | <Import-Package>!*</Import-Package> |
| 91 | <Include-Resource>{src/main/resources/}</Include-Resource> |
| 92 | </instructions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 93 | </configuration> |
| 94 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 95 | <plugin> |
| 96 | <artifactId>maven-antrun-plugin</artifactId> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <phase>install</phase> |
| 100 | <configuration> |
| 101 | <tasks> |
| 102 | <delete dir="${basedir}/bin"/> |
| 103 | <mkdir dir="${basedir}/bin"/> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 104 | <delete dir="${basedir}/conf"/> |
| 105 | <mkdir dir="${basedir}/conf"/> |
| 106 | <delete dir="${basedir}/bundle"/> |
| 107 | <mkdir dir="${basedir}/bundle"/> |
| 108 | <copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar" |
| 109 | tofile="${basedir}/bin/felix.jar"/> |
| 110 | <copy file="${basedir}/target/classes/config.properties" |
| 111 | todir="${basedir}/conf"/> |
Richard S. Hall | 0fcc271 | 2006-08-01 15:22:00 +0000 | [diff] [blame] | 112 | <copy file="${basedir}/../shell/target/org.apache.felix.shell-${pom.version}.jar" |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 113 | todir="${basedir}/bundle"/> |
Richard S. Hall | 0fcc271 | 2006-08-01 15:22:00 +0000 | [diff] [blame] | 114 | <copy file="${basedir}/../shell.tui/target/org.apache.felix.shell.tui-${pom.version}.jar" |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 115 | todir="${basedir}/bundle"/> |
Richard S. Hall | 0fcc271 | 2006-08-01 15:22:00 +0000 | [diff] [blame] | 116 | <copy file="${basedir}/../bundlerepository/target/org.apache.felix.bundlerepository-${pom.version}.jar" |
Richard S. Hall | 20f9caf | 2006-04-04 13:19:47 +0000 | [diff] [blame] | 117 | todir="${basedir}/bundle"/> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 118 | </tasks> |
| 119 | </configuration> |
| 120 | <goals> |
| 121 | <goal>run</goal> |
| 122 | </goals> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 126 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 127 | <resources> |
| 128 | <resource> |
| 129 | <directory>src/main/resources</directory> |
| 130 | <filtering>true</filtering> |
| 131 | </resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 132 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 133 | </build> |
| 134 | </project> |