Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 1 | <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"> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 2 | <parent> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 3 | <groupId>org.apache.felix</groupId> |
| 4 | <artifactId>felix</artifactId> |
Carsten Ziegeler | 646b9f1 | 2008-01-16 07:44:32 +0000 | [diff] [blame] | 5 | <version>1.0.2</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 6 | <relativePath>../pom/pom.xml</relativePath> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 7 | </parent> |
| 8 | <modelVersion>4.0.0</modelVersion> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 9 | <packaging>bundle</packaging> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 10 | <name>Apache Felix Main</name> |
| 11 | <artifactId>org.apache.felix.main</artifactId> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame^] | 12 | <version>1.0.4</version> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 13 | <dependencies> |
| 14 | <dependency> |
| 15 | <groupId>${pom.groupId}</groupId> |
| 16 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 17 | <version>1.0.4</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 18 | <exclusions> |
| 19 | <exclusion> |
| 20 | <groupId>${pom.groupId}</groupId> |
| 21 | <artifactId>org.osgi.core</artifactId> |
| 22 | </exclusion> |
Richard S. Hall | 4a591ba | 2008-01-27 18:42:15 +0000 | [diff] [blame] | 23 | <exclusion> |
Richard S. Hall | 487c44d | 2007-05-22 15:58:30 +0000 | [diff] [blame] | 24 | <groupId>${pom.groupId}</groupId> |
| 25 | <artifactId>org.osgi.compendium</artifactId> |
Richard S. Hall | 4a591ba | 2008-01-27 18:42:15 +0000 | [diff] [blame] | 26 | </exclusion> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 27 | </exclusions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 28 | </dependency> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 29 | <dependency> |
| 30 | <groupId>${pom.groupId}</groupId> |
| 31 | <artifactId>org.apache.felix.shell</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 32 | <version>1.0.1</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 33 | <exclusions> |
| 34 | <exclusion> |
| 35 | <groupId>${pom.groupId}</groupId> |
| 36 | <artifactId>org.osgi.core</artifactId> |
| 37 | </exclusion> |
| 38 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 39 | </dependency> |
| 40 | <dependency> |
| 41 | <groupId>${pom.groupId}</groupId> |
| 42 | <artifactId>org.apache.felix.shell.tui</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 43 | <version>1.0.1</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 44 | <exclusions> |
| 45 | <exclusion> |
| 46 | <groupId>${pom.groupId}</groupId> |
| 47 | <artifactId>org.osgi.core</artifactId> |
| 48 | </exclusion> |
| 49 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>${pom.groupId}</groupId> |
| 53 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 54 | <version>1.0.3</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 55 | <exclusions> |
| 56 | <exclusion> |
| 57 | <groupId>${pom.groupId}</groupId> |
| 58 | <artifactId>org.osgi.core</artifactId> |
| 59 | </exclusion> |
Richard S. Hall | d4d36cc | 2007-06-26 10:04:00 +0000 | [diff] [blame] | 60 | <exclusion> |
Richard S. Hall | 4a591ba | 2008-01-27 18:42:15 +0000 | [diff] [blame] | 61 | <groupId>${pom.groupId}</groupId> |
| 62 | <artifactId>org.osgi.service.obr</artifactId> |
| 63 | </exclusion> |
| 64 | <exclusion> |
Richard S. Hall | d4d36cc | 2007-06-26 10:04:00 +0000 | [diff] [blame] | 65 | <groupId>net.sf.kxml</groupId> |
| 66 | <artifactId>kxml2</artifactId> |
| 67 | </exclusion> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 68 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 69 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 70 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 71 | <properties> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame^] | 72 | <property name="install.home" value="${basedir.absolutePath}" /> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 73 | </properties> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 74 | <build> |
| 75 | <plugins> |
| 76 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 77 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 78 | <artifactId>maven-bundle-plugin</artifactId> |
Stuart McCulloch | 876ca72 | 2008-02-26 17:15:42 +0000 | [diff] [blame] | 79 | <version>1.4.0</version> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 80 | <extensions>true</extensions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 81 | <configuration> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 82 | <instructions> |
Richard S. Hall | 2730552 | 2007-03-28 15:28:25 +0000 | [diff] [blame] | 83 | <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 84 | <Main-Class>org.apache.felix.main.Main</Main-Class> |
| 85 | <Bundle-Name>Apache Felix</Bundle-Name> |
| 86 | <Bundle-Description>OSGi R4 framework.</Bundle-Description> |
Carsten Ziegeler | 90f0b9f | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 87 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Karl Pauls | 929bd6a | 2008-01-27 21:07:25 +0000 | [diff] [blame] | 88 | <Private-Package>org.apache.felix.main.*,org.apache.felix.moduleloader.*;-split-package:=merge-first,org.apache.felix.framework.*;-split-package:=merge-first,org.osgi.framework;-split-package:=merge-first,org.osgi.service.packageadmin;-split-package:=merge-first,org.osgi.service.startlevel;-split-package:=merge-first,org.osgi.service.url;-split-package:=merge-first,org.osgi.util.tracker;-split-package:=merge-first</Private-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 89 | <Import-Package>!*</Import-Package> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 90 | <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,{src/main/resources/}</Include-Resource> |
Richard S. Hall | f78c6b6 | 2007-10-16 16:14:42 +0000 | [diff] [blame] | 91 | <!-- Include these properties here because we want them |
| 92 | substituted in the default.properties resource file |
| 93 | so that we only have to maintain one set of properties |
Richard S. Hall | 4d18a85 | 2007-10-16 16:17:19 +0000 | [diff] [blame] | 94 | and only for that reason. --> |
Richard S. Hall | f78c6b6 | 2007-10-16 16:14:42 +0000 | [diff] [blame] | 95 | <_include>src/main/resources/config.properties</_include> |
| 96 | <dollar>$</dollar> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 97 | </instructions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 98 | </configuration> |
| 99 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 100 | <plugin> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 101 | <groupId>org.apache.maven.plugins</groupId> |
| 102 | <artifactId>maven-dependency-plugin</artifactId> |
| 103 | <executions> |
| 104 | <execution> |
Karl Pauls | 39f9e54 | 2007-09-12 18:18:40 +0000 | [diff] [blame] | 105 | <id>unpack</id> |
| 106 | <phase>validate</phase> |
| 107 | <goals> |
| 108 | <goal>unpack</goal> |
| 109 | </goals> |
| 110 | <configuration> |
| 111 | <outputDirectory>${project.build.outputDirectory}</outputDirectory> |
| 112 | <artifactItems> |
| 113 | <artifactItem> |
| 114 | <groupId>${pom.groupId}</groupId> |
| 115 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 116 | <version>1.0.4</version> |
Karl Pauls | 39f9e54 | 2007-09-12 18:18:40 +0000 | [diff] [blame] | 117 | </artifactItem> |
| 118 | </artifactItems> |
| 119 | </configuration> |
| 120 | </execution> |
| 121 | <execution> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 122 | <id>copy</id> |
| 123 | <phase>install</phase> |
| 124 | <goals> |
| 125 | <goal>copy</goal> |
| 126 | </goals> |
| 127 | <configuration> |
| 128 | <artifactItems> |
| 129 | <artifactItem> |
| 130 | <groupId>${pom.groupId}</groupId> |
| 131 | <artifactId>org.apache.felix.shell</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 132 | <version>1.0.1</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 133 | <type>jar</type> |
| 134 | <overWrite>true</overWrite> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame^] | 135 | <outputDirectory>${project.build.directory}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 136 | </artifactItem> |
| 137 | <artifactItem> |
| 138 | <groupId>${pom.groupId}</groupId> |
| 139 | <artifactId>org.apache.felix.shell.tui</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 140 | <version>1.0.1</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 141 | <type>jar</type> |
| 142 | <overWrite>true</overWrite> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame^] | 143 | <outputDirectory>${project.build.directory}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 144 | </artifactItem> |
| 145 | <artifactItem> |
| 146 | <groupId>${pom.groupId}</groupId> |
| 147 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 148 | <version>1.0.3</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 149 | <type>jar</type> |
| 150 | <overWrite>true</overWrite> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame^] | 151 | <outputDirectory>${project.build.directory}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 152 | </artifactItem> |
| 153 | </artifactItems> |
| 154 | </configuration> |
| 155 | </execution> |
| 156 | </executions> |
| 157 | </plugin> |
| 158 | <plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 159 | <artifactId>maven-antrun-plugin</artifactId> |
| 160 | <executions> |
| 161 | <execution> |
| 162 | <phase>install</phase> |
| 163 | <configuration> |
| 164 | <tasks> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame^] | 165 | <delete dir="${basedir}/bin" /> |
| 166 | <mkdir dir="${basedir}/bin" /> |
| 167 | <delete dir="${basedir}/conf" /> |
| 168 | <mkdir dir="${basedir}/conf" /> |
| 169 | <delete dir="${basedir}/bundle" /> |
| 170 | <copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar" tofile="${basedir}/bin/felix.jar" /> |
| 171 | <copy file="${basedir}/target/classes/config.properties" todir="${basedir}/conf" /> |
| 172 | <move file="${basedir}/target/bundle" todir="${basedir}" /> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 173 | </tasks> |
| 174 | </configuration> |
| 175 | <goals> |
| 176 | <goal>run</goal> |
| 177 | </goals> |
| 178 | </execution> |
| 179 | </executions> |
| 180 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 181 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 182 | <resources> |
| 183 | <resource> |
| 184 | <directory>src/main/resources</directory> |
| 185 | <filtering>true</filtering> |
| 186 | </resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 187 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 188 | </build> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame^] | 189 | |
| 190 | <scm> |
| 191 | <connection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.main-1.0.4</connection> |
| 192 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.main-1.0.4</developerConnection> |
| 193 | <url>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.main-1.0.4</url> |
| 194 | </scm> |
| 195 | </project> |