File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 4242 </dependencies >
4343 <build >
4444 <plugins >
45+ <plugin >
46+ <artifactId >maven-jar-plugin</artifactId >
47+ <configuration >
48+ <archive >
49+ <manifestFile >${project.build.outputDirectory} /META-INF/MANIFEST.MF</manifestFile >
50+ </archive >
51+ </configuration >
52+ </plugin >
53+ <plugin >
54+ <groupId >org.apache.felix</groupId >
55+ <artifactId >maven-bundle-plugin</artifactId >
56+ <executions >
57+ <execution >
58+ <id >bundle-manifest</id >
59+ <phase >process-classes</phase >
60+ <goals >
61+ <goal >manifest</goal >
62+ </goals >
63+ </execution >
64+ </executions >
65+ <configuration >
66+ <instructions >
67+ <Bundle-SymbolicName >${project.groupId} </Bundle-SymbolicName >
68+ <Bundle-Name >${project.name} </Bundle-Name >
69+ <Bundle-Version >${project.version} </Bundle-Version >
70+ <Export-Package >com.google.common.*</Export-Package >
71+ <Private-Package >com.google.common.base.internal.*</Private-Package >
72+ <Import-Package >
73+ javax.annotation;resolution:=optional,
74+ sun.misc.*;resolution:=optional
75+ </Import-Package >
76+ </instructions >
77+ </configuration >
78+ </plugin >
4579 <plugin >
4680 <groupId >org.apache.maven.plugins</groupId >
4781 <artifactId >maven-compiler-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments