blob: 0332c4e46bf176e9b197cc7829567f31e6d148e6 [file] [log] [blame]
Carsten Ziegeler13b71ea2015-05-12 05:59:10 +00001Changes from 2.5.4 to 2.5.5
2---------------------------
3
Carsten Ziegeler0a4eff12015-05-12 06:04:41 +00004** Bug
5 * [FELIX-4882] - Correctly use Maven Plugin Tools Java 5 annotations instead of javadoc tags
Guillaume Nodetcab043c2015-07-09 19:46:23 +00006 * [FELIX-4892] NPE in maven-bundle-plugin
7 * [FELIX-4874] IllegalArgumentException: Invalid syntax for version: 0.1-SNAPSHOT
8 * [FELIX-4956] Embed latest bndlib
9 * [FELIX-3565] Embed-Transitive leaks transitive dependencies of excluded artifacts
10 * [FELIX-4823] Filtering snapshots is failing if version qualifier contains more than "SNAPSHOT"
11
12** Improvement
13 * [FELIX-4809] More flexibility for selecting the comparison artifact
14 * [FELIX-3994] Optional merging of duplicate manifest headers
15 * [FELIX-3324] Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd
Carsten Ziegeler0a4eff12015-05-12 06:04:41 +000016
Carsten Ziegeler13b71ea2015-05-12 05:59:10 +000017
Guillaume Nodet8b4178d2015-04-17 12:07:25 +000018Changes from 2.5.3 to 2.5.4
19---------------------------
20
21** Bug
22 * [FELIX-4556] - Maven Bundle Plugin fails with ArrayIndexOutOfBoundsException, "Invalid Class File" errors with Java 8 features
23 * [FELIX-4659] - The maven bundle plugin incorrectly reports cardinality on service references in the generated generic requirements
24 * [FELIX-4817] - Baseline plugin is not thread safe
Carsten Ziegeler13b71ea2015-05-12 05:59:10 +000025 * [FELIX-4679] - Import package not generated for the classes used in throw clause in a private method.
Guillaume Nodet8b4178d2015-04-17 12:07:25 +000026
27** Improvement
28 * [FELIX-4666] - The baseline goal should print out the resolved version used for comparison
29 * [FELIX-4824] - Add support for prepending instructions
30
31
32Changes from 2.5.2 to 2.5.3
33---------------------------
34
35** Bug
36 * [FELIX-4619] - Debug output of project properties
37
38
39Changes from 2.5.0 to 2.5.2
40---------------------------
41
42** Bug
43 * [FELIX-4574] - The maven-bundle-plugin only generates Provide-/Require-Capabilities for SCR if version is 1.1.0
44 * [FELIX-4576] - Bad Require-Capability generation when the SCR target filter has no parentheses
45
46** Improvement
47 * [FELIX-4596] - Passing configuration values to the maven-bundle-plugin
48
49** New Feature
50 * [FELIX-4591] - add the ability to specify the classifier in the new baseline configuration of the plugin.
51
52
Guillaume Nodet2c30ebc2014-06-20 06:10:21 +000053Changes from 2.4.0 to 2.5.0
54---------------------------
55
56** Improvement
57 * [FELIX-3381] - Support for {maven-test-resources} and {maven-test-sources} placeholders
58 * [FELIX-4205] - "null" Bundle-Activator causes bundle to fail
59 * [FELIX-4518] - Provide a way to disable some plugins
60 * [FELIX-4539] - Update to Bndlib 2.3.0
61
62** New Feature
63 * [FELIX-3462] - Nicer Manifest formatting
64 * [FELIX-4512] - Add a new Mojo to invoke the BND Baseline tool
65 * [FELIX-4517] - Generate generic capabilities and requirements for services from blueprint and scr descriptors
66
Stuart McCullochc88a3a42013-06-07 23:09:05 +000067Changes from 2.3.7 to 2.4.0
68---------------------------
69
70** Bug
71 * [FELIX-3293] - Exception while creating empty fragment bundles with version 2.3.6
72 * [FELIX-3349] - wrong bundle manifest contents in some cases
73 * [FELIX-3352] - Maven Bundle Plugin ignores resource properties configured inside <filters> section
74 * [FELIX-3407] - Imports are missed for generics
75 * [FELIX-3497] - Wrong artifact type attached as a secondary artifact when project packaging is set to "pom"
76 * [FELIX-3582] - finalName not properly populated in maven-bundle-plugin with buildnumber-maven-plugin
77 * [FELIX-3585] - Dependencies with classes or resources in the default package cannot be embedded
78 * [FELIX-3601] - Incorrect namespace in component XML for DS Annotations
79 * [FELIX-3619] - "IOException: Failed to delete repository.xml while trying to rename" in maven-bundle-plugin
80 * [FELIX-3630] - Packages exported by bundle are (re)-imported with incorrect version
81 * [FELIX-3638] - Missing package import for annotation default value
82 * [FELIX-3772] - maven-bundle-plugin does not scan blueprint in workspace outside default location
83 * [FELIX-3973] - Exclusion from {local-packages} doesn't work anymore
84 * [FELIX-4005] - Maven Bundle Plugin fails with ArrayIndexOutOfBoundsException, "Invalid Class File" errors with Java 8 features
85 * [FELIX-4017] - @ProviderType does not work (bnd "provide:=true" annotation?)
86
87** Improvement
88 * [FELIX-3277] - Support BND Service Component generation
89 * [FELIX-3602] - The bundle plugin should generate the blueprint header with the file locations
90
91** Wish
92 * [FELIX-4067] - Old BND used causes problems during annotations processing
93
Stuart McCullochab58cba2012-02-11 19:16:11 +000094Changes from 2.3.6 to 2.3.7
95---------------------------
96
97** Bug
98 * [FELIX-3347] - Upper-case environment variables end up in final manifest
99 * [FELIX-3310] - [patch] maven-bundle-plugin build fails with maven3 (manageArtifactSystemPath is missing)
100 * [FELIX-3254] - manifest goal generates wrong Export-Package when Embed-Dependency
101
102** Improvement
103 * [FELIX-3300] - Avoid warning about superfluous export-package instructions for empty directories
104
105** Task
106 * [FELIX-3299] - Fix instable tests in BundlePluginTest
107
Stuart McCullochd7c854d2011-11-28 16:45:13 +0000108Changes from 2.3.5 to 2.3.6
109---------------------------
110
111** Bug
112 * [FELIX-3031] - maven3 deployment fails where maven2 works
113 * [FELIX-3037] - Plugin does not work with Java 5
114 * [FELIX-3058] - maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
115 * [FELIX-3073] - can't deploy snapshot bundle to remote OBR
116 * [FELIX-3173] - Local OBR install failes when there is a space in the full path
117 * [FELIX-3185] - Negative Embed-Dependency clauses aren't handled correctly
118 * [FELIX-3188] - [PATCH] exception org.apache.maven.project.artifact.InvalidDependencyVersionException has already been caught
119 * [FELIX-3206] - Restore the BND analyzer approach which creates a MANIFEST.MF based on the contents of the jar
120 * [FELIX-3209] - Make sure the properties passed to BND only include string values
121 * [FELIX-3222] - [PATCH] build fails with "unreported exception"
122 * [FELIX-3238] - Unable to filter out classes from identical package in a dependency
123
124** Improvement
125 * [FELIX-2872] - Provide a way to have an easier to read manifest
126 * [FELIX-3061] - improvements to Embed-Dependency logic to allow better m2e integration
127 * [FELIX-3092] - Support relative paths in "urlTemplate" parameter of "bundle:index" goal in maven bundle plugin
128
129** New Feature
130 * [FELIX-3165] - Add an option to the manifest goal that will copy any BND generated resources to the target folder
131 * [FELIX-3208] - Provide default value for sourcepath when using BND -sources=true
132 * [FELIX-3210] - Maven bundle plugin remote-clean goal without user confirmation
133
Stuart McCullocha2116e92011-07-05 11:34:03 +0000134Changes from 2.3.4 to 2.3.5
135---------------------------
136
137** Bug
138 * [FELIX-1039] - Inconsistency packaging vs. type
139 * [FELIX-1571] - Bundle-ClassPath without "." while using maven-bundle-plugin in a war project confuses the plugin
140 * [FELIX-1734] - The _donotcopy is ignored
141 * [FELIX-1985] - Error when Include-Resource instruction contains duplicate paths.
142 * [FELIX-2346] - mvn bundle:clean removes all, even the existing resources
143 * [FELIX-2427] - maven site crashes
144 * [FELIX-2435] - <supportedProjectType> on a WAR file will switch the project to generate jar artifacts
145 * [FELIX-2449] - Resource filtering does not use Maven properties specified on the mvn command line via -D command line switches
146 * [FELIX-2656] - Maven-bundle-plugin identified as not thread-safe in Maven 3.0
147 * [FELIX-2722] - With an empty organization like this <organization/>, maven bundle plugin raises a NPE.
148 * [FELIX-2765] - bundle plugin throw IllegalArgumentException while do the install
149 * [FELIX-2819] - packageinfo files in src/main/java are ignored
150 * [FELIX-2820] - Provide a default value when using <_wab/>
151 * [FELIX-2884] - The multiplicity isn't taken into account by the maven bundle plugin and bundlerepository when generating the repository xml
152 * [FELIX-2914] - Nullpointer exception on mvn install if the pom contains organization/url but not organization/name
153 * [FELIX-2934] - Bundle-ClassPath contains "." despite using _wab instruction
154
155** Improvement
156 * [FELIX-1836] - Maven resource filtering support for obr.xml
157
158** New Feature
159 * [FELIX-3011] - Add a new goal to save the bnd instructions that would be passed onto bnd, to allow people to use other toolchains such as bndtools
160
161** Task
162 * [FELIX-344] - Generate standard maven documentation for the maven-bundle-plugin
163
Guillaume Nodet7f6c0c02011-02-02 16:50:04 +0000164Changes from 2.2.0 to 2.3.4
Guillaume Nodet0ef45c72011-01-31 16:11:22 +0000165---------------------------
166
Guillaume Nodeta4175e42011-02-02 09:21:50 +0000167 * [2011-02-01] FELIX-2817: The maven-bundle-plugin manifest goal should honor the supportedProjectTypes configuration setting.
Guillaume Nodet0ef45c72011-01-31 16:11:22 +0000168 * [2011-01-27] FELIX-2808: maven-bundle-plugin should scan for local packages by looking for *.class files instead of *.java so that all the JVM languages can be supported.
169 * [2011-01-27] FELIX-2809: maven-bundle-plugin should automatically add "resolution:=optional" to imported packages that are in optional maven dependencies.
170 * [2011-01-29] FELIX-2811: If <Private-Package>!*</Private-Package> is defined the all packages should be exported by {local-packages}
171 * [2011-01-29] FELIX-2812: The <Embed-Dependency> filter can fail if your matching against multiple "*" artifact ids.
172
Stuart McCullochd5c22692011-01-13 14:45:46 +0000173Changes from 2.1.0 to 2.2.0
174---------------------------
175
176 * [2010-11-17] FELIX-2701: Add {local-packages} macro, expands to local packages in <Export-Package> instruction
177 * [2010-10-25] FELIX-2176: Update to latest bndlib (1.15.0)
178
Stuart McCullochc4b3d302009-09-16 09:23:37 +0000179Changes from 2.0.0 to 2.0.1
180---------------------------
181
182 * [2009-09-03] FELIX-1461: make local repository updates a bit more atomic
183 * [2009-09-03] Temporary local bnd patch for Include-Resource bug on Windows
184 * [2009-09-03] FELIX-1539: include additional source directories in local package calculation
185 * [2009-09-03] FELIX-1439: add project organization name/url properties
186 * [2009-09-03] FELIX-1501: use getProperty() instead of getProperties().getProperty()
187 * [2009-09-03] FELIX-1552: add bnd support for blueprint and spring-dm declarations
188 * [2009-09-03] FELIX-1148: apply local patch for MSHARED-101
189 * [2009-09-03] FELIX-981: avoid spurious split package warnings
190 * [2009-09-03] FELIX-1290: warn if Embed-Dependency doesn't match any dependencies
191 * [2009-09-03] FELIX-1021: remove expression from classifier parameter (ie. same as jar plugin)
192 * [2009-09-03] FELIX-1023: apply patch to add category information to OBR
193 * [2009-09-03] Upgrade to bndlib 0.0.357
194 * [2009-07-13] FELIX-1262: remove duplicate resource entries to avoid Bnd Tool error
195 * [2009-04-24] FELIX-1054: when deploying a bundle, print computed uri on the console
196
Stuart McCulloch6b4157c2009-02-16 11:22:12 +0000197Changes from 1.4.3 to 2.0.0
198---------------------------
199
200 * [2009-02-16] FELIX-807,FELIX-782,FELIX-660,FELIX-549,FELIX-546,FELIX-545: Use latest version of the Bnd Tool (0.0.311)
201 * [2009-02-16] FELIX-941: store the generated default symbolicname in $(maven-symbolicname) property
202 * [2009-02-16] FELIX-912: set default Export-Package based on local source files
203 * [2009-02-16] FELIX-684: support filters in excludeDependencies, such as *;scope=runtime
204 * [2009-02-16] FELIX-684: separate out dependency filtering code so we can re-use it when excluding
205 * [2009-01-30] FELIX-806: pickup <archive> settings in bundleplugin configuration (otherwise fall back to the jarplugin settings) and enable support of the addMavenDescriptor setting
206 * [2009-01-30] FELIX-850: local fix for MSHARED-86 (should use isFile instead of exists)
207 * [2009-01-29] FELIX-899: update to latest editions of Bnd and Bindex
208 * [2009-01-29] FELIX-899: first step, widen dependency resolution and pass everything except test dependencies onto BND
209 * [2008-12-05] Additional debug to help with problem determination
210 * [2008-12-03] FELIX-760: commit latest bindex code
211 * [2008-12-03] FELIX-831,FELIX-677: update to version 0.0.295 of the Bnd tool
212 * [2008-08-27] FELIX-699: set analyzer base before loading properties in manifest goal
213
214
Stuart McCullocha82e98d2008-08-07 17:55:25 +0000215Changes from 1.4.2 to 1.4.3
216---------------------------
217
Stuart McCulloch6b4157c2009-02-16 11:22:12 +0000218 * [2008-08-07] FELIX-661: maven bundle plugin does not close the accessed zip/jar streams
Stuart McCullocha82e98d2008-08-07 17:55:25 +0000219
Stuart McCullochea362d62008-08-05 07:02:30 +0000220Changes from 1.4.1 to 1.4.2
221---------------------------
222
223 * [2008-08-03] FELIX-553: allow cleaning a remote OBR
224 * [2008-08-03] FELIX-580: Allows maven-bunde-plugin to generate a repository file outide a maven repository with absolute url
225 * [2008-07-09] FELIX-556: Filtering mechanims to <Embed-Dependency/>
226 * [2008-07-08] FELIX-547: OBR portion of the plugin balks on singular version range of [1.0.0,1.0.0].
227 * [2008-07-07] FELIX-620: manifest goal of maven-bundle-plugin ignores _include instruction
228 * [2008-05-16] FELIX-560: bundle:install and bundle:deploy goals check artifact type is "bundle" instead of using the supportedProjectTypes list
229 * [2008-05-16] FELIX-561: Use same level of Bnd in script generated by bundle:ant as in the bundleplugin itself
230
Stuart McCulloch3f38f732008-05-03 08:13:09 +0000231Changes from 1.4.0 to 1.4.1
232---------------------------
233
234 * [2008-04-30] FELIX-543: add switch to prevent classifier being appended to Bundle-Version
235 * [2008-04-23] FELIX-541: allow repository.xml to reference to xsl file
236 * [2008-04-23] FELIX-531: Allow the import package scope to be set for the bundleall goal in the maven-bundle-plugin
237 * [2008-04-23] FELIX-523: Update bundleplugin to use BND 0.0.255
238 * [2008-04-01] FELIX-526: Allow a mechanism to give preference to local resources over the ones from embedded jars
239 * [2008-03-24] FELIX-519: maven-bundle-plugin should issue a WARNING for unsupported packaging types
240 * [2008-03-16] FELIX-517: Replacement of {maven-dependencies} in Include-Resource and Bundle-ClassPath can strip Windows path separators
241 * [2008-03-03] FELIX-505: maven-bundle-plugin:bundleall modifies dependencies that are already bundles
242
Stuart McCulloch4fb01eb2008-02-22 09:12:50 +0000243Changes from 1.2.1 to 1.4.0
244---------------------------
245
246 * [2008-02-20] FELIX-499: Enhance "excludeDependencies" configuration parameter to also support comma-separated list of artifactIds
247 * [2008-02-20] FELIX-498: Enable javadoc deployment on OBR repository
248 * [2008-02-19] FELIX-497: Genearated Source url is not a valid url
249 * [2008-02-19] FELIX-493: maven-bundle-plugin bundle:install goal install too many artifact
250 * [2008-02-19] FELIX-247: Add ant goal to maven-bundle-plugin which creates a build.xml and MANIFEST.MF with bundle headers
251 * [2008-02-18] FELIX-492: Add support to classifier: enable bunlde:bundle goal to generate classified artifact
252 * [2008-02-18] FELIX-491: Merge the maven-obr-plugin and the bundleplugin into a single plugin
253
Stuart McCulloch02785b52008-02-14 14:44:25 +0000254Changes from 1.2.0 to 1.2.1
255---------------------------
256
Stuart McCulloch02785b52008-02-14 14:44:25 +0000257 * [2008-02-12] FELIX-477: BND: Versions with fourth section all numbers are truncated
258 * [2008-02-06] FELIX-479: add supportedProjectTypes configuration option to install goal
Stuart McCullochcfcd5542008-02-14 14:46:33 +0000259 * [2008-02-02] FELIX-459: BND: allow customization of the "uses" clause in the generated Export-Package
260 * [2008-01-30] FELIX-476: Improve default Export-Package (used when no Export-Package and Private-Package is set)
261 * [2008-01-30] FELIX-462: Support removal of manifest headers added by the bundleplugin
262 * [2008-01-30] FELIX-461: Ensure manifest goal creates same manifest as bundle goal when project packaging is "bundle"
263 * [2008-01-29] FELIX-472: Embed-Dependency, Include-Resource and inline
264 * [2008-01-29] FELIX-460: Remove "." from the Bundle-ClassPath when embedding dependencies in a bundle with no local classes
265 * [2008-01-28] FELIX-457: remove PathFile class and use URIs instead
266 * [2008-01-22] FELIX-458: BND: -split-package:=merge-first behaves like merge-last
Stuart McCulloch02785b52008-02-14 14:44:25 +0000267
Stuart McCulloch364beae2008-02-05 14:12:17 +0000268Changes from 1.0.0 to 1.2.0
269---------------------------
270
271 * [2008-01-11] FELIX-455: need to use the Builder class instead of Analyzer, because it provides additional cleanup of version information
272 * [2008-01-10] FELIX-451: remove Include-Resource header from final bundle manifest
273 * [2008-01-10] FELIX-449: add 'excludeDependencies' option (disabled by default) to exclude all dependencies from the classpath passed to BND
274 * [2008-01-09] FELIX-442: handle custom manifest sections and external manifest files
275 * [2008-01-08] Update to bndlib 0.0.227 (disables spring xml parser by default)
276 * [2007-12-27] FELIX-442: Add manifest entries from maven-jar-plugin configuration to final bundle
277 * [2007-12-07] FELIX-433: add unpackBundle option that unpacks the bundle contents to the Maven output directory
278 * [2007-11-18] FELIX-400: add resource code to properly handle Maven includes/excludes
279 * [2007-11-01] Make Embed-StripGroup default to true, as it is much more useful than the current default
280 * [2007-10-31] FELIX-417: fix project references
281 * [2007-10-26] Better error messages (and detect difference between internal error and configuration error)
282 * [2007-10-23] FELIX 406: fix Windows path entries in Bundle-ClassPath when embedding jars
283 * [2007-10-22] FELIX-405: support custom obr repository filenames, such as foo.xml
284 * [2007-10-21] FELIX-403: replace line-breaks with spaces when using Maven project description in Bundle manifest
285 * [2007-10-19] FELIX-402: use correct manifest location when using reactor build
286 * [2007-10-19] FELIX-400: fix array out of bounds exception when the resource directory is the same as the basedir
287 * [2007-09-25] FELIX-360: various fixes to the bundleall goal
288 * [2007-09-22] FELIX-370: OBR integration work
289 * [2007-09-22] FELIX-306: be consistent and delegate all version mangling to BND library
290 * [2007-09-21] FELIX-377: support -failok directive
291 * [2007-09-21] FELIX-376: Support writing of manifest to the file system when using bundle goal
292 * [2007-09-11] FELIX-352: provide informational error message when manifest goal is run before compile phase
293 * [2007-08-26] FELIX-308: support embedding of artifacts with non-jar extension names
294 * [2007-08-24] Workaround for MNG-1682 (incorrect extension used when installing to local repository)
295 * [2007-08-23] FELIX-343: replace any instances of {maven-resources} in Include-Resource with the actual project's resource paths
296 * [2007-08-23] FELIX-308: initial implementation to support embedding dependencies
297 * [2007-08-22] FELIX-340: update classpath algorithm to match maven compilation classpath
298 * [2007-08-14] FELIX-333: remove new-lines/form-feeds from property values.
299
Karl Paulsf87ac142007-07-06 22:36:17 +0000300Changes from 0.8.0-incubator to 1.0.0
301-------------------------------------
Richard S. Hallba5ce902007-07-09 18:26:54 +0000302
Karl Paulsf87ac142007-07-06 22:36:17 +0000303* [2007-03-13] <Include-Resources> now supports JAR files in the class path,
Richard S. Hallba5ce902007-07-09 18:26:54 +0000304 not just JAR files in the project directory.
Karl Paulsf87ac142007-07-06 22:36:17 +0000305* [2007-03-15] Fixed a bug in converting Maven version numbers to OSGi version
Richard S. Hallba5ce902007-07-09 18:26:54 +0000306 numbers. (FELIX-256)
307* [2007-03-28] Added support for using BND directives in the POM file.
308 (FELIX-218)
Karl Paulsf87ac142007-07-06 22:36:17 +0000309* [2007-04-10] Added a recursive "bundleall" goal to generate OSGi bundles for
Richard S. Hallba5ce902007-07-09 18:26:54 +0000310 all dependencies and a "manifest" goal to generate just the manifest.
311 (FELIX-199)
312* [2007-04-27] Modified the plugin so that it does not run on POM projects.
313 (FELIX-269)
314* [2007-05-17] Plugin now handles null property values better. (FELIX-281)
Karl Paulsf87ac142007-07-06 22:36:17 +0000315* [2007-05-20] Renamed project directory from maven-bundle-plugin to
Richard S. Hallba5ce902007-07-09 18:26:54 +0000316 bundleplugin.
Karl Paulsf87ac142007-07-06 22:36:17 +0000317* [2007-05-20] Changed package naming.
318* [2007-05-21] Improved handling of resource copying to copy the plugin's
Richard S. Hallba5ce902007-07-09 18:26:54 +0000319 resources if specified or the standard Maven-specified resources. (FELIX-261)
320* [2007-06-13] Factored out some common code. (FELIX-304)
321* [2007-06-14] Enable output folder to be configured. (FELIX-305)
322* [2007-07-05] Added support for overriding project type. (FELIX-309)
Richard S. Hall3bc6d0b2007-07-09 17:48:07 +0000323* [2007-07-09] Updated to BND version 0.0.160.
Karl Pauls589e2b32007-07-11 18:29:29 +0000324* [2007-07-11] Fix a possible NullPointerException in the manifest goal. (FELIX-326)
325