On Mar 6, 2009, at 2:06 PM, Raymond Feng wrote:

Hi,

A few folks hit this issue. In our maven-bundle-plugin 1.0.0, the osgi jar that contains org.osgi.framework.Version class is a transitive dependency. For some reason, it's not added to the plugin classpath. I don't see that issue in my environment.

I just checked the latest version being voted [1]. We now have an explicit dependency to the eclipse osgi. Can you try to build that and update the tuscany/java/sca/pom.xml to use version 1.0.1 (or 1.0.2-SNAPSHOT) to see if it helps?

Strange. I built 1.0.1 and it started working. Then, for kicks, I whacked ~/.m2/repository/org/apache/tuscany/maven/plugins/maven-bundle- plugin/ and now I can't get it to fail... I guess I had picked up a bad maven-bundle-plugin? Maven can sure be spooky... Explains why you (and presumably others) weren't seeing the problem... Though continuum build is seeing it...

BTW, the maven-bundle-plugin version in pom.xml is applied only for eclipse profiles. So changing in pom.xml has no effect. Plugin versions should be nailed down in pom.xml. Otherwise, new plugin releases can adversely affect previous releases...

BTW BTW, I'm on to my next build failure -- now I'm getting itest failures...

--kevan

Reply via email to