|
64 | 64 | <groupId>org.apache.thrift</groupId> |
65 | 65 | <artifactId>libthrift</artifactId> |
66 | 66 | </dependency> |
67 | | - <dependency> |
68 | | - <groupId>org.osgi</groupId> |
69 | | - <artifactId>osgi.cmpn</artifactId> |
70 | | - </dependency> |
71 | | - <dependency> |
72 | | - <groupId>org.ops4j.pax.jdbc</groupId> |
73 | | - <artifactId>pax-jdbc-common</artifactId> |
74 | | - </dependency> |
75 | | - <dependency> |
76 | | - <groupId>org.osgi</groupId> |
77 | | - <artifactId>osgi.core</artifactId> |
78 | | - </dependency> |
79 | 67 | <dependency> |
80 | 68 | <groupId>org.slf4j</groupId> |
81 | 69 | <artifactId>slf4j-api</artifactId> |
|
92 | 80 | </dependency> |
93 | 81 | </dependencies> |
94 | 82 | <build> |
95 | | - <resources> |
96 | | - <resource> |
97 | | - <targetPath>feature</targetPath> |
98 | | - <filtering>true</filtering> |
99 | | - <directory>src/main/feature</directory> |
100 | | - </resource> |
101 | | - </resources> |
102 | 83 | <plugins> |
103 | | - <plugin> |
104 | | - <groupId>org.apache.maven.plugins</groupId> |
105 | | - <artifactId>maven-resources-plugin</artifactId> |
106 | | - <executions> |
107 | | - <execution> |
108 | | - <goals> |
109 | | - <goal>resources</goal> |
110 | | - </goals> |
111 | | - </execution> |
112 | | - </executions> |
113 | | - </plugin> |
114 | | - <!-- |
115 | | - The feature plugin doesn't correctly attach the generated feature file so it |
116 | | - wouldn't be signed and hashed during a release build. By manually-attaching it |
117 | | - we make sure it's processed correctly. |
118 | | - --> |
119 | 84 | <plugin> |
120 | 85 | <groupId>org.codehaus.mojo</groupId> |
121 | 86 | <artifactId>build-helper-maven-plugin</artifactId> |
122 | | - <executions> |
123 | | - <execution> |
124 | | - <id>attach-features</id> |
125 | | - <goals> |
126 | | - <goal>attach-artifact</goal> |
127 | | - </goals> |
128 | | - <phase>package</phase> |
129 | | - <configuration> |
130 | | - <artifacts> |
131 | | - <artifact> |
132 | | - <file>src/main/feature/feature.xml</file> |
133 | | - <classifier>features</classifier> |
134 | | - <type>xml</type> |
135 | | - </artifact> |
136 | | - </artifacts> |
137 | | - </configuration> |
138 | | - </execution> |
139 | | - </executions> |
140 | | - </plugin> |
141 | | - <!-- |
142 | | - Generate an OSGI compatible MANIFEST file. |
143 | | - --> |
144 | | - <plugin> |
145 | | - <groupId>org.apache.felix</groupId> |
146 | | - <artifactId>maven-bundle-plugin</artifactId> |
147 | | - <configuration> |
148 | | - <exportScr>true</exportScr> |
149 | | - <instructions> |
150 | | - <_include>osgi.bnd</_include> |
151 | | - <_removeheaders>Bnd-LastModified,Built-By</_removeheaders> |
152 | | - <Embed-Dependency>dependencies</Embed-Dependency> |
153 | | - </instructions> |
154 | | - </configuration> |
155 | | - <executions> |
156 | | - <execution> |
157 | | - <id>bundle-manifest</id> |
158 | | - <goals> |
159 | | - <goal>manifest</goal> |
160 | | - </goals> |
161 | | - <phase>process-classes</phase> |
162 | | - </execution> |
163 | | - </executions> |
164 | 87 | </plugin> |
165 | | - <!-- |
166 | | - Use the MANIFEST file generated by the maven-bundle-plugin. |
167 | | - --> |
168 | 88 | <plugin> |
169 | 89 | <groupId>org.apache.maven.plugins</groupId> |
170 | 90 | <artifactId>maven-jar-plugin</artifactId> |
171 | 91 | <configuration> |
172 | 92 | <archive> |
173 | | - <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
174 | 93 | <manifestEntries> |
175 | 94 | <Implementation-Version>${project.version}</Implementation-Version> |
176 | 95 | </manifestEntries> |
|
0 commit comments