|
1 | 1 | <?xml version="1.0"?>
|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
4 |
| - <modelVersion>4.0.0</modelVersion> |
5 |
| - |
6 |
| - <groupId>org.jboss.as.quickstarts</groupId> |
7 |
| - <artifactId>jboss-as-helloworld-osgi</artifactId> |
8 |
| - <version>7.0.0-SNAPSHOT</version> |
9 |
| - <packaging>bundle</packaging> |
10 |
| - <name>JBoss AS Quickstarts: Helloworld OSGi</name> |
11 |
| - |
12 |
| - <url>http://jboss.org/jbossas</url> |
13 |
| - <licenses> |
14 |
| - <license> |
15 |
| - <name>GNU Lesser General Public License</name> |
16 |
| - <url>http://www.gnu.org/copyleft/lesser.html</url> |
17 |
| - <distribution>repo</distribution> |
18 |
| - </license> |
19 |
| - </licenses> |
20 |
| - |
21 |
| - <dependencies> |
22 |
| - <dependency> |
23 |
| - <groupId>org.osgi</groupId> |
24 |
| - <artifactId>org.osgi.core</artifactId> |
25 |
| - <version>4.2.0</version> |
26 |
| - <scope>provided</scope> |
27 |
| - </dependency> |
28 |
| - </dependencies> |
29 |
| - |
30 |
| - <build> |
31 |
| - <plugins> |
32 |
| - <plugin> |
33 |
| - <!-- This plugin takes care of packaging the artifact as an OSGi Bundle --> |
34 |
| - <groupId>org.apache.felix</groupId> |
35 |
| - <artifactId>maven-bundle-plugin</artifactId> |
36 |
| - <version>2.3.4</version> |
37 |
| - <extensions>true</extensions> |
38 |
| - <configuration> |
39 |
| - <instructions> |
40 |
| - <!-- OSGi Manifest Metadata is specified here --> |
41 |
| - <!-- The Bundle SymbolicName is the same as the artifact ID --> |
42 |
| - <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
43 |
| - |
44 |
| - <!-- Specify the Bundle activator, which is invoked when the Bundle is started --> |
45 |
| - <Bundle-Activator>org.jboss.as.quickstarts.helloworld.osgi.Activator</Bundle-Activator> |
46 |
| - |
47 |
| - <!-- Automatically compute all the necessary Import-Package statements --> |
48 |
| - <Import-Package>*</Import-Package> |
49 |
| - |
50 |
| - <!-- This bundle does not export any packages --> |
51 |
| - <Export-Package/> |
52 |
| - |
53 |
| - <!-- Packages that are not exported but need to be included need to be |
54 |
| - listed as Private-Package --> |
55 |
| - <Private-Package>org.jboss.as.quickstarts.helloworld.osgi</Private-Package> |
56 |
| - </instructions> |
57 |
| - </configuration> |
58 |
| - </plugin> |
59 |
| - </plugins> |
60 |
| - </build> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>org.jboss.as.quickstarts</groupId> |
| 7 | + <artifactId>jboss-as-helloworld-osgi</artifactId> |
| 8 | + <version>7.0.0-SNAPSHOT</version> |
| 9 | + <packaging>bundle</packaging> |
| 10 | + <name>JBoss AS Quickstarts: Helloworld OSGi</name> |
| 11 | + |
| 12 | + <url>http://jboss.org/jbossas</url> |
| 13 | + <licenses> |
| 14 | + <license> |
| 15 | + <name>GNU Lesser General Public License</name> |
| 16 | + <url>http://www.gnu.org/copyleft/lesser.html</url> |
| 17 | + <distribution>repo</distribution> |
| 18 | + </license> |
| 19 | + </licenses> |
| 20 | + |
| 21 | + <dependencies> |
| 22 | + <dependency> |
| 23 | + <groupId>org.osgi</groupId> |
| 24 | + <artifactId>org.osgi.core</artifactId> |
| 25 | + <version>4.2.0</version> |
| 26 | + <scope>provided</scope> |
| 27 | + </dependency> |
| 28 | + </dependencies> |
| 29 | + |
| 30 | + <build> |
| 31 | + <plugins> |
| 32 | + <plugin> |
| 33 | + <!-- This plugin takes care of packaging the artifact as an OSGi |
| 34 | + Bundle --> |
| 35 | + <groupId>org.apache.felix</groupId> |
| 36 | + <artifactId>maven-bundle-plugin</artifactId> |
| 37 | + <version>2.3.4</version> |
| 38 | + <extensions>true</extensions> |
| 39 | + <configuration> |
| 40 | + <instructions> |
| 41 | + <!-- OSGi Manifest Metadata is specified here --> |
| 42 | + <!-- The Bundle SymbolicName is the same as the artifact |
| 43 | + ID --> |
| 44 | + <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 45 | + |
| 46 | + <!-- Specify the Bundle activator, which is invoked when |
| 47 | + the Bundle is started --> |
| 48 | + <Bundle-Activator>org.jboss.as.quickstarts.helloworld.osgi.Activator</Bundle-Activator> |
| 49 | + |
| 50 | + <!-- Automatically compute all the necessary Import-Package |
| 51 | + statements --> |
| 52 | + <Import-Package>*</Import-Package> |
| 53 | + |
| 54 | + <!-- This bundle does not export any packages --> |
| 55 | + <Export-Package /> |
| 56 | + |
| 57 | + <!-- Packages that are not exported but need to be included |
| 58 | + need to be listed as Private-Package --> |
| 59 | + <Private-Package>org.jboss.as.quickstarts.helloworld.osgi</Private-Package> |
| 60 | + </instructions> |
| 61 | + </configuration> |
| 62 | + </plugin> |
| 63 | + </plugins> |
| 64 | + </build> |
61 | 65 | </project>
|
0 commit comments