projoy / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

Source Bundle Name conflicts with Bundle name for mockito-all #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the bundles for both mockito-all and mockito-all sources and you'll see 
the bundle name is the same.  This causes issue in plugin based build systems 
(such as p2 and tycho) since the source jar is expected to be a separate bundle 
and all plugins must have a unique symbolic name.

What is the expected output? What do you see instead?
Only one artifact can exist in a given build system - it often happens that 
sources are pulled in/resolved after standard dependencies, so in a p2 build 
system mockito-all is replaced with only the sources.

What version of the product are you using? On what operating system?
1.8.5 on Mac OS X 10.6.  This is still true as of 1.9.0-rc2.

Please provide any additional information below.
It would be beneficial for the symbolic name of the bundle to be 
org.mockito.mockito-all.sources (the same way org.mockito.mockito-core is 
built). 

Original issue reported on code.google.com by jonny...@gmail.com on 30 Nov 2011 at 11:18

GoogleCodeExporter commented 9 years ago
can you help us fixing it? Is it something we need to change in the bnd 
configuration?

Original comment by szcze...@gmail.com on 1 Dec 2011 at 1:02

GoogleCodeExporter commented 9 years ago
I'm creating a clone of the repository and I'll get a change checked in as soon 
as possible.  Clone can be found here.  I'll comment here when all the 
necessary changes have been added (probably sometime later tonight or tomorrow).

Original comment by jonny...@gmail.com on 1 Dec 2011 at 1:13

GoogleCodeExporter commented 9 years ago
Forgot to link to the repository: 
http://code.google.com/r/jonnywri-source-plugin-fix/

Original comment by jonny...@gmail.com on 1 Dec 2011 at 1:13

GoogleCodeExporter commented 9 years ago
Changes have been checked into the repository.   Feel free to review the 
changes, but in executing the ant prepare.package goal the manifest are now 
generating with the proper bundle symbolic names.

Original comment by jonny...@gmail.com on 1 Dec 2011 at 10:26

GoogleCodeExporter commented 9 years ago
cool, we will take a look. Cheers!

Original comment by szcze...@gmail.com on 6 Dec 2011 at 12:14

GoogleCodeExporter commented 9 years ago

Original comment by brice.du...@gmail.com on 9 Mar 2012 at 11:55