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> |
Richard S. Hall | 487c44d | 2007-05-22 15:58:30 +0000 | [diff] [blame] | 39 | <exclusion> |
| 40 | <groupId>${pom.groupId}</groupId> |
| 41 | <artifactId>org.osgi.compendium</artifactId> |
| 42 | </exclusion> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 43 | </exclusions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 44 | </dependency> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>${pom.groupId}</groupId> |
| 47 | <artifactId>org.apache.felix.shell</artifactId> |
| 48 | <version>${pom.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 49 | <exclusions> |
| 50 | <exclusion> |
| 51 | <groupId>${pom.groupId}</groupId> |
| 52 | <artifactId>org.osgi.core</artifactId> |
| 53 | </exclusion> |
| 54 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>${pom.groupId}</groupId> |
| 58 | <artifactId>org.apache.felix.shell.tui</artifactId> |
| 59 | <version>${pom.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 60 | <exclusions> |
| 61 | <exclusion> |
| 62 | <groupId>${pom.groupId}</groupId> |
| 63 | <artifactId>org.osgi.core</artifactId> |
| 64 | </exclusion> |
| 65 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>${pom.groupId}</groupId> |
| 69 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 70 | <version>${pom.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 71 | <exclusions> |
| 72 | <exclusion> |
| 73 | <groupId>${pom.groupId}</groupId> |
| 74 | <artifactId>org.osgi.core</artifactId> |
| 75 | </exclusion> |
Richard S. Hall | d4d36cc | 2007-06-26 10:04:00 +0000 | [diff] [blame] | 76 | <exclusion> |
| 77 | <groupId>net.sf.kxml</groupId> |
| 78 | <artifactId>kxml2</artifactId> |
| 79 | </exclusion> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 80 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 81 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 82 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 83 | <properties> |
| 84 | <property name="install.home" value="${basedir.absolutePath}"/> |
| 85 | </properties> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 86 | <build> |
| 87 | <plugins> |
| 88 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 89 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 90 | <artifactId>maven-bundle-plugin</artifactId> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 91 | <extensions>true</extensions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 92 | <configuration> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 93 | <instructions> |
Richard S. Hall | 2730552 | 2007-03-28 15:28:25 +0000 | [diff] [blame] | 94 | <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 95 | <Main-Class>org.apache.felix.main.Main</Main-Class> |
| 96 | <Bundle-Name>Apache Felix</Bundle-Name> |
| 97 | <Bundle-Description>OSGi R4 framework.</Bundle-Description> |
Richard S. Hall | 487c44d | 2007-05-22 15:58:30 +0000 | [diff] [blame] | 98 | <Private-Package>org.apache.felix.main.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.osgi.framework,org.osgi.service.packageadmin,org.osgi.service.startlevel,org.osgi.service.url,org.osgi.util.tracker</Private-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 99 | <Import-Package>!*</Import-Package> |
| 100 | <Include-Resource>{src/main/resources/}</Include-Resource> |
| 101 | </instructions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 102 | </configuration> |
| 103 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 104 | <plugin> |
| 105 | <artifactId>maven-antrun-plugin</artifactId> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <phase>install</phase> |
| 109 | <configuration> |
| 110 | <tasks> |
| 111 | <delete dir="${basedir}/bin"/> |
| 112 | <mkdir dir="${basedir}/bin"/> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 113 | <delete dir="${basedir}/conf"/> |
| 114 | <mkdir dir="${basedir}/conf"/> |
| 115 | <delete dir="${basedir}/bundle"/> |
| 116 | <mkdir dir="${basedir}/bundle"/> |
| 117 | <copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar" |
| 118 | tofile="${basedir}/bin/felix.jar"/> |
| 119 | <copy file="${basedir}/target/classes/config.properties" |
| 120 | todir="${basedir}/conf"/> |
Richard S. Hall | 0fcc271 | 2006-08-01 15:22:00 +0000 | [diff] [blame] | 121 | <copy file="${basedir}/../shell/target/org.apache.felix.shell-${pom.version}.jar" |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 122 | todir="${basedir}/bundle"/> |
Richard S. Hall | 0fcc271 | 2006-08-01 15:22:00 +0000 | [diff] [blame] | 123 | <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] | 124 | todir="${basedir}/bundle"/> |
Richard S. Hall | 0fcc271 | 2006-08-01 15:22:00 +0000 | [diff] [blame] | 125 | <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] | 126 | todir="${basedir}/bundle"/> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 127 | </tasks> |
| 128 | </configuration> |
| 129 | <goals> |
| 130 | <goal>run</goal> |
| 131 | </goals> |
| 132 | </execution> |
| 133 | </executions> |
| 134 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 135 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 136 | <resources> |
| 137 | <resource> |
| 138 | <directory>src/main/resources</directory> |
| 139 | <filtering>true</filtering> |
| 140 | </resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 141 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 142 | </build> |
| 143 | </project> |