Jason van Zyl wrote:
>On Wed, 2005-09-28 at 09:18 +1000, Brett Porter wrote:
>
>
>>Yep, I'm aware of that. The OSGi seems the way to go for the eclipse
>>plugin, and there is an enhancement req on assembly already to learn to
>>merge some files.
>>
>>Actually, I was asking about pom.properties and pom.xml that you
>>manually included?
>>
>>
>
>The DefaultRuntimeInformation component doesn't like it if it doesn't
>exist. I think the information there can't hurt so I put it in. I
>definitely want not to have to hand bomb this piece of information.
>
>
It should be finding it from the classloader it is coming from - I think
it is just because it is missing the leading "/".
ie change:
resourceAsStream =
getClass().getClassLoader().getResourceAsStream(
"META-INF/maven/org.apache.maven/maven-core/pom.properties" );
to
resourceAsStream =
getClass().getClassLoader().getResourceAsStream(
"/META-INF/maven/org.apache.maven/maven-core/pom.properties" );
Can you see if that fixes the issue?
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]