blob: 9a729ee709d0e90bc011873329cf58c5eacd1fb1 [file] [log] [blame]
Alex Karasulu07d20492006-03-06 15:35:44 +00001<project>
Alex Karasuluc15532e2006-03-06 19:42:54 +00002 <parent>
Alex Karasulu07d20492006-03-06 15:35:44 +00003 <groupId>org.apache.felix</groupId>
4 <artifactId>felix</artifactId>
Richard S. Hall8e1e6f32006-03-09 20:37:02 +00005 <version>0.8.0-SNAPSHOT</version>
Alex Karasulu07d20492006-03-06 15:35:44 +00006 </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 Karasulu07d20492006-03-06 15:35:44 +000017 </dependencies>
Alex Karasuluc15532e2006-03-06 19:42:54 +000018 <properties>
19 <property name="install.home" value="${basedir.absolutePath}"/>
20 </properties>
Alex Karasulu07d20492006-03-06 15:35:44 +000021 <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 Karasuluc15532e2006-03-06 19:42:54 +000035 <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. Rodriguezd70c2912006-03-30 19:57:31 +000056<copy file="${basedir}/../org.osgi.core/target/org.osgi.core-${pom.version}.jar"
Alex Karasuluc15532e2006-03-06 19:42:54 +000057 todir="${basedir}/lib"/>
Richard S. Hall0fcc2712006-08-01 15:22:00 +000058<copy file="${basedir}/../shell/target/org.apache.felix.shell-${pom.version}.jar"
Alex Karasuluc15532e2006-03-06 19:42:54 +000059 todir="${basedir}/bundle"/>
Richard S. Hall0fcc2712006-08-01 15:22:00 +000060<copy file="${basedir}/../shell.tui/target/org.apache.felix.shell.tui-${pom.version}.jar"
Alex Karasuluc15532e2006-03-06 19:42:54 +000061 todir="${basedir}/bundle"/>
Richard S. Hall0fcc2712006-08-01 15:22:00 +000062<copy file="${basedir}/../bundlerepository/target/org.apache.felix.bundlerepository-${pom.version}.jar"
Richard S. Hall20f9caf2006-04-04 13:19:47 +000063 todir="${basedir}/bundle"/>
Alex Karasuluc15532e2006-03-06 19:42:54 +000064 </tasks>
65 </configuration>
66 <goals>
67 <goal>run</goal>
68 </goals>
69 </execution>
70 </executions>
71 </plugin>
Alex Karasulu07d20492006-03-06 15:35:44 +000072 </plugins>
Alex Karasuluc15532e2006-03-06 19:42:54 +000073 <resources>
74 <resource>
75 <directory>src/main/resources</directory>
76 <filtering>true</filtering>
77 </resource>
78 </resources>
Alex Karasulu07d20492006-03-06 15:35:44 +000079 </build>
80</project>