Committed by
Gerrit Code Review
Bundling catalyst in an osgi bundle.
Change-Id: I362ec96c91a13e7bd9d48ca4120a1d78f41d3f8b
Showing
2 changed files
with
66 additions
and
1 deletions
utils/catalyst/pom.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
5 | + <parent> | ||
6 | + <artifactId>onlab-utils</artifactId> | ||
7 | + <groupId>org.onosproject</groupId> | ||
8 | + <version>1.4.0-SNAPSHOT</version> | ||
9 | + </parent> | ||
10 | + <modelVersion>4.0.0</modelVersion> | ||
11 | + | ||
12 | + <artifactId>utils.catalyst</artifactId> | ||
13 | + <packaging>bundle</packaging> | ||
14 | + | ||
15 | + <description>ONLab catalyst dependency</description> | ||
16 | + | ||
17 | + <dependencies> | ||
18 | + | ||
19 | + </dependencies> | ||
20 | + | ||
21 | + <build> | ||
22 | + <plugins> | ||
23 | + <plugin> | ||
24 | + <groupId>org.apache.maven.plugins</groupId> | ||
25 | + <artifactId>maven-shade-plugin</artifactId> | ||
26 | + <configuration> | ||
27 | + <createSourcesJar>true</createSourcesJar> | ||
28 | + <artifactSet> | ||
29 | + <includes> | ||
30 | + <include>io.atomix.catalyst.*</include> | ||
31 | + </includes> | ||
32 | + </artifactSet> | ||
33 | + </configuration> | ||
34 | + <executions> | ||
35 | + <execution> | ||
36 | + <phase>package</phase> | ||
37 | + <goals> | ||
38 | + <goal>shade</goal> | ||
39 | + </goals> | ||
40 | + </execution> | ||
41 | + </executions> | ||
42 | + </plugin> | ||
43 | + | ||
44 | + <plugin> | ||
45 | + <groupId>org.apache.felix</groupId> | ||
46 | + <artifactId>maven-bundle-plugin</artifactId> | ||
47 | + <configuration> | ||
48 | + <instructions> | ||
49 | + <Export-Package> | ||
50 | + io.atomix.catalyst.serializer;version="1.0.0-rc4", | ||
51 | + io.atomix.catalyst.buffer;version="1.0.0-rc4", | ||
52 | + io.atomix.catalyst.transport;version="1.0.0-rc4", | ||
53 | + </Export-Package> | ||
54 | + <Private-Package> | ||
55 | + io.atomix.catalyst.*;version="1.0.0-rc4" | ||
56 | + </Private-Package> | ||
57 | + | ||
58 | + </instructions> | ||
59 | + </configuration> | ||
60 | + </plugin> | ||
61 | + | ||
62 | + </plugins> | ||
63 | + </build> | ||
64 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -41,7 +41,8 @@ | ... | @@ -41,7 +41,8 @@ |
41 | <module>thirdparty</module> | 41 | <module>thirdparty</module> |
42 | <module>stc</module> | 42 | <module>stc</module> |
43 | <module>jdvue</module> | 43 | <module>jdvue</module> |
44 | - <module>jnc</module> <!-- FIXME publish and remove before release --> | 44 | + <module>jnc</module> |
45 | + <module>catalyst</module> <!-- FIXME publish and remove before release --> | ||
45 | </modules> | 46 | </modules> |
46 | 47 | ||
47 | <dependencies> | 48 | <dependencies> | ... | ... |
-
Please register or login to post a comment