blob: f7043471c875758c78b4e5ba3672e95dc3a56e23 [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>
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 Karasuluc15532e2006-03-06 19:42:54 +000023 <properties>
24 <property name="install.home" value="${basedir.absolutePath}"/>
25 </properties>
Alex Karasulu07d20492006-03-06 15:35:44 +000026 <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 Karasuluc15532e2006-03-06 19:42:54 +000040 <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 Karasulu07d20492006-03-06 15:35:44 +000075 </plugins>
Alex Karasuluc15532e2006-03-06 19:42:54 +000076 <resources>
77 <resource>
78 <directory>src/main/resources</directory>
79 <filtering>true</filtering>
80 </resource>
81 </resources>
Alex Karasulu07d20492006-03-06 15:35:44 +000082 </build>
83</project>