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