pom.xml 3.17 KB
Newer Older
1
2
3
4
<?xml version="1.0"?>
<!--
  * OW2 FraSCAti Examples: HelloWorld OSGi
  *
Philippe Merle's avatar
Philippe Merle committed
5
  * Copyright (c) 2010 INRIA, University of Lille 1
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  * Contact: frascati@ow2.org
  *
  * Author: Philippe Merle
  *
  * Contributor(s):
-->

<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">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.ow2.frascati.examples</groupId>
    <artifactId>helloworld-osgi-parent</artifactId>
34
    <version>1.4-SNAPSHOT</version>
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
  </parent>

  <groupId>org.ow2.frascati.examples</groupId>
  <artifactId>helloworld-osgi-bundles-parent</artifactId>
  <packaging>pom</packaging>

  <name>OW2 FraSCAti Examples: HelloWorld OSGi Bundles</name>

  <properties>
    <felix.mojo.version>2.0.1</felix.mojo.version>
    <osgi.version>4.2.0</osgi.version>
  </properties>

  <dependencies>
<!-- not required
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <version>${osgi.version}</version>
      <scope>provided</scope>
    </dependency>
-->
<!-- required to deploy bundles on Apache Felix -->
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.core</artifactId>
      <version>1.0.0</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <version>${felix.mojo.version}</version>
          <executions>
            <execution>
              <id>bundle-bundle</id>
              <phase>package</phase>
              <goals>
                <goal>bundle</goal>
              </goals>
            </execution>
          </executions>
          <extensions>true</extensions>
          <configuration>
            <instructions>
              <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
              <Bundle-Name>${pom.name}</Bundle-Name>
Philippe Merle's avatar
Philippe Merle committed
87
              <Bundle-Vendor>INRIA - University of Lille 1</Bundle-Vendor>
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
              <Bundle-Description>${pom.name}</Bundle-Description>
            </instructions>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <modules>
    <module>api</module>
    <module>client</module>
    <module>server</module>
  </modules>

</project>