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