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