Oops, cut/paste error.

The 2nd svn checkout should be of course:

svn checkout http://svn.apache.org/repos/asf/uima/uimaj/trunk/uimaj-parent  
testSmall/uimaj-parent

Sorry about that...

-Marshall 


On 8/19/2011 4:46 PM, Marshall Schor wrote:
> reproducing:
>
> 1) you'll need svn and maven 3
>
> 2)
> svn checkout http://svn.apache.org/repos/asf/uima/uimaj/trunk/uimaj-ep-debug
> testSmall/uimaj-ep-debug
> svn checkout http://svn.apache.org/repos/asf/uima/uimaj/trunk/uimaj-ep-debug
> testSmall/uimaj-parent
>
> 3) cd testSmall/uimaj-ep-debug
>
> 4) mvn install                  (this builds using maven-bundle-plugin)
>
> 5) mvn install                  (this rebuilds, but BND now finds the 
> previously
> built MANIFEST.MF and produces the warnings.
>
> -Marshall
>
> On 8/19/2011 2:56 PM, Stuart McCulloch wrote:
>> On 19 Aug 2011, at 19:29, Marshall Schor wrote:
>>
>>> The docs appear to say that <manifestLocation> is used to specify the 
>>> directory
>>> where BND will write the manifest.
>>>
>>> However, the maven-bundle-plugin (or BND also appears to *read* an existing
>>> Manifest (at least, when the "manifest" goal is used in the Maven plugin).  
>>> For
>>> instance, if an existing one is there I see output in the console from 
>>> running
>>> maven-bundle-plugin of lots of instances of these:
>> the "manifestLocation" parameter only affects where the manifest is written 
>> out to, it isn't passed into bnd or used to read an existing manifest
>>
>> however, bnd could read an existing manifest when asked to update an 
>> artifact - can you provide the pom (and bnd instructions) to recreate this?
>>
>> I think something else is going on rather than being specific to the 
>> "manifestLocation" parameter
>>
>>> WARNING: Duplicate name in Manifest: Manifest-Version.
>>> Ensure that the manifest does not have duplicate entries, and
>>> that blank lines separate individual sections in both your
>>> manifest and in the META-INF/MANIFEST.MF entry in the jar file.
>>>
>>> If I first erase the existing MANIFEST.MF before running the 
>>> maven-bundle-plugin
>>> "manifest" goal, all these messages go away.
>>>
>>> What is the right approach to avoid these superfluous messages?
>>>
>>> 1) put in a step into the maven build to erase this file before calling the
>>> bundle plugin?
>>> 2) is there some special configuration or instruction to tell BND to not 
>>> read
>>> the Manifest.MF (I looked, but didn't see anything)
>>> 3) something else?
>>>
>>> Thanks. -Marshall
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to