On Mon, Mar 9, 2009 at 9:28 AM, Simon Laws <[email protected]>wrote:
> - Show quoted text - > > > On Fri, Mar 6, 2009 at 10:10 PM, Kevan Miller <[email protected]>wrote: > >> >> 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 >> >> > Kevan > > Just a FYI, I did an update this morning and am seeing failures in > implementation-bpel-ode and associated tests and also in the archetype > tests. I'll let you know if I get anywhere with them. > > Simon > Ok, past most of it now. A bit of judicious mvn cleaning and it sorted itself out. Am left with... [INFO] ------------------------------------------------------------------------ [INFO] Error for project: Apache Tuscany SCA Distribution itest Webapp helloworl d-jsp (during install) [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. 2009-03-09 10:35:40.750::WARN: /helloworld-jsp/ org.oasisopen.sca.ServiceRuntimeException: Reference not found: service at org.apache.tuscany.sca.core.context.impl.ComponentContextImpl.getServ iceReference(ComponentContextImpl.java:119) at org.apache.tuscany.sca.implementation.web.runtime.jsp.ReferenceTag.do EndTag(ReferenceTag.java:61) at org.apache.jsp.hello_jsp._jspService(org.apache.jsp.hello_jsp:81) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 14) Simon
