Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 1 | <project> |
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> |
Richard S. Hall | 8e1e6f3 | 2006-03-09 20:37:02 +0000 | [diff] [blame] | 5 | <version>0.8.0-SNAPSHOT</version> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 6 | </parent> |
| 7 | <modelVersion>4.0.0</modelVersion> |
| 8 | <packaging>jar</packaging> |
| 9 | <name>Apache Felix Main</name> |
| 10 | <artifactId>org.apache.felix.main</artifactId> |
| 11 | <dependencies> |
| 12 | <dependency> |
| 13 | <groupId>${pom.groupId}</groupId> |
| 14 | <artifactId>org.apache.felix.framework</artifactId> |
| 15 | <version>${pom.version}</version> |
| 16 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 17 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 18 | <properties> |
| 19 | <property name="install.home" value="${basedir.absolutePath}"/> |
| 20 | </properties> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 21 | <build> |
| 22 | <plugins> |
| 23 | <plugin> |
| 24 | <groupId>org.apache.maven.plugins</groupId> |
| 25 | <artifactId>maven-jar-plugin</artifactId> |
| 26 | <configuration> |
| 27 | <archive> |
| 28 | <manifestFile>src/main/manifest/Manifest.mf</manifestFile> |
| 29 | <manifest> |
| 30 | <mainClass>org.apache.felix.main.Main</mainClass> |
| 31 | </manifest> |
| 32 | </archive> |
| 33 | </configuration> |
| 34 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 35 | <plugin> |
| 36 | <artifactId>maven-antrun-plugin</artifactId> |
| 37 | <executions> |
| 38 | <execution> |
| 39 | <phase>install</phase> |
| 40 | <configuration> |
| 41 | <tasks> |
| 42 | <delete dir="${basedir}/bin"/> |
| 43 | <mkdir dir="${basedir}/bin"/> |
| 44 | <delete dir="${basedir}/lib"/> |
| 45 | <mkdir dir="${basedir}/lib"/> |
| 46 | <delete dir="${basedir}/conf"/> |
| 47 | <mkdir dir="${basedir}/conf"/> |
| 48 | <delete dir="${basedir}/bundle"/> |
| 49 | <mkdir dir="${basedir}/bundle"/> |
| 50 | <copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar" |
| 51 | tofile="${basedir}/bin/felix.jar"/> |
| 52 | <copy file="${basedir}/target/classes/config.properties" |
| 53 | todir="${basedir}/conf"/> |
| 54 | <copy file="${basedir}/../org.apache.felix.framework/target/org.apache.felix.framework-${pom.version}.jar" |
| 55 | todir="${basedir}/lib"/> |
Michael E. Rodriguez | d70c291 | 2006-03-30 19:57:31 +0000 | [diff] [blame] | 56 | <copy file="${basedir}/../org.osgi.core/target/org.osgi.core-${pom.version}.jar" |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 57 | todir="${basedir}/lib"/> |
| 58 | <copy file="${basedir}/../org.apache.felix.shell/target/org.apache.felix.shell-${pom.version}.jar" |
| 59 | todir="${basedir}/bundle"/> |
| 60 | <copy file="${basedir}/../org.apache.felix.shell.tui/target/org.apache.felix.shell.tui-${pom.version}.jar" |
| 61 | todir="${basedir}/bundle"/> |
Richard S. Hall | 20f9caf | 2006-04-04 13:19:47 +0000 | [diff] [blame] | 62 | <copy file="${basedir}/../org.apache.felix.bundlerepository/target/org.apache.felix.bundlerepository-${pom.version}.jar" |
| 63 | todir="${basedir}/bundle"/> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 64 | </tasks> |
| 65 | </configuration> |
| 66 | <goals> |
| 67 | <goal>run</goal> |
| 68 | </goals> |
| 69 | </execution> |
| 70 | </executions> |
| 71 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 72 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 73 | <resources> |
| 74 | <resource> |
| 75 | <directory>src/main/resources</directory> |
| 76 | <filtering>true</filtering> |
| 77 | </resource> |
| 78 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 79 | </build> |
| 80 | </project> |