-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
130 lines (122 loc) · 4.04 KB
/
pom.xml
1
2
3
4
5
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
34
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<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>
<groupId>pl.kungfoo.grizzly.osgi.httpservice</groupId>
<artifactId>httpservice-gitorial</artifactId>
<packaging>bundle</packaging>
<version>0.1-SNAPSHOT</version>
<name>httpservice-gitorial</name>
<url>http://github.com/neotyk/httpservice-gitorial/master/tree</url>
<!-- License -->
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<!-- Devs -->
<developers>
<developer>
<id>neotyk</id>
<name>Hubert Iwaniuk</name>
<email>neotyk@kungfoo.pl</email>
<url>http://codemeself.blogspot.com/</url>
<timezone>+1</timezone>
</developer>
</developers>
<!-- Project proprties -->
<properties>
<grizzly.version>1.9.9-SNAPSHOT</grizzly.version>
<pax.version>1.4</pax.version>
<felix-bundle.version>2.0.0</felix-bundle.version>
<org.osgi.service.http.port>8080</org.osgi.service.http.port>
</properties>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<!-- Java 5 -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>5</source>
<target>5</target>
</configuration>
</plugin>
<!-- PAX provision -->
<plugin>
<groupId>org.ops4j</groupId>
<artifactId>maven-pax-plugin</artifactId>
<version>${pax.version}</version>
<configuration>
<profiles>log</profiles>
<framework>felix</framework>
</configuration>
</plugin>
<!-- bundle configuration -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${felix-bundle.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>*</Import-Package>
<Import-Service>org.osgi.service.http.HttpService</Import-Service>
<Private-Package>pl.kungfoo.grizzly.osgi.httpservice.gitorial.impl</Private-Package>
<Service-Component>
pl.kungfoo.grizzly.osgi.httpservice.gitorial.impl.RegisterServletComponent;
http=org.osgi.service.http.HttpService
</Service-Component>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- OSGi -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.1.0</version>
<scope>provided</scope>
</dependency>
<!-- OSGi Compendium - Http Service interface is here -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>4.1.0</version>
<scope>provided</scope>
</dependency>
<!-- Grizzly OSGi Http Service with dependencies -->
<dependency>
<groupId>com.sun.grizzly.osgi</groupId>
<artifactId>grizzly-httpservice-bundle</artifactId>
<version>${grizzly.version}</version>
</dependency>
<!-- Felix Declarative Service -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
<version>1.0.6</version>
</dependency>
</dependencies>
<repositories>
<!-- Grizzly repository -->
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2/</url>
<layout>default</layout>
</repository>
<!-- PAX repository -->
<repository>
<id>ops4j.releases</id>
<url>http://repository.ops4j.org/maven2/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</project>